[OT] Ada gems
Paulo Pinto via Digitalmars-d
digitalmars-d at puremagic.com
Tue Oct 14 12:49:08 PDT 2014
Am 14.10.2014 um 17:30 schrieb eles:
> On Tuesday, 14 October 2014 at 14:56:53 UTC, eles wrote:
>> On Tuesday, 14 October 2014 at 13:52:24 UTC, eles wrote:
>
> http://ask-beta.slashdot.org/story/14/04/30/1344224/c-and-the-stl-12-years-later-what-do-you-think-now
>
>
> "I've been using it professionally for 15 years now, and if I observe
> anything, it's that the longer I use it, the more my stuff looks like C.
> I keep shaking my head at younger colleagues mis-using templates all
> over the place ("re-usability!", and hour-long compile times, coupled
> with really non-obvious implicit conversions and instantiations, never
> mind the error messages), and object-oriented hierarchies where each
> object is such a tiny part of the system that you need to remember 10
> classes at the same time just to have a slight inkling of what this
> thing is actually supposed to do."
Actually I prefer,
"I used to love c++ and berade people who used wimp languages like Java.
These days I mainly use java, and when I do have to use c++, it feels
painfully dated.
At to C++11, while it added some useful stuff, in general it feels like
it's just flailing while trying to bring in some of the language
features of newer/more modern languages. The new concurrency stuff in
particular is just plain unseemly.
Also, a relatively minor but annoying and long-standing problem with
doing anything non-trivial in c++ is the lack of consistency between 3rd
party libraries. Java has spoiled me into expecting everything to adhere
to one convention, but with a c++ project as soon as you've got more
than a few external libraries, you end up with a huge mess of code that
doesn't mix properly, and writing adapters for everything to get that
consistency is just insane.
Long rant short: I'm finding myself using c++ now mainly for:
- small bits of functionality to be used via JNI
- small stuff mainly focused around one library/task (Qt, pqxx, whatever)
Doing anything large and complex with c++ these days just doesn't appeal
to me any more. I can build it much faster with java, it'll be more
maintainable, and performance wise it's fine for what I do."
It reflects quite clearly my work environment since 2005.
--
Paulo
More information about the Digitalmars-d
mailing list