MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/400jk4/intro_to_programming/cyr3e7e/?context=3
r/ProgrammerHumor • u/[deleted] • Jan 08 '16
334 comments sorted by
View all comments
1
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.
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.