In my experience, the answer is simultaneously YES, NO, and 42. But I choose C over C++ any day of the week, except for Sundays which is dedicated to Objective-C.
@gamereactz17 сағат бұрын
I learned java and c and ended up as a network admin because I thought i disliked software development. Later i picked up python and loved it but there was no jobs at the time. All i would see c# and i got very discouraged as i liked python and had a bad experience with c before.. Thankfully i am now a c# developer after a company i was hired as an software admin gave me an opportunity. I love c# now.
@GavinLon13 сағат бұрын
That's awesome! Thank you for sharing your story :)
@aytviewer2421Күн бұрын
NOTE: I love C#, but when you use it with unmanaged libraries (looking at you MS Office Interop {excel automation, etc...}) it becomes a freaking memory leaking nightmare! You solve the memory leak, tweak some unrelated code, and wham bam the leak is back with a vengeance!
@GavinLonКүн бұрын
That's interesting I'll have to experiment with that a bit. Thanks so much for your comment :)
@randyriegel8553Күн бұрын
Awesome video. I started out my first job out of college using C (not C++) on an HP-UX Unix machine. My next job I started using C# in 2005 as my main language... never looked back. But I've programmed in probably 50 different languages over my career but C# is my go to. Still use C/C++ at home for home automation, etc using Arduino's, ESP32's, etc. Fun hobby.
@GavinLonКүн бұрын
Wow - sounds like you've had a lot of experience with multiple programming languages! I definitely want to experiment more with home automation - as you say fun hobby :)
@Maximus98245Күн бұрын
The elephant in the room was left out, the one that c# is copied from.
@yogibarista28189 сағат бұрын
I think that's a bit of a stretch. For his part, Hejlsberg said that C# is "not a Java clone" and is "much closer to C++" in its design - despite the obvious comparisons. Much of the core syntax and programming concepts of V1 were similar, because they are obvious to people like Hejlsberg and Gosling, but there were differences even in V1.0 - e.g. class inheritance was already different - and C# had gone its own way by the time v2.0 was released - nobody would claim that C# and Java Generics are the same - and C# has continued to follow its own path.
@truthsearch2366Күн бұрын
C++ has its strengths and weaknesses. Reading complexity and memory crashes are often unless pointers and threads are not handled properly. As someone says that C# compiler itself is written in C++.
@GavinLonКүн бұрын
Great! Thanks for your comment - automatic memory management and garbage collection is a great luxury that C# developers have. :)
@LengCPP2 сағат бұрын
If you are good at c++ it is better and if you are good at c# it is better, the best language is always the one you know best
@GavinLon2 сағат бұрын
I think you make an important point. If you are skilled in a particular language or a team is mostly skilled in a particular language - it is far more cost effective to stay with that language. Unless of course you need to accomplish a particular goal, that can best be done using another language for e.g. (C++ can run efficiently on resource constrained devices). Its all about weighing the pros and cons - often a trade off is needed :)
@LukeAvedon2 сағат бұрын
Great sound effects!
@GavinLon2 сағат бұрын
Thank you! :)
@freakloreКүн бұрын
C# is like VISA for programming, it's everywhere you want to be.
@GavinLonКүн бұрын
Great analogy! :)
@BranelocКүн бұрын
When I first tried C#, I thought, this is what programming is supposed to be like. Having tried others before and since, they all feel like they are all from the past, so I see no reason to update the opinion.
@GavinLonКүн бұрын
I believe C# makes it easy to leverage powerful functionality in a simply and straight forward way, using well established programming paradigms :)
@nightmere332 күн бұрын
Hello, I absolutely love your videos-your channel is pure gold! Thank you so much for the valuable content you provide. I have a question: I'm currently in my 3rd year of college as a computer science student, and I'm aspiring to become a software engineer & game developer. I'd love your guidance on the best path to take, especially for creating apps and web apps. I've learned C#, done some game development, and completed the Microsoft certification you recommended. Could you offer some advice on what steps I should take next?
@GavinLon2 күн бұрын
Hi! Sure, it sounds like you are on the right path to achieving your goal. I'm so glad that you have completed the Microsoft certification - that is a great place to start! I would recommend this certification (kzbin.info/www/bejne/bHi0cnhtnrGCnrs) to anyone that wants to learn C# as it provides an aspiring C# developer (including game developers) with a solid foundation. I think the Unity game engine or Godot are excellent game engines to learn, perhaps start with Unity. Start by building basic games and apps, and make your code publicly available on GitHub and make your games or apps publicly available - so that your apps can be used and your games can be played. Be open to feedback from the developer community at large :) Web development (perhaps using Blazor) is great because it is easy to deploy and make your apps available to the public. The biggest piece of advice I can give you is make sure you are enjoying what you are doing - and never get overwhelmed. Maintaining great mental health is extremely important. When you are ready, I would strongly recommend that you get a job in game development or application development - don't be too fussy at first about salary or your position in the company - it is important to get a few years experience and then you'll be in a stronger position to negotiate a better position and salary. I would also look into how you can use AI to increase your overall productivity. AI is going to be a part of our futures whether we like it or not. :)
@nightmere332 күн бұрын
@@GavinLon Thank you so much for your detailed and encouraging response! I really appreciate the guidance, and it’s reassuring to know that I’m on the right path. I’ve actually already completed the certification you mentioned, and it was incredibly helpful in building my foundation in C#. I'll definitely focus on building projects with Unity, and I’ll start sharing my code and projects on GitHub to get feedback from the community. Your advice about enjoying the process and maintaining mental health really resonated with me. I’ll keep that in mind as I continue on this journey. Also, thanks for the tip about AI-I'll make sure to explore how it can boost my productivity. I'm excited to keep learning and to eventually gain the real-world experience you talked about. Your insights mean a lot-thanks again!
@francoislepron23012 күн бұрын
Good comparison.
@GavinLon2 күн бұрын
Thank you! :)
@zealous261Күн бұрын
Did anyone keep pressing 0 loads of times in a row like me?
@junaid97812 күн бұрын
compare C# vs go
@GavinLon2 күн бұрын
Great suggestion! This will happen :)
@eitantal726Күн бұрын
might as well code in python
@GavinLonКүн бұрын
I definitely want to do more videos on Python on this channel :)
@emperorpalpatine6080Күн бұрын
C++ . Anything else is a skill issue
@GavinLonКүн бұрын
In many cases that skill issue may increase costs and prolong development time. :)
@isodoublet14 сағат бұрын
@@GavinLon C# doesn't even have const.
@GavinLon13 сағат бұрын
@@isodoublet Yes it does :)
@isodoublet13 сағат бұрын
@@GavinLon Very much doesn't.
@GavinLon13 сағат бұрын
@isodoublet Okay so the const keyword of course exists in C# but in C++ it can be used in different contexts. C# is designed to be less complex than C++.
@dschledermannКүн бұрын
No, no. Rust 😁
@GavinLonКүн бұрын
A Rust video will have to happen I think :)
@dschledermannКүн бұрын
@@GavinLonit's a very different take on making a descendant to C++ for sure.