Tagged Questions
29
votes
4answers
2k views
What can Haskell's type system do that Java's can't and vice versa?
I was talking to a friend about the differences between the type systems of Haskell and Java. He asked me what Haskell's could do that Java's couldn't, and I realized that I didn't know.
After ...
16
votes
5answers
981 views
How do you encode Algebraic Data Types in a C#- or Java-like language?
There are some problems which are easily solved by Algebraic Data Types, for example a List type can be very succinctly expressed as:
data ConsList a = Empty | ConsCell a (ConsList a)
consmap f ...
3
votes
2answers
392 views
Lazy Processing of Streams
I have the following problem scenario:
I have a text file and I have to read it and split it into lines.
Some lines might need to be dropped (according to criteria that are not fixed).
The lines ...
8
votes
11answers
1k views
Is Object Oriented stuff really that important? [closed]
For years, I have been doing Algorithmic stuff, writing scalable data structures for internet search, for example Randomized Binary Search Trees for Auto Recommendation, BitMaps, Wisdom of Crowd based ...
9
votes
4answers
5k views
The Future of Golang. Multiple Language Support? [closed]
Golang seems promising. I've been following this lang since its first release. It might take time to be a very good competitor to other programming languages.
One brilliant aspect of Java and .NET I ...