Re:NASA has a list of 10 rules for software development
by ravenstine on Saturday February 15, 2025 @08:50PM
(#43064544)
Yeah, in JavaScript I'll pretty much only write nested functions to use them as scope control, and usually I don't intend for that function to be callable elsewhere. Otherwise, I prefer writing functions that are as "pure" as possible, even if that means having to pass in many parameters each call.
[ Parent
| on HN ]
There are no comments on this comment yet.