Re:Tell HN: We are trying to get tail calls into the WebAsse...
by chmod775 on Tuesday July 12, 2022 @01:38PM
(#32073322)
> so if my arrow function gets big and I want to make it a regular function I may have to rewrite it.
There's absolutely no reason to make an arrow function a regular function just because it goes past a certain number of lines.
It really seems like you should become more familiar before forming an opinion. There's valid criticism to be made, but those aren't it.
Re:Tell HN: We are trying to get tail calls into the WebAsse...
by labrador on Tuesday July 12, 2022 @01:55PM
(#32073519)
I sometimes refactor code for purely aesthetic reasons. To each his own.
http://www.synergeticapplications.com/ergonomics.htm
By the way, I feel like I'm at a bar and you're negging me
Edit: I'm thinking of cognitive load too. I like to eliminate load I don't need. Keeping track of this is not something I want to do with my life
https://drpicox.medium.com/reducing-programmers-cognitive-ov...