News for hackers. Stuff that matters.
Re:What Makes Code Hard to Read: Visual Patterns of Complexi... by khaledh on Tuesday March 11, 2025 @02:59PM (#43335865)
True, but now you're relying on a specific implementation and optimization of the compiler, unless the language semantics explicitly say that lambdas will be inlined.
Re:What Makes Code Hard to Read: Visual Patterns of Complexi... by stouset on Tuesday March 11, 2025 @03:03PM (#43335914)
This is true of literally anything and everything your compiler emits. In practice the functional style is much easier to optimize to a far greater degree than the imperative style.
Re:What Makes Code Hard to Read: Visual Patterns of Complexi... by tvier on Tuesday March 11, 2025 @03:10PM (#43335977)
This is why you shouldn't get into arguments about performance on the internet without highly specified execution environments.

I'm going to take my own advice and go back to work :)