Hey there.
I'm currently a person learning Programming. Right now, I'm focusing on C and Java(I might also plan to put more focus onto Python too). But, right now, I'm wondering whether I should learn C++.
I mean, a lot of Jobs nowadays involve or require C++. But the thing about C++, is it's Syntax and the fact that a lot of people say that the the Language is bloated and slow. I don't want a Language like that but I have been told to just decide for myself.
I have learned basic Printing and getting User-Input from cplusplus.com but that's all. I mean, since I'm continuing to learn Java and since I know a bit about C, maybe it shouldn't be too hard to pick up C++.
Now as for whether I should learn C++, should I? Is it a terrible Language due to it being "bloated" and "slow"(According to others anyway)?
Knowing C really should be a prerequisite for any C++ programmer, so I definitely think it's a good thing to learn (the K&R book and sites like
I also seem to remember hearing that some people had the opinion thatlearning C first could actually teach some bad habits, as far as making you used to non-object-oriented programming, which might make it more difficult to get used to OO programming with other languages later.
crow wrote to All <=-
I'm currently a person learning Programming. Right now, I'm focusing on
C and Java(I might also plan to put more focus onto Python too). But, right now, I'm wondering whether I should learn C++.
I mean, a lot of Jobs nowadays involve or require C++. But the thing
about C++, is it's Syntax and the fact that a lot of people say that
the the Language is bloated and slow. I don't want a Language like that but I have been told to just decide for myself.
Now as for whether I should learn C++, should I? Is it a terrible
Language due to it being "bloated" and "slow"(According to others
anyway)?
Digital Man wrote to crow <=-
C++ is definitely not "slow" by any measure, it's as "close to the hardware" as C but you do get a bit more overhead in your compiled code (compared to straight C).
On 11-09-19 09:32, Retro Guy wrote to Nightfox <=-
To me that makes sense. I taught myself C in probably 1993 for a
project for work, and continued with the language for years. Moving to
C++ just doesn't click for me, I have a lot of trouble with object-oriented programming no matter how much I try to force myself.
On 11-09-19 14:07, crow wrote to Digital Man <=-
But, I do remember being told to not listen to the opinions of anyone
else and just give the Language a shot. And when I say "opinions", I
mean like bad or biased ones.
On 11-09-19 14:15, crow wrote to Nightfox <=-
But I don't think it should be too hard to transition from Procedural
to OO. I mean, I'm learning both C(Procedural) and Java(OO) and I have
no problems with two completely different Paradigms. I know I'm not the only one who doesn't have these sorts of issues with things like Paradigms.
On 11-09-19 18:42, Dr. What wrote to crow <=-
Although C++ and Java are in demand, their demand is waning. Python,
on the other hand, is growing.
On top of that, Python is much better for learning how to program.
Maybe if I had learned C++ first it would make more sense. Then moving to C shouldn't be difficult as C++ is loaded with C. Now I just stick with php :)
I would say that learning C++ first is bad.
The reason for that is probably due to it's complexity and many Features. Which may cause people to not understand some of C++ or Programming in general. But a Language like C would be better for an intro to Programming in my opinion because it doesn't have things like Classes or other things such as Vectors(Whatever those are for anyway). Python is also good for a beginner and can help someone get into OO.
As for C++ apparently not being "Slow" and "Bloated", are you sure that isn't the case?
I mean, that's what a lot of people say. Either those people have worked with the Language and don't like it, some famous person has said it or people just hate it to be like everyone else.
Although C++ and Java are in demand, their demand is waning. Python, on the other hand, is growing.
On top of that, Python is much better for learning how to program.
Remember that C++ is not a redesign of C. C++ is C with objects bolted on. All C programs are valid C++ programs.
As a software professional for 30+ years, I would say "No". C++ isn't worth learning today.
It's sort of like learning COBOL right before Y2K.
Re: Re: C++to
By: Retro Guy to Nightfox on Sat Nov 09 2019 09:32 am
Maybe if I had learned C++ first it would make more sense. Then moving
C shouldn't be difficult as C++ is loaded with C. Now I just stick with php :)
PHP has had object-oriented features for quite a while now.. ;)
As for C++ apparently not being "Slow" and "Bloated", are you sure that isn't the case?
All C programs are valid C++ programs.
Digital Man wrote to crow <=-
C++ is definitely not "slow" by any measure, it's as "close to the hardware" as C but you do get a bit more overhead in your compiled code (compared to straight C).
Actually, C hasn't been "close to the hardware" since PDP days.
See https://queue.acm.org/detail.cfm?id=3212479
Re: Re: C++
By: Dr. What to crow on Sat Nov 09 2019 06:42 pm
Although C++ and Java are in demand, their demand is waning. Python, on the other hand, is growing.
On top of that, Python is much better for learning how to program.
Python is getting more popular, but I'm not sure how much C++ might be waning. C++ started to gain a lot of modern features with C++11, and there are new C++ standards coming out about every 3 years now (there has been C++11, C++14, and now a C++20 is planned for next year. I think the more modern features being added to C++ may be helping its popularity right now.
Remember that C++ is not a redesign of C. C++ is C with objects bolted on. All C programs are valid C++ programs.
C++ isn't a true superset of C. C++ is maybe 99% compatible with C, but there are some features from C that don't quite work the same in C++. Objective-C is a true superset of C though (and it's true to say any C program is also a valid Objective-C program).
As a software professional for 30+ years, I would say "No". C++ isn't worth learning today.
It's sort of like learning COBOL right before Y2K.
I'm not sure about that.. C++ is still used for a good number of projects. And C++ has been around so long that it (along with C) is a sort of de-facto standard for some things (i.e., C is the de-facto standard for the external interface for Windows DLLs and shared libarries on Linux).
It seems C++ has been in the top 3 popular programming languages for at least the last several years or so. I've heard the top 3 are Java, C, and C++, and that still seems to be the case:
https://zd.net/32wIY0E
Full URL: https://www.zdnet.com/article/programming-language-popularity-c-bo unces-back-at -pythons-expense/
You seen this video: https://www.youtube.com/watch?v=Og847HVwRSI ?
Seems topical and mesmerizing. :-)
Nightfox wrote to Dr. What <=-
Python is getting more popular, but I'm not sure how much C++ might be waning. C++ started to gain a lot of modern features with C++11, and there are new C++ standards coming out about every 3 years now (there
has been C++11, C++14, and now a C++20 is planned for next year. I
think the more modern features being added to C++ may be helping its popularity right now.
and there are new C++ standards coming out about every 3 years now
(there has been C++11, C++14, and now a C++20 is planned for next
year. I think the more modern features being added to C++ may be
helping its popularity right now.
I base my statement on the fact that the last time I used C++ was about 20 years ago. Everything that I've done professionally has been in something else.
So, like COBOL, C/C++ isn't going away anytime soon. But demand for it is dropping and the programming community is actively looking for something to replacement (it's hoped that Go will do it).
Nightfox wrote to Dr. What <=-
I've been a developer since 2003, and I've used C++ at almost every job I've had.
One of the companies I've worked at is Intel, where C++ is
used quite a bit. There are also a lot of math libraries, such as the Cuda libraries that make use of Nvidia's GPUs for number-crunching,
that interface with C/C++. I've intereviewed for another job recently
at another company where C++ is used for much of their work
(electronics test instrumentation tools and wireless communication software).
Perhaps if C++ isn't as common as other languages, C++
software is still out there, and it seems to me C++ is still a fairly popular language.
C++ started to get regular updates to its standard in 2011 though, and
the C++ standard is being updated every 3 years now. There's the C++11 standard, C++14, C++17, and soon C++20. I don't imagine the C++
standard would be updated so much if there wasn't enough demand for
C++.
Sysop: | KrAAB |
---|---|
Location: | Donna, TX |
Users: | 2 |
Nodes: | 20 (0 / 20) |
Uptime: | 111:33:25 |
Calls: | 248 |
Files: | 526 |
Messages: | 34,356 |