Exploring C++

My first programming language was The infamous JavaScript. Don't blame me for that. It all started way back in my first semester. I never really developed any interest in C which was being taught at that time, I had my reasons. Somehow got into web development and In web you can't just avoid JavaScript.


I've been working with JavaScript for more than a year now, I really liked JavaScript but While I was in some programming communities( Discord/ Reddit) I always saw one or other ranting about JS that it just sucks and I honestly just kept wondering but why'd you say that? Ofcourse I didn't know about the basics of programming languages like typing, type safety, speed etc. and never cared about anything like that. I literally never wondered

Why there are errors which are difficult to debug?

There are times when you can't narrow down the problem so you have to shoot log statements to see to where the problem starts. Indeed one has to be really careful while writing JavaScript code the asynchronous code can cause a lot of undefined(s). Well these were my personal annoyances. some meme about arch Linux

Some might say why I'm so against JavaScript but here is the thing I might be wrong but it's my personal opinion it is what I think. Now I'm not very intrested in learning programming languages without strict type system after I got to know C++.

Just pause reading for a second and try "3" + 4 in either a node environment or in a browser console. Just think about what you get in the output, Just think for a second. This is exactly what's wrong with JavaScript.

Enough about Javascript

I kept on going and going with it without any second thoughts until one day I discovered C++ during this summer break June-July 2019. Honestly speaking one wouldn't like JavaScript who knows about C++ or any C-look-a-likes Java,Rust etc.. Although we can't compare C++ and JavaScript because they simply come into use in different cases and it is not really fair to compare them But I'm talking about elegancy of a general programming language, C++ is very elegant in terms of generalizing all the programming languages and I think that it should be the programming language one should learn first but that's my opinion if you're working with something different that is totally fine.

Maybe I'm still a beginner to it but so far my experience have been great . It is certainly a big language but new comers should just ignore the more advanced features those can come later. Learning about the stl should be enough until you get familiar to the syntax.

Another thing how C++ did a good thing to me is adding up a little chore to my daily task list, solving problems on CodeChef which I found fun and important you might as well say that, as you get to know about designing algorithms too. I feel this helps me to improve my problem solving ability to a great extent while also telling me more about the language itself but anyway I only started C++ as I found it intresting I try any random problem whenever I'm free. This way I get to know more features of C++ as well. Who knows in near future I get to work with C++ in a real software or something like that.

At last thank you for reading this and if you have any kind of feedback feel free to hit on this anonymous Feedback link.