What, again?
Posted May 1, 2007 23:37 UTC (Tue) by
peterh (subscriber, #4225)
In reply to:
What, again? by ncm
Parent article:
The Rise of Functional Languages (Linux Journal)
> This isn't because C++ is perfect, or close, but because it does offer
> the tools they need. To be very specific, it offers destructors.
What, _exactly_ do you get from having destructors (over, say, java-style finalizers)? I'm looking for a precise argument here as to why the absence of this language feature makes it hard to write large, real-world programs.
Really, these days you need a very good reason to write code in C or C++. The benefits of safe languages are very compelling. There are reasons to use C/C++ and friends, they just don't apply to the vast majority of code that people write (i.e. not operating system kernels, nor that very small proportion of code where small constant-factor performance differences matter).
I'm afraid I simply don't follow your statement about "[failing] to provide the tools needed to manage that [resource]". It's difficult to understand such a claim when the current #1 language (by the TIOBE index) Java, is so heavily influenced by ideas from the programming languages research community (type-safety, garbage collection, generics (aka. type-classes), ... largely functional language concepts). Clearly a large number of programmers manage to get their work done in such an environment.
(
Log in to post comments)