Submitted by Dacadey t3_z89cro in explainlikeimfive
Deadmist t1_iycdnze wrote
Reply to comment by Nagisan in ELI5: why is using "goto" considered to be a bad practice in programming? by Dacadey
Functions ^1 also give you a well defined arguments, return type(s) and scope for variables.
With GOTO, there is no guarantee for anything.
^1 in most languages, looking at you JS...
Nagisan t1_iycs13f wrote
This is why I prefer typescript :P
A_dudeist_Priest t1_iydg6b6 wrote
No... VB Script all the way!!! /s
Viewing a single comment thread. View all comments