Is C# Better than C++?

  Рет қаралды 1,710

Gavin Lon

Gavin Lon

Күн бұрын

Пікірлер: 46
@leonellopez9193
@leonellopez9193 2 күн бұрын
Very informative, subscribing now!!!!
@GavinLon
@GavinLon 2 күн бұрын
Thank you! :)
@kimutaifelix9092
@kimutaifelix9092 2 күн бұрын
My mentor, I am happy to see you.
@GavinLon
@GavinLon 2 күн бұрын
I'm happy to see you too :)
@aytviewer2421
@aytviewer2421 Күн бұрын
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.
@gamereactz
@gamereactz 17 сағат бұрын
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.
@GavinLon
@GavinLon 13 сағат бұрын
That's awesome! Thank you for sharing your story :)
@aytviewer2421
@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
@GavinLon Күн бұрын
That's interesting I'll have to experiment with that a bit. Thanks so much for your comment :)
@randyriegel8553
@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
@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
@Maximus98245 Күн бұрын
The elephant in the room was left out, the one that c# is copied from.
@yogibarista2818
@yogibarista2818 9 сағат бұрын
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
@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
@GavinLon Күн бұрын
Great! Thanks for your comment - automatic memory management and garbage collection is a great luxury that C# developers have. :)
@LengCPP
@LengCPP 2 сағат бұрын
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
@GavinLon
@GavinLon 2 сағат бұрын
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 :)
@LukeAvedon
@LukeAvedon 2 сағат бұрын
Great sound effects!
@GavinLon
@GavinLon 2 сағат бұрын
Thank you! :)
@freaklore
@freaklore Күн бұрын
C# is like VISA for programming, it's everywhere you want to be.
@GavinLon
@GavinLon Күн бұрын
Great analogy! :)
@Braneloc
@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
@GavinLon Күн бұрын
I believe C# makes it easy to leverage powerful functionality in a simply and straight forward way, using well established programming paradigms :)
@nightmere33
@nightmere33 2 күн бұрын
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?
@GavinLon
@GavinLon 2 күн бұрын
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. :)
@nightmere33
@nightmere33 2 күн бұрын
@@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!
@francoislepron2301
@francoislepron2301 2 күн бұрын
Good comparison.
@GavinLon
@GavinLon 2 күн бұрын
Thank you! :)
@zealous261
@zealous261 Күн бұрын
Did anyone keep pressing 0 loads of times in a row like me?
@junaid9781
@junaid9781 2 күн бұрын
compare C# vs go
@GavinLon
@GavinLon 2 күн бұрын
Great suggestion! This will happen :)
@eitantal726
@eitantal726 Күн бұрын
might as well code in python
@GavinLon
@GavinLon Күн бұрын
I definitely want to do more videos on Python on this channel :)
@emperorpalpatine6080
@emperorpalpatine6080 Күн бұрын
C++ . Anything else is a skill issue
@GavinLon
@GavinLon Күн бұрын
In many cases that skill issue may increase costs and prolong development time. :)
@isodoublet
@isodoublet 14 сағат бұрын
@@GavinLon C# doesn't even have const.
@GavinLon
@GavinLon 13 сағат бұрын
@@isodoublet Yes it does :)
@isodoublet
@isodoublet 13 сағат бұрын
@@GavinLon Very much doesn't.
@GavinLon
@GavinLon 13 сағат бұрын
@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
@dschledermann Күн бұрын
No, no. Rust 😁
@GavinLon
@GavinLon Күн бұрын
A Rust video will have to happen I think :)
@dschledermann
@dschledermann Күн бұрын
​@@GavinLonit's a very different take on making a descendant to C++ for sure.
Is C# Better than Java?
18:41
Gavin Lon
Рет қаралды 15 М.
C# vs. C++ Code Comparison
29:20
Gavin Lon
Рет қаралды 161
Dad gives best memory keeper
01:00
Justin Flom
Рет қаралды 25 МЛН
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 62 МЛН
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 235 М.
Is Blazor Better than React?
14:25
Gavin Lon
Рет қаралды 49 М.
Blazor Web App & Web API in REAL project (.NET 8) - Part 1
27:35
Code Overdose
Рет қаралды 5 М.
Java is Declining and C# is Gaining - How Do We know??
11:39
Gavin Lon
Рет қаралды 5 М.
Is C# Better than JavaScript?
17:53
Gavin Lon
Рет қаралды 4,3 М.
How to Become a Highly Employable C# Developer in 2024
17:47
Gavin Lon
Рет қаралды 17 М.
Is Blazor Better than Angular?
15:57
Gavin Lon
Рет қаралды 9 М.
Top 10 Programming Languages to Learn in 2024
20:27
Gavin Lon
Рет қаралды 1,8 М.
Is Blazor Better than Next.js?
13:24
Gavin Lon
Рет қаралды 4,8 М.
Is React Better than Angular?
19:22
Gavin Lon
Рет қаралды 3 М.
Dad gives best memory keeper
01:00
Justin Flom
Рет қаралды 25 МЛН