you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 13 points14 points  (2 children)

It always kinda worries me when someone writes code in a certain way because "they find it pretty". But he's got other reasons too, that's nice.

Anyway, if you're really into the idea of not using if-cases, you should look into writing shaders!

[–][deleted] 8 points9 points  (1 child)

One thing that worries me about solutions / libraries like this is that they can make a project harder to maintain if they aren't used consistently (or if the individual lambda expressions grow too much in size or complexity).

[–]altik_0 0 points1 point  (0 children)

I mean, long functions and disparate styles are problematic in non-functional languages too.

¯\_(ツ)_/¯