News for hackers. Stuff that matters.
Re:We need less powerful languages by tel on Saturday November 14, 2015 @05:41PM (#10567596)
This is a big part, if not the most important part, of why I like Haskell. "Purity" is a giant stroke in the direction of using the least powerful language possible at all times (and the advanced types let you both declare the level of power you want and compose sub-languages of different powers together). You also often go deeper due to the large prevalence of deep or shallow embedded DSLs in the typed-functional languages.

In short, this is, to me, one of the most important principles of programming.

Re:We need less powerful languages by eatonphil on Saturday November 14, 2015 @06:14PM (#10567707)
So why Haskell and not, for instance, SML? I guess SML is not necessarily pure, but it certainly a much simpler language than Haskell.
Re:We need less powerful languages by Peaker on Saturday November 14, 2015 @06:38PM (#10567797)
Without purity, you have the power to express a lot more, burdening the reader.

Purity lets you easily and arbitrarily constrain a function or program -- easing the burden for the reader who is free to assume so much more about what they read.

Re:We need less powerful languages by tel on Saturday November 14, 2015 @08:08PM (#10568065)
SML can do this well with embedded DSLs, but effect typing is a powerful tool for this idea.
Re:We need less powerful languages by TazeTSchnitzel on Saturday November 14, 2015 @06:35PM (#10567781)
Simplicity means power, that's the problem.