Live data from Hacker News

The Anti-If Campaign

antiifcampaign.com

1–10 of 27 posts

Re: The Anti-If Campaign

#5
This sort of debate annoys me - not so much because of the potentially fragile design on one side or the perhaps pedantic adherence to OOP principles on the other, but because I know that I could have things like pattern matching and a scarily expressive type system and, well, that'd make a lot of these problems disappear.

Curse you, Haskell, for making me so bitter!

Re: The Anti-If Campaign

#8
post #6
post #2

Oddly named campaign to promote better use of inheritance. "The Anti-Type Fields Campaign" would be more appropriate and less confusing.

Inheritance or polymorphism?

calambrac gets it right: 'dispatch'. I though the article was going to be about pattern matching, actually. I guess polymorphism is a sort of pattern matching, but the real thing goes farther.

Re: The Anti-If Campaign

#9
This is a joke, right? They're making fun of all the programs you see that have 20 different forests of tiny classes spreading the logic of one function across 45 files, right?
Post reply on HN