Re:Show HN: A JavaScript function that looks and behaves lik...
by rat9988 on Wednesday September 27, 2023 @09:15AM
(#37674213)
No worries your ide will help you for the parentheses.
[ Parent
| on HN ]
Re:Show HN: A JavaScript function that looks and behaves lik...
by keb_ on Wednesday September 27, 2023 @10:32AM
(#37675216)
IDEs and linters should not be a crutch methinks because not everyone uses the same IDE or text editor. Either way, it will still be awkward to read.
Better that you either avoid that pattern or at least indent it in such a way that its not so visually confusing. Or yknow use a pipe operator.