News for hackers. Stuff that matters.

itsbruce

Re:Why I Prefer Functional Programming on Saturday September 21, 2019 @04:57PM (#21037898)
There's more to the admittedly fuzzy-edged concept of functional programming than function application.

I'd agree with you that the feature list is more important than a vaguer title. That's something Robet Harper talks about: http://www.cambridgeblog.org/2017/05/what-if-anything-is-a-p...

But the selection of features has limited value if the selection isn't coherent and the features don't compose. Within both FP and OOP there are languages whose design choices represent coherent choices with synergy... and ones that don't.

Go's feature set doesn't provide that coherence and synergy for functional abstractions. Frankly, it's an awkward obstacle in that direction. Beyond that, its feature set is deliberately designed to place arbitrary limits on abstraction.

Re:Why I Prefer Functional Programming on Friday September 20, 2019 @10:12AM (#21026864)
Point free style possible in languages like Haskell and SML where the syntax makes it practical. Haskell and SML make it easy, Scala does not. If you made an OOP language with the right syntax features, you could have point-free style in that language too. You can do point-free style in Python with just a little effort. It's orthogonal to the FP/OOP debate.
Re:WiringPi – deprecated on Monday August 26, 2019 @01:47PM (#20802020)
That is not what the article said. You are being just the kind of asshole the author complains about.
Re:Why did we wait so long for the bicycle? on Tuesday July 16, 2019 @05:18AM (#20448590)
"The quality of roads is relevant, but not really the answer. Bicycles can be ridden on dirt roads or sidewalks"

Bicycles can only be ridden safely on rough surfaces with good pneumatic tyres. As for the sidewalks, 1) their quality was also very variable, 2) they didn't offer a continuous path anywhere unless you only wanted to cycle around a single block (often not even then), 3) they were full of pedestrians trying to avoid the rough, filthy road surface, 4) hopping on and off kerbs is not a good idea without pneumatic tyres and a lightweight frame (early bicycles were ponderous and heavy).

The description of the technical progression needed to make the bicycle practical is fine, but the author seems to need to dismiss all previous thought on bicycles simply to justify their argument. Firstly, that's not a motivation I admire, secondly the dismissal of those obstacles and the other cited disincentives is just wrong: those obstacles were definitely there, something technical and social progress had to address before a bicycle was a reasonable and useful idea.

Re:History of Lisp (1979) [pdf] on Monday August 27, 2018 @01:25PM (#17852857)
Some information about the early years is gone; people were often too busy to write down what they were doing. But there's enough still around that it's even gone recursive http://kameken.clique.jp/Lectures/Lectures2010/NLP2010/relat...