Deadmist
Deadmist t1_j67lhum wrote
Reply to comment by peter-doubt in What happens if the largest owner of oil and gas wells in the US goes bankrupt? by geoxol
You can tax them all you want, if they have no money you aren't getting anything.
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...
Deadmist t1_iycd9gz wrote
Reply to comment by Symbian_Curator in ELI5: why is using "goto" considered to be a bad practice in programming? by Dacadey
> In C, to mimic the destructor behaviour of C++ in function.
That doesn't mean using GOTO isn't bad, it just means that there is no better option in C.
In 'modern' languages, like C++ or Java, you can achieve the same outcome with destructors or try-with-resources, without the pitfalls of GOTO.
Deadmist t1_iy8y9cu wrote
Reply to comment by shavetheyaks in Why Functional Programming Should Be the Future of Software Development by fchung
It's been 50 years since C was released. We simply have better options than using goto in modern languages.
Deadmist t1_iy3kf16 wrote
Reply to comment by nilogram in Google currently thinks all plants are algae by ayellowsky
Because abusing google is way easier (read: cheaper) than building your own taxonomy database and system.
Deadmist t1_j6coits wrote
Reply to comment by NameUnavail in ELI5: how did we standardize on watts/amps/volts when everything else is segmented across the world (km/miles, nm/ft-lb etc)? by t0r3n0
That's not just a US thing.
Ask anyone in Europe how much power their car has and they will give you the horsepower number. Unless they are driving electric, maybe.