Remix.run Logo
sirwhinesalot a day ago

I always find it funny how people focus on the .method() syntax. You have the "pipe" operator in some functional languages that achieves the same thing, pass the result of an expression as the first argument of the chained call on the right. Nothing to do with OOP.

pjmlp a day ago | parent | next [-]

I think it needs a higher level experience across procedural, logical, functional and object based languages, the unique ways each one applies ideas into their programming model, how that interacts to CS, for finally understanding how those concepts come together, instead of being so fixated in language syntax.

xigoi a day ago | parent | prev [-]

This is because in languages that don’t have UFCS, methods are often abused to create “natural” looking syntax like

    expect(6).toBe(even)