4 ms·
Ruby devs don't understand the need for interfaces or type-hinting either, so this doesn't surprise me. But then they go and try to make fun of PHP.
by jafaku 13y ago
Ruby devs don't understand the need for interfaces or type-hinting either, so this doesn't surprise me. But then they go and try to make fun of PHP.
- encoderer 13y agob/c type hinting in PHP is a wishy-washy half feature typical of the language. Python engineers don't understand type hinting either -- and we like it that way. Because if it walks like a duck and quacks like a duck, treat it like a duck.
- jafaku 13y agoIt's not a half feature. But yeah, I can see that "engineers" like you don't understand it. The same duck metaphor is stupidly used to criticize interfaces. And then you have everyone trying to use hacks to get around this issue, usually people who do understand what "design by contract" is, but for some reason don't want to leave Ruby. Just google "ruby interface" and see for yourself. This problem won't go away until people like you stop spreading lies to justify the lack of features (eg: "Hurr durr, Java needs interfaces because it's too rigid, Ruby doesn't need that, lol!").