Remix.run Logo
msie 4 days ago

I’ve never liked the idea of the syntax where functions are declared and then assigned to variables. I guess it’s supposed to be elegant?

hyperbrainer 4 days ago | parent [-]

If functions are first class, then they must be stored as variables. I mean, consider any FP Language.

msie 4 days ago | parent [-]

They can still be first class without declaring them in this manner.

TurboHaskal 3 days ago | parent [-]

Sure. But if they are first class and you have a mechanism to assign them to variables then there is no need for syntax sugar.