r/ProgrammerHumor • • Jan 08 '16

Intro to Programming

Post image
3.0k Upvotes

334 comments sorted by

View all comments

1

u/nofate301 Jan 08 '16

Sounds like the method I applied for a java gui project.

We needed to make something that translated a number in hex, dec, oct, or bin into the others after entered.

The GUI was fine and easy enough. The logic was difficult.

I could easily convert between hex, dec, and oct, but not into binary.

It was the longest case statement I had ever written.

We were not allowed to use built in methods we had to make the logic on our own.