2 people found this review helpful
Recommended
0.0 hrs last two weeks / 22.7 hrs on record (1.0 hrs at review time)
Posted: 28 Sep, 2016 @ 7:50am

After servel attempts, I realize the key of this game is goto and adder.
This make me consider a quesiton: why did my mentor told me do not use go-to.
It seems that the only function of go-to, in my knowledge, is to break the loop(I once used this in the game and the result told me it is too complex).
Although I do not see anybody use goto(♥♥♥♥♥♥♥ do i ), I thnik it is not bad.
BTW, Human Resource Machine is a brilliant game.
Was this review helpful? Yes No Funny Award
4 Comments
Ruby 10 Oct @ 1:14am 
Lol, yeah, goto can be kinda messy, but it gets the job done sometimes. HR Machine is super fun!
76561199768152834 5 Sep @ 8:29pm 
Yeah, I hear ya! Goto can be a bit messy but sometimes it's the easiest way to get things done. Maybe your mentor was just tryna keep things simple. HR Machine is def a good time, I'm thinking
Zzoyd 20 Oct, 2016 @ 6:57pm 
The reason they teach you not to use goto in higher languages is that it is very hard for a human to read (whereas "jump descriptive_function_name()" is rather easy for a human to understand).

In lower level languages that kind of easy to read functionality just doesn't exist. Goto is your only option. The tradeoff (historically) was in speed. A human could write much more efficient code if they were willing to write in assembly. This was especially important for embedded systems which were hardware limited. It's less of a concern now both because hardware is so much more capable and because modern compilers are very good at taking the easy to read higher languages and converting them into extremely effecient assembly level code.
ChristmasPenta 29 Sep, 2016 @ 6:05pm 
In actual coding, it became a common practice to use goto due to how easy it was. However, this lead to excessive usage of the code, creating "spaghetti code", where everything links to somewhere else, and you're never sure where the start and ends of the program are.