News for hackers. Stuff that matters.
Re:Want cleaner code? Use the rule of six by WastingMyTime89 on Sunday September 25, 2022 @05:38AM (#32970027)
I think it is compounded in the article exemple by the flow of the code being non obvious. The map applies to code in its last argument. The lambda is the last action and the url parsing will happen first but is last in the line.

I have far less issue with the piping operator in Ocaml (|>) which works exactly like a shell pipe because the code is in sequential order and that makes a huge difference.

Python like JS weren’t designed as functional languages and it shows in their syntax. Still grateful for the added functionality however.

There are no comments on this comment yet.