Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sold
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
sold
14y ago
Do you think H-M, which can be presented in full in less than a 60 minutes functional programming lecture, is harder than a whole subfield of physics? I don't think so. Astrophysists deal with large objects every day and there might be a re
122.
▲
by
sold
14y ago
I disagree - choosing a language is not choosing a placebo. Languages are tools, and need to be chosen appropriately. Often the exact choice will not matter (compare Java/C# or Python/Ruby), but sometimes it will. "it's not for me" is not a
123.
▲
by
sold
15y ago
- I made many mistakes in the learning process. Monads should be done after you know core language (higher order functions, ADTs and pattern matching, typeclasses). I was attempting to learn many things at once and perfectly, instead of cli
124.
▲
by
sold
15y ago
It took me two months to really comprehend monads. Now I find them very intuitive and easy. However, they are definitely not easy to learn. It is like you are learning programming for the first time. Initially, they seem weird. Haskell requ
125.
▲
by
sold
15y ago
Urban Dictionary no longer sorts by positive - negative, see e.g. http://www.urbandictionary.com/define.php?term=usa . I don't know what they use now.
126.
▲
by
sold
15y ago
Is Prolog a functional language, as it avoids state manipulation but has no first-class functions? I think not. There are some characteristics of functional languages - including first class and higher order functions, relying on immutabili
127.
▲
by
sold
15y ago
> wikipedia uses one definition Let me repeat: you used an introductory sentence as a "definition" of FP and are overinterpreting it. If you read later you will see: > Functional programming languages, especially purely functional o
128.
▲
by
sold
15y ago
This is a single introductory sentence. You should not reason that far with it. With that reasoning you could claim addition is impure, because time() + 1 changes over time. map is definitely a pure function. If you apply it to impure argum
129.
▲
by
sold
15y ago
Music too, if someone in a train has loud headphones. Or, you could hear a band playing a show outside the venue. In a very resourceful world, you could always find a public place where you can overhear the track you want to listen.
130.
▲
by
sold
15y ago
Sometimes YouTube comments give me also that feeling.
131.
▲
by
sold
15y ago
I get 404 at this URL but google cache is available.
132.
▲
by
sold
15y ago
If you have printf, then "printf("long string")" where the string might be modified should give a good bound, say Omega(200^S). If you don't have it, what is the program allowed to do? Only return from main, without checking arguments? Then
133.
▲
by
sold
15y ago
I think the poster is arguing against the conflation. Organic chemistry is not memorizing compounds; mathematics is not memorizing integrals; anatomy is not like memorizing colors. There is a great difference between understanding and memor
134.
▲
by
sold
15y ago
clauseSat, simpClause and simplify functions do not need special case for []. You can remove the three lines. Even more, clauseSat s l = elem l s, simpClause c l = filter (/= -l) c.
135.
▲
by
sold
15y ago
I also recommend following a tutorial, it's really hard to start coding on your own, you will definitely get bad habits or a very shallow, incorrect understanding. I know this from long experience.