lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Jan 30, 2020 at 1:27 PM Αγαθοκλής <aga.chatzimanikas@gmail.com> wrote:
On the contrary i believe, C++ is the ultimate tool to solve everything.
(joking :-), today of course), but seriously is. as it is as rather level
as C also, plus any style you like, and you like to express. If i had some
1000++ years to spend, maybe yeahs!, but time is sort, and C is alos quite
flexibly (if concentrated a bit to an expressional style, that would surely
perfect match. Surely i believe quite in Zig Lang to be honest, but you know
time is sort.

see:
http://www.quora.com/Why-is-C++-so-complicated-and-Java-so-simple?top_ans=71862212

> Adam

Καληνύχτα, αγαθοκλής

Yes, C++ IS a powerful multiparadigm language, supported on more platforms than just about anything but C, capable of interfacing with more libraries than any other programming language, safer to use than C, faster than most of the languages that tried to supplant it.

But C++ isn't THAT complicated. If you're an experienced programmer (so you're not wasting time learning fundamentals like "what is a variable" "what is a function" "what is a class"), you can learn everything you need to know about C++ in a few months. You're not going to learn the entire C++ standard library specification cover-to-cover in that span of time, but you don't need to do that any more than you need to learn every class and every method in the standard libraries of Java or Python.

Like PHP and _javascript_, C++ is a language that people love to hate, but the only reason it gets that much hate is because it's everywhere (you don't see people complaining about Pascal anymore!) which means there's a lot of opportunities to see its warts. If you come at C++ fresh, with an open mind, and you learn the stuff that actually matters instead of trying to delve into all of the varieties of historical baggage and all of the intricacies of each little thing, you'll find that it really isn't much different of a day-to-day experience than any other language you might use. After all, at the end of the day, C++ programmers are still programmers, and we don't want to deal with in-your-face complexity every time we sit down; the whole point of having tools and libraries is to keep that complexity hidden away so that you don't have to worry about it. (For example: Most people writing C++ code don't need to write new templates very often. It's only really necessary if you're building libraries. Otherwise, you mostly just use the templates that are already there in the same way you'd use generics in a language like Java or C#.)

So yeah, C++ has all of the qualifications it would need to be in the running for the One True Language, but it never really got that kind of zealous hype surrounding it.

/s/ Adam