-
as seen on Programmers
- Search for 'Programmers'
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 thinking for a while, I came up with a very short list of minor differences. Not being heavy into type…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
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 thinking for a while, I came up with a very short list of minor differences. Not being heavy into type…
>>> More
-
as seen on SQL Blog
- Search for 'SQL Blog'
One thing that has always infuriated me about SSIS is the fact that every package has three different type systems; to give you an idea of what I am talking about consider the following:
The SSIS dataflow's type system is made up of types called DT_* (e.g. DT_STR, DT_I4)
The SSIS variable…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How to explain Scala's type system to a Haskell expert?
What examples show Scala's advantages?
How to explain Haskell's type system to an advanced Scala practitioner?
What can be done in Haskell that can't be done in Scala?
>>> More
-
as seen on Programmers
- Search for 'Programmers'
Assuming a language with some inherent type safety (e.g., not JavaScript):
Given a method that accepts a SuperType, we know that in most cases wherein we might be tempted to perform type testing to pick an action:
public void DoSomethingTo(SuperType o) {
if (o isa SubTypeA) {
o.doSomethingA()
…
>>> More