Live data from Hacker News

Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml

thume.ca

381–384 of 384 posts

Re: Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml

#381
post #138
post #46

Earlier quoted context omitted.

In the 90's, the Swedish Ericsson and German Siemens companies participated in a joint (crash) project. Each sent 250 engineers. After six months, they delivered. A friend counted up lines of code written by each engineer, at the end. Fully half the code in the final product was written by one person: N lines by him, N lines by the other 499 people. He was a lead programmer, who issued two-week assignments to other e…

I'd like to read up on this, so I'd be happy if you could provide sources.

Sorry, personal communication.

Re: Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml

#382

Earlier quoted context omitted.

When thinking about extending and refactoring, you also need to keep in mind that static types add a whole layer which is pretty hard to change. There are advantages and disadvantages, having at static types isn't such a silver bullet.

Hm... well that might be true for extending, I'm not sure you've fully thought through that comment. Duck types are great for writing new code, but they're very troublesome for refactoring; automated tools have a much harder time automating that process. Refactoring data structures and implementations in static type systems is bother considerably easier to implement than in dynamic languages, and resultingly, more ro…

To be fair, in languages as terse as OCaml, even the bigger line count isn't a given.

Re: Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml

#383
post #230

Earlier quoted context omitted.

Not me though! I was aware of that but I meant in comparison to (say) Java or JavaScript etc.

https://www.digitalmars.com/d/archives/digitalmars/D/announc...

Such a good guy creates a language and finds people job postings for that language. Jokes aside didnt know you were behind D. Thanks for your contribution. I will give it a shot.

Re: Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml

#384
post #270

Earlier quoted context omitted.

Yeah it's had everything for years. I'd rather shoot myself than use those features outside of a modern language where they aren't just bolted on along a billion other things.

That's not a useful comment. Would you rather they just kill the language instead of improving it?

Absolutely. Killing it would be the most useful improvement.
Post reply on HN