Post B6uoo4nrp27kVNr7Wy by d_rift@beige.party
(DIR) More posts by d_rift@beige.party
(DIR) Post #B6u34brTstFZrpMdHc by azonenberg@ioc.exchange
0 likes, 0 repeats
Junior programmer: knows only the most basic operator precedence rulesSenior programmer: knows the entire precedence table in the language spec by heartPrincipal programmer: if you need to know anything beyond "multiply over addition" to understand the code, it's garbage and needs to be more readable
(DIR) Post #B6u48DlnUxq2GDzXCi by philpem@digipres.club
0 likes, 0 repeats
@azonenberg Wow, did I peak that early? I hit mid tier and was bouncing PRs for exploiting UB.Mostly because I was the guy who had to fix that when it inevitably went wrong.
(DIR) Post #B6uG0HYwiDff9mxf2O by mcdanlj@social.makerforums.info
0 likes, 0 repeats
@azonenberg That is also my wife, a math PhD, talking about order of operation in math in general for any purpose, not just programming.Every time one of those order-of-operation "math quizzes" goes viral, she gets to give this speech many times.
(DIR) Post #B6uoo4nrp27kVNr7Wy by d_rift@beige.party
0 likes, 0 repeats
@azonenberg YES. Compiler exists for a reason, you do not pay for declaring final variables, name your clauses so we know what the hell the idea was. Also all complex expressions are wrong. Always. This is where bugs live.
(DIR) Post #B6yKULypxOR9ai6UiG by TheConstructor@social.tchncs.de
0 likes, 0 repeats
@azonenberg nothing wrong in using braces to emphasize "multiply over addition"
(DIR) Post #B6yKUMLsZirukAstd2 by azonenberg@ioc.exchange
0 likes, 0 repeats
@TheConstructor I've absolutely done that
(DIR) Post #B6zu6SVLekTykiNXqS by psentee@stolat.town
0 likes, 0 repeats
@azonenberg galaxy brain: LISP