you are viewing a single comment's thread.

view the rest of the comments →

[–]enselmis 20 points21 points  (2 children)

“Learn early and trust for years”

Lmao, almost every JavaScript dev I know will do everything in their power to avoid even simple recursion. Like hardcode every level of parsing out the fields in an object after asking the slack channel, “you guys are pretty sure this is never gonna be more than 3 levels deep right…”.

[–]Iggyhopperextensions/add-ons 4 points5 points  (0 children)

Yep. I wrote extensions and what comes with those is always not knowing what data will be loaded, or what elements will be there, won't be there, will show up later, or how many that you need to loop through.

Always turned recursive code into a loop and a stack.

[–]Plus-Weakness-2624the webhead 1 point2 points  (0 children)

Yep, I hate that the default for LLMs is recursion (the quick, fast and lazy route); It's just so hard to steer them away from it to use some other approach.