News for hackers. Stuff that matters.
Re:C, The Beautiful Language by rbanffy on Monday March 14, 2011 @08:53PM (#2325312)
As such, any abstraction or syntactic sugar that distances you from the flow of the program fail.

Bu that's for programs that are procedural. Functional programming has no flow. Truth neither moves nor changes.

To use an analogy, a procedural program is like music, where rhythm and motion of the instrument are the essence of what you are representing. Functional programming is more like sculpture, where you create an elaborate piece that has no rhythm or movement of itself, but guides the flow and transformation of the data around it.

Re:C, The Beautiful Language by Groxx on Monday March 14, 2011 @09:49PM (#2325455)
I haven't done functional programming really, I didn't think of that case.

Interesting that it still seems to apply, though. If your abstractions in functional programs obscure that flow, they still strike me as a failure. Though I'd be interested in if functional programmers would disagree, I obviously don't know functional design patterns.

Re:C, The Beautiful Language by silentbicycle on Tuesday March 15, 2011 @01:14AM (#2326096)
If you reason about functional code with appropriate assumptions: they don't lie. A big part of functional programming is making code easier to reason about in isolation.

If you want good procedural C code, read Lua. That shit is polished.