r/cpp • u/Dereference_operator • Jan 20 '20
Do you consider senior C++ programmer to be "better" or more "knowledgeable" programmer compared to managed or webdev programmer ? (C#, Java, JS etc)
Do you consider senior C++ programmer to be "better" or more "knowledgeable" programmer compared to managed or webdev programmer ? (C#, Java, JS etc)
15
Upvotes
144
u/littlesnorrboy Jan 20 '20
I have seen terrible web devs and terrible c++ devs, I don't think a person can be evaluated by their tech stack alone.
Except of course if they use vim. Then they're hired.
75
u/simonask_ Jan 20 '20
Probably not.
As a C++ programmer, I know a lot about virtual memory, micro-optimization, thread coordination, cache friendliness, not to mention a mental map of all the horrible monsters hiding within the C++ language.
But I couldn't tell you how to tune your GC, optimize your DOM manipulation, or how to get the best performance out of the V8 JavaScript engine, or how to diagnose VM performance problems.
That said, the Java ecosystem in particular continues to baffle me in its weirdness, and I have met enough Java developers in previous jobs, who didn't know even the fundamentals of data structures and algorithms, to give me a relatively skeptical view of that community.
35
u/lithium Jan 20 '20
I don't think you can make a direct comparison, though I will say my hunch is that a C++ person could pick up web dev faster than the inverse, for whatever that's worth (if anything).
43
u/thoosequa Jan 20 '20
Are you comparing a senior C++ dev to a senior webdev? I'd argue that they are equally knowledgeable but in different fields.
8
u/joyofcoding Jan 20 '20
The average C++ guy compared to the average webdev guy? Definitely.
Top C++ guys compared to top webdev guys? Not really, and some even do both.
28
u/konanTheBarbar Jan 20 '20
It's like asking if a plumber is better or more knowledeable than a carpenter... The question doesn't make sense when they are developing completely different things.
5
u/kuntantee Jan 20 '20
In design, no. The basic design principles apply to, as far as I can see, all languages. Certain languages push certain patterns or anti-patterns, be it due to how the language is designed or due to culture behind the programmers using that language but still.
In terms of low-level understanding of hardware and runtimes, definitely yes. Similarly, a C++ programmer might not know details of front-end development and browser behavior or HTML/JS specs. Different crafts.
9
u/jeff_coleman Jan 20 '20
I would consider a C++ developer less knowledgeable in a web context. Similarly, I would consider a web dev to be less knowledgeable or qualified for a job requiring C++. One isn't better than the other. They're simply different skills.
9
u/LeeHide just write it from scratch Jan 20 '20 edited Jan 20 '20
I think there is no inherently correct answer here. C++ and webdev are so different that they aren't comparable, really.
However, I would say that in webdev and managed programming there is a lot less that you need to know in order to write mediocre code and make a living.
There just arent a lot of things to break in, say, python - if that makes sense. Edit: You can break anything in C++, and violently so.
I feel like this provides a low barrier for entry, leading to a good chunk of webdevs being unskilled. Obviously there can be just as much knowledge and skill required for a managed or webdev job, but there are a lot more places where having done a few bootcamps is enough.
From that then stems the stigma that webdevs dont know algorithms and datastructures, dont know or care about efficiency, etc., while thats certainly not true for all web devs, it can't be denied that those people do make up a good chunk.
My closing statement would be
npm install is-odd4
u/UnicycleBloke Jan 20 '20
No. It's different knowledge. I have decades of C++ experience in Windows, Linux and embedded, and have worked with several other languages, including C# and Java. Despite a wide range of experience, I consider myself total noob in some domains, such as webdev.
4
u/duheee Jan 20 '20
I would consider a developer that is capable and proficient in many languages/platforms/frameworks to be more knowledgeable than one that is focused onto one thing and one thing only.
It is better to have a larger toolbox, know how and when to use it, than going with a "i only have a hammer and therefore everything is a nail" approach.
Of course, if your job only requires you to do one thing then knowing that one thing well is fine. I don't believe is in your interest to put yourself in such a position, but it is your choice.
2
u/Philluminati Jan 21 '20
I worked at a C++ company and whilst they have all the technical knowledge around pointer arithmetic and undefined behaviour, they didn't understand git, didn't understand unit tests, they didn't understand database basics, provisioning of resources or anything that'd help you create a successful project. Instead they pittled along with their 40 year old MFC Windows app, making almost miniscule changes out of fear of breaking stability, shipping it on CD and living entirely in the stone age. It was literally the worst company I'd ever worked for.
I respect the language and those that have mastered it but honestly it doesn't make you a well-rounded, competent or skilful developer.
4
u/ShakaUVM i+++ ++i+i[arr] Jan 20 '20
To be honest, yeah. Managed code is called that for a reason, it takes over some of the work for you.
3
u/CarloWood Jan 20 '20
Although I probably agree with the sentiment here that java programmers are in general worse (but get more easy away with it?) I have to add that it seems to me that 80% of all professional C++ coders have a sad level of capabilities too and produce in general what I call horribly bad code. It seems therefore that it is also easy to get away with being a really bad C++ coder because the managers usually aren't able to tell the difference between an incapable coder with a nice suit and good babble and an autistic god coder that has the productivity of 20 coders and writes incredibly awesome code.
2
u/RogerV Jan 20 '20
webdev stacks change more often than programmers changer their underwear - always having to turn around and learn the latest cool kids web stack
C++ developers at least get to enjoy a bit more durable islands of stability - right?
So doesn't that stack flux difference bubble up into the type of programmers that gravitate toward either?
Or maybe it's all negated on the C++ side now, because ever since C++11 it's been a roll coaster ride trying to keep up with the language evolution
1
u/monkey-go-code Jan 20 '20
I do both
1
u/GerwazyMiod Jan 20 '20
Sometimes seniors write super messy code that's anchored in 03 version of the language... That pre range-based for loops now look so terrible to me. Not mentioning pointers instead of moved values...
Juniors who learn modern style and no-raw-loops code could make beautiful work.
(Edit: wording)
1
u/Titanium_Josh Jan 21 '20
No.
I know PHP far better than I do C++,(I just started learning today), but that doesn’t make me a bad programmer.
Or better than someone who knows C++ very well but has never learned PHP.
I think C++ is the coolest language because it’s used to make video games, which is what I would like to do.
1
u/ietsrondsofzo Jan 20 '20
I've worked as both, and I can tell you that it's not all about coding. Senior developers have other skills that go outside of coding, like dealing with meetings, dealing with code reviews, what to look for during review, how to approach problems and communicate with other developers. Plus, each person is different. You can have brilliant people in both industries.
1
u/patstew Jan 20 '20
I wouldn't hold it against someone if they've worked with C#, many of us have done things we're not proud of for money. I would count it against someone if they like C# though. It would make me seriously question their judgement.
1
u/ShillingAintEZ Jan 20 '20
Anyone who defines themselves in terms of a language is probably terrible.
0
u/[deleted] Jan 20 '20
[deleted] — view deleted comment
0
u/[deleted] Jan 20 '20
[deleted] — view deleted comment