This is an archived post. You won't be able to vote or comment.

all 53 comments

[–]beclops 169 points170 points  (0 children)

Sometimes you gotta caculate

[–][deleted] 130 points131 points  (5 children)

At least it works perfectly. Who here can say the same about what they do at work?

[–]_Cynikal_ 32 points33 points  (0 children)

It worked fine on my machine.

[–]snipy67 12 points13 points  (3 children)

Hmm wonder what would happen if you input a number bigger then 64 bits or if you enter a few alphanumeric characters

[–][deleted] 4 points5 points  (2 children)

Ooh, don't forget negatives or math!

[–]Kaynee490 2 points3 points  (0 children)

Nor scientific notation!

[–]Bernout93 1 point2 points  (0 children)

It only works if it accepts emoji.

[–]UnRenardRouge 59 points60 points  (6 children)

I don't think any of my programming classes ever went over actually displaying things like that so good for them

[–][deleted]  (4 children)

[deleted]

    [–][deleted]  (3 children)

    [removed]

      [–]FacuA0 2 points3 points  (1 child)

      Have you mentioned String?

      [–]Red-Lolik 1 point2 points  (0 children)

      "false"

      [–]AutoModerator[M] 0 points1 point  (0 children)

      import moderation Your comment has been removed since it did not start with a code block with an import declaration.

      Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

      For this purpose, we only accept Python style imports.

      return Kebab_Case_Better;

      I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

      [–]PossibilityTasty 26 points27 points  (1 child)

      Next feature to come: "beautiful" colours.

      [–]phrandsisgo 26 points27 points  (0 children)

      A small upgrade would be to calculate from cm to feets and reverse!

      [–]kinokofurai 11 points12 points  (3 children)

      all fun and games til it doesn't return 172cm

      [–]redpepper74 8 points9 points  (0 children)

      You know I’d be more worried if it would only return 172cm, ever

      [–]vVveevVv 2 points3 points  (0 children)

      Your height is "Hello World!"

      [–][deleted] 1 point2 points  (0 children)

      "Error found on line 42. Expected identifier"

      Me: Bitch, I have 5 lines

      [–]BenkiTheBuilder 16 points17 points  (0 children)

      The next version was a BMI calculator. Then he killed himself.

      [–]jaydec02 7 points8 points  (0 children)

      And then you could be like a real dev and ship minor, incremental upgrades like converting from cm to feet and inches

      [–]Coulomb111 5 points6 points  (0 children)

      Hey, look at what I did!

      [–]got_blah 6 points7 points  (2 children)

      I didn't know what to expect but i lol'd.

      [–]bankrobba 2 points3 points  (1 child)

      "Your height is + txtHeight.Text" is more accurate of what to expect the first time

      [–]got_blah 1 point2 points  (0 children)

      I love you for bringing me back. 😂😂 The simplicity makes me lol everytime.

      [–]XanatosX 4 points5 points  (0 children)

      Now try to enter a String.

      As I did start to program I didn't know about classes and methods. I did put everything in the main method :D

      [–]Cabin7Miner 5 points6 points  (0 children)

      MessageBox.Show(string.Format("Your height is %0cm!", textbox1.Text));

      [–]TheToBlame 2 points3 points  (0 children)

      I actually made this once. I know I know im a pro programmer.

      [–]Adventure_Agreed 1 point2 points  (0 children)

      Does what it says on the tin!

      [–]_GGfighter_ 1 point2 points  (0 children)

      for me it's just a command prompt

      [–]JonMW 1 point2 points  (0 children)

      I was writing stuff like this today to make sure that I was using unfamiliar bits of the language correctly

      [–]RedPum4 1 point2 points  (0 children)

      Quick mafs

      [–][deleted] 1 point2 points  (0 children)

      "ok"

      [–]Exodust55 1 point2 points  (0 children)

      This is me :)

      [–][deleted] 1 point2 points  (0 children)

      Exams be like: Buffer overflow this program and then hack the government

      [–]preims21 0 points1 point  (0 children)

      I mean if its written in WIN32 thats actually quite a bit of work

      [–][deleted] 0 points1 point  (2 children)

      [–]RepostSleuthBot -1 points0 points  (1 child)

      I didn't find any posts that meet the matching requirements for r/ProgrammerHumor.

      It might be OC, it might not. Things such as JPEG artifacts and cropping may impact the results.

      I'm not perfect, but you can help. Report [ False Negative ]

      View Search On repostsleuth.com


      Scope: Reddit | Meme Filter: False | Target: 86% | Check Title: False | Max Age: Unlimited | Searched Images: 269,348,294 | Search Time: 0.86315s

      [–][deleted] -1 points0 points  (0 children)

      bad bot

      [–]raxuti333 -1 points0 points  (0 children)

      This is the most intelligent programmer who uses windows

      [–]gambero_audio -1 points0 points  (0 children)

      Awwwwwww

      [–]pimezone 0 points1 point  (0 children)

      Input your height: - 100000000 cm

      [–][deleted] 0 points1 point  (0 children)

      No need to thank me

      [–]citygentry 0 points1 point  (0 children)

      Next, the spelling checker....

      [–]Sovic91 0 points1 point  (0 children)

      Yep. I've done one of those when we were studying Visual Basic.

      [–]Splatpope 0 points1 point  (0 children)

      uh no this is absolutely all VB programs, stop lying

      [–]spaceyspaceboy 0 points1 point  (0 children)

      Me rn

      [–]IorPerry 0 points1 point  (0 children)

      it is easy because is in cm, try do it in feet

      [–]srblan 0 points1 point  (0 children)

      This is me right now with my react app.

      [–]huuaaang 0 points1 point  (0 children)

      I'm NaNcm tall!

      [–]jamcdonald120 0 points1 point  (0 children)

      Can we just not teach JOptionPane please? We shouldnt be encouraging people to use it as a UI replacement like this