🚀 Learn to code with me: codehawke.com/ 📣 Other Social: / realchrishawkes / christopher-hawkes-130... github.com/chawk stackoverflow....
Пікірлер: 179
@bedtimestories10652 жыл бұрын
Any beginner reading this, remember one thing: Nothing is more important than consistency. If you learn C#, Java, Python, C, whatever, any other language will be MUCH easier. The language doesn't matter and isn't the hard part anyways. Being able to actually problem solve is the true skillset of a professional. EDIT: Am I the only one who likes curly braces and semicolons? I know they're useless but I still like them lol
@lowkeygaming47162 жыл бұрын
I don't like curly braces and semicolon. For me they're just additional task for your fingers which can be accomplished by tabs 😅
@watherby292 жыл бұрын
Braces are not useless. At least you can see them. I like them a lot.
@tjgdddfcn2 жыл бұрын
Nah i like curly braces too. Tabs give too much indentation errors
@PlatinumBuckGorilla2 жыл бұрын
Until they come across JavaScript. In a universe of its own.
@bedtimestories10652 жыл бұрын
@@PlatinumBuckGorilla lmao. I use it everyday for my job and it still drives me crazy. And we haven't even mentioned Webpack and the billion other tool sets yet lol
@ThoughT732 жыл бұрын
VERY happy I learned C# before Python. C# force you to consider data-types, OO patterns and just generally organize code better.
@yuriluskov2 жыл бұрын
👍
@guitarman8132 жыл бұрын
Indeed. The same is true if one wanted to learn Java or C++. Those languages along with C# are the best to learn first in my opinion.
@ThoughT732 жыл бұрын
@@guitarman813 Totally agree. I also have some experience teaching Python, and see how easy it is to fall into the habit of procedural style scripting early on. IMO not ideal patterns to teach yourself early in the programming journey.
@petrzurek57132 жыл бұрын
@@guitarman813 Totally agree, without knowing the principles and C/C++/C#, I would have no clue what is going on "behind the scenes" in Python. I consider knowing both a must, in today's world. If I was deciding which to learn first, I'd go with Java/C# and then Python.
@akin2420022 жыл бұрын
The big advantage of explicit data types is clarity for the system to interpret information correctly. I learned that the hard way with Javascript. This is "int" or this is "string" removes any confusion.
@siya.abc1232 жыл бұрын
I use both, C# for work and Python for side projects. Love Python much more but C# is also beautiful
@aboliguu11682 жыл бұрын
Python might be good for starting but after you are at least pretty familiar with C#, you can’t go back. At least for me, the strong typing of C# is very hard to stop when you switch to pyhton. Also I like curly braces :D (I use python for school but C# for own projects)
@crivens5862 жыл бұрын
I started with C, went through multitude of languages from C++ to Rust (C# as well). Currently I'm working with python and I couldn't be happier. Well, maybe, if I could work with golang along with python. I expect properly typed code in my reviews and mypy is a must. It's all about taste. For me, Java is something I just don't want to work with anymore, even though it's the language I've used longest.
@aboliguu11682 жыл бұрын
@@crivens586 yeah, at the end of the day, it’s about taste.
@dixztube2 жыл бұрын
i like curly braces too lol i reject and rebuke ruby and python. a seducer stone and devil serpent
@aboliguu11682 жыл бұрын
@@dixztube haha, true xD
@ZZZ-z9n3n Жыл бұрын
i'm pretty familiar with c,c++ i learn python then c#. if possible ,i don't want to program anymore in python. -1-it's easy(ier) to do crappy code in python -2-programming a windows app is paintfull , like you go back to the 2000s -3-from time to time, python compel you to upgrade your pc ... .. seriously, they take themselves for apple ? -4- the object oriented side of python is crappy -5- everyting outside its core is interpreted so? compare sympy and its equivalent in R python is inapt -5.1 the multithreading is horrible in python -6-pycharm ....i want a fast ide, not a slow cow whot ruin my time -7-there're ton of example , tutorial for python BUT 2/3 are good for the garbage can. half are for 2.7 the rest are not compatible with your feshly upgraded python and virtual env. is NOT a solution python is good for the rest... but why would you want to use it ? IA? CAS? R is way better dev on android or ios? seriously.... web API?admin sys? peraphs. the question is: why do you want to use python?
@stevenluker7932 жыл бұрын
I'm definitely not anti-Python. Just wanted to point out c# could be used for cross-platform. While it can't be used for nice UIs in Linux, C# can do native Mac, iOS and Android apps.
@realchrishawkes2 жыл бұрын
Yeah, I thought I mentioned it was cross platform these days. My fault, if I didn't.
@xtra99962 жыл бұрын
Both languagescan be used for UI cross-platform development.
@PWRR2 жыл бұрын
I thought that too about Linux with C# until I tried Avalonia (XAML based) on Jetbrains Rider with a LXFE desktop. Admittedly there are a few WPF controls that haven't been incorporated (yet) but more than enough works right now.
@s1nistr433 Жыл бұрын
There is a project called Avalonia that lets you write cross platform apps in C#, the only issue is that it's still new and the startup time isn't great, both of which can be fixed over time
@lylewyant33562 жыл бұрын
When you said Python was slower I flashed back to when I first understood compiled and interpreted.
@Zaine7673 Жыл бұрын
personally i think the curly braces help to keep things organised. I've started to learn python now and although there are things i really like about it i find that things just somehow look a lot less organised. I don't know - python seems messy to me where c# just feels and looks so .... clean and elegant.
@muhammadqaisarali11 ай бұрын
U are getting out of your comfort zone
@jmhimara2 жыл бұрын
"One way of doing it" -- famous last words.
@lylewyant33562 жыл бұрын
Maybe not a good idea but I'm studying both right now. Oh, and just started looking at JavaScript too. C#=Unity
@RJ-is9ko2 жыл бұрын
learn basics of python and quickly move onto c# and study c# thoroughly.
@guitarman8132 жыл бұрын
I'd say that either C#, C++ or Java would be best to learn first. Mainly because one can learn the proper fundamentals of programming and also understand the essence of OOP more easily than Python. And especially JavaScript. The latter two languages by all means are still useful. But I think that it's best to learn a statically typed language like the former three to really understand programming.
@purplevincent44542 жыл бұрын
@@RJ-is9ko as ben said, more like c# to js/python. Ideally even c++ before c#
@Ms4521232 жыл бұрын
Python is terrible in my experience if you're a beginner. The language removes too many guardrails and positive handcuffs that come with something like Java or C. Literally learn the basics in something like Java then dive into python. That's what I did and python or JavaScript was a breeze.
@samdavis6492 жыл бұрын
Very similar experience here. Learned C# and then had a go at JS with p5.js because I loved doing mathematical simulations. Now I'm dipping my toes into python as I hope to be taking undergraduate physics next year.
@resresres1 Жыл бұрын
One thing you didn't touch on between Python and C# is distribution. Python absolutely sucks if you want to make an executable and distribute your program compared to C#. Distribution and if you want to make a gaming app are really the only downsides to Python... everything else about python is great though.
@philipanderegg597311 ай бұрын
I would say Python. It's the language I started with and you can get started much faster and easier than C#. Because it's easier, you're more likely to stick with it and once you're comfortable, you expand to a different language
@CharlesBLim2 жыл бұрын
If you want more job opportunities go for Javascript, then Python, as for C# well, it's more like a niche based market so it will take you a lot of time waiting, and oh, just so you know companies who hire c# devs they are not very forgiving they filter the best applicant for the job.
@farmgatebd78582 жыл бұрын
C# is the most durable language you can say ! how ? anybody knows C# well he accidentally knows Java too !! C# and Java share about 70% things like OOP or different Framework and again anybody knows either C# or java well he knows 40% C++, these three are like cousin moving back-forth easy , so when you consider most usage language the sum of these 3 cousin will beat any other language but JavaScript, Python world are conceptually different, like a new world.
@clementdato63282 жыл бұрын
C# feels like a Swift but less functional more oop? Both developed by big corps… I don’t think Python is supposed to be compared with C#. More like to R, MatLab for scientific computing and Perl and Ruby and JS for scripting. C# is more like to be compared with Java Go Kotlin Swift and then maybe C++.
@dontaruffin6592 жыл бұрын
Learn c, c#, and c++ once you know these languages that open you up to learn python very easy. You should also learn scala, exilir, and rust.
@FilipCordas2 жыл бұрын
The problem with that is Python developers don't know how to program that is why they use Python. Every good Python library is just a wrapper for a properly written c library.
@dontaruffin6592 жыл бұрын
@@FilipCordas true indeed brother! The problem is everyone is not in engineering to become a master at there craft. Alot are just coming in for the money but they won't last long without foundational knowledge of these core languages.
@MK-je7kz2 жыл бұрын
This is like "learn first Latin and German, then the rest of western Europe's languages are quite easy"
@FilipCordas2 жыл бұрын
@@dontaruffin659 I didn't really mean it in a bad way, most Python "programmers" come from other fields and usually are little more than power users. They know little about programming because that's not what they do. At most they write a script or two that they don't maintain or use in production.
@VenomRaiders2 жыл бұрын
@@FilipCordas what does this even mean. I code in python those that mean i don't know programming
@browaruspierogus21822 жыл бұрын
Python reminds me an ugly VB that was a bit uplifted. C# is so much nicer to work with
@stayingfitandfocused5 ай бұрын
Just started my journey and doing a bunch of beginner stuff. Python isn't as hard as I thought it was going to be
@eesaaphilips92712 жыл бұрын
In my limited experience, .NET is better if you want a structured backend (think a simplified Java structure). The server-side code I've seen in django tend to be less organized. .NET's EFCore is very capable and preformant when it comes to complex DB operations. LINQ is also impressive. For scripting or ML, as you said, python is much better
@eeronat10 ай бұрын
Why is Python better for ML?
@AndrewErwin732 жыл бұрын
I would not call what Python offers "multiple inheritence" (I question whether you can call what Python does "object oriented", but that is a whole different discussion)... what Python calls multiple inheritence is closer to dependency injection.
@hamm89342 жыл бұрын
Augmented reality is definitely gunna be a c# domain with unity
@darkogelevski22222 жыл бұрын
You forgot. Net Maui, Blazor etc
@SHONNER2 жыл бұрын
If I need C's speed for my Python code, I'll use Cython.
@rajivkurryah6894 Жыл бұрын
I use both and still prefer c# as its more robust
@mytechnotalent2 жыл бұрын
I have not worked with C# much other than some games I wrote for Oculus. It is an impressive language. For myself, just preference, is Python as I guess it is what I use at work so use it elsewhere in many different applications. The key is to write efficient Python as it is slower but it can be powerful.
@FilipCordas2 жыл бұрын
C# is much much better than what you get in Unity. Python is just terrible when you have to do anything bigger than a few files. And if you like the let's put everything in one line of Python try F# it beats Python in every possible way.
@alexp60132 жыл бұрын
@@FilipCordas Python can get you some performances, but you have to be ready to use some trickery. For anyone looking, I recommend Numba or Cython if your project is being written and you don't want to throw away everything that already exists. Writing as much C code in a wrapper is generally a good idea. Python makes for very good APIs, so don't be afraid to the library core in C, C++, Go, or even Java if you are crazy, and just call it from a python wrapper.
@FilipCordas2 жыл бұрын
@@alexp6013 Sure but can you actually give me a good example of Numba or Cython being used. People don't seem to understand that complexity comes from the problem you are solving not a programming language. When ever someone tries to sell you on a easy programming language he just telling you you are just solving ease problems. Proper memory management is hard there is no magic solution if you want to do preforming code you have to think about it. Programming languages have become fashion statements and given more people are programming to solve simple problems so they like Python because it cool AI Ml and other buzzword programming they are doing.
@lowkeygaming47162 жыл бұрын
I code mainly in Python and tried C# too in Unity but I don't see the benefit of mastering it at the moment so I put some of my time on learning JavaScript to compliment my backend skills with a frontend framework.
@bity-bite2 жыл бұрын
Unity's version of C# is just disgusting, you didn't really try C# if you only tried it in Unity.
@eltreum12 жыл бұрын
If you are just exploring and want to get into trying to make almost anything fast that's easy to learn but could turn into a job start with Python. It's useful in other jobs as a tool besides app programming and teaches concepts that make learning other languages easier. Programmers always know a few languages with basic proficiency and specialize in their favored ones. The better question is what kind of applications you want to make and the types of problem solving you will enjoy for a career that fits your talents/passions? You have to enjoy the work to survive the challenges of the job or you will struggle and quit. What you want to create will dictate the best languages to learn as they are just tools optimized for certain jobs/platforms.
@VenomRaiders2 жыл бұрын
best comment i have read in this thread. Some C#, C++, C developers are too salty. Just making it seem like python is one cheap language you could pick in minutes
@Nikolai2i2 жыл бұрын
For games in Python there’s Pygame. It’s not on the level of unity but worth mentioning. About mobile, Microsoft adopted things from Xamarin so you can basically build native apps for iOS and Android with C#. It’s not as good as native apps but Worth mentioning. I think that today flutter is very important platform for mobile because it’s believed to be the basis for fuchsia, the os the may replace android.
@shreehari25892 жыл бұрын
Ursina intensifies
@niksatan Жыл бұрын
Perfect video for me just today! I has the same dilemma!
@snake6982 жыл бұрын
I feel like a total beginner shouldn't start with object-oriented languages if they want to understand how it works behind the screen. You can learn to program, but you should really understand how compilers do stuff and what the hardware does at the end, so I recommend old languages like C or even assembly. Really, an old assembly with few instructions and short length of word does wonders for students to learn how computers work
@realchrishawkes2 жыл бұрын
Both I've recommended for the same reason, on other videos recently.
@FilipCordas2 жыл бұрын
I think they developed c# because they tried to create a Microsoft version of Java Visual J++ but they got sued by Sun and then they just created a different language.
@franciscovilches68392 жыл бұрын
If you're in Australia or New Zealand learn c#
@maxwellsv2 жыл бұрын
Get a job as a junior/easier switch to another language - learn C#. Wanna have fun - Python. Python only in most cases isn't enough to get a job.
@ataru-music7 ай бұрын
Python is a language for children, in fact you learn it in a few days. C# is certainly more complex but gives a lot of satisfaction as a programmer, a strongly typed language that has made a notable evolution in recent years, and this is why many Java developers have switched to C#. If you want to create and maintain big projects without going crazy you have to do it with a typed language. Anders Hejlsberg is the genius who created C# and Typescript.
@realchrishawkes6 ай бұрын
Nah, you can't learn it in a few days. You must be a beginner if you think that.
@Greenbay-bn3yk4 ай бұрын
Unfortunately you have no idea about the scope in Python
@xtra99962 жыл бұрын
One thing that is not mentioned here is that in professional software development you not always want your customers see your code. I know a small tech company who was switching to Go because of this reason.
@haxi522 жыл бұрын
12:30 On your salary comparison, you were comparing a C# dev to a Sr. Python dev.; Sr. C# dev should be making around the same. Also, its not so much "which one should I choose" its more a question of "which one is best for this thing I'm trying to do". The language is a tool.
@fallingintime2 жыл бұрын
C# jobs are typically flooded with small businesses (not quite start ups) that expect c# experience but pay half the typical python and JS Dev . It's quite crazy actually - it probably mostly consists of maintaining legacy software so it's not as exciting
@DerMaikNichJa2 жыл бұрын
I prefer both. But learning C first is a good idea as well. Is there actually a website that lists the proportions of code written since the invention of programmable computer and the (abstract) programming language the code was written in?
@talhaawan43252 жыл бұрын
as a beginner from where i can learn professional c sharp and dotnet core framework? reply please with your personal opinion
@Biker3222 жыл бұрын
Having been a C# developer for a long time and then having to use Python for a project. I found it horrible. The run time errors are incredibly hard to debug and understand, There's a lack of structure, and it reminded me of coding in C many many years ago, when the only person who could understand the code was the person who wrote it.
@multimedia42382 жыл бұрын
A bad author can use any language to produce horrible work, including a programming language. On the other hand, one has to know the language well to create good work out of it.
@mmaranta7852 жыл бұрын
I agree. Python is like a toy
@alexandergarzo94152 жыл бұрын
@@mmaranta785 A powerful toy to build AI and machine learning models used for top companies?
@BathingAfrican2 жыл бұрын
there’s no need for polarized thinking or binary choices like these, you use what you need when you need it. if i need a gui for python i use react even tho I hate javascript. each language just seems like a cog that fits where you need it to atm, same way i won’t each cow shit but it helps plants grow bc the cog fits there and not my stomach
@flybalbu2 жыл бұрын
I started learning c# during summer 2022 but then I had to learn python for school I want to learn both since python can be used for hacking which is something I want to do (to recover my friend’s lost game account) and c# since I want to become a game dev
@ZZZ-z9n3n Жыл бұрын
script newbie? (i don't say script kidie ^^ but now you see what i mean)
@adrianspikes64542 жыл бұрын
C#
@pepperparkffm2 жыл бұрын
Do more questions indicate a larger community or simply larger problems with a language? 😀Same goes for PR I guess ;-)
@Mdroudian2 жыл бұрын
wow visual basic is up there??? I thought that disapeared.
@resresres1 Жыл бұрын
someone at my work uses visual basic extensively (while I use Python).
@sunnymeo79442 жыл бұрын
Team 1: C#,Java, C, C++... vs Team2: Python, Php...
@lemarisaacs74272 жыл бұрын
I will use c#
@nepnep10572 жыл бұрын
while i dislike both of them, i would choose C#, python's syntax is just completely unreadable to me
@moayadmyro20912 жыл бұрын
I do programming in both but the problem of python is that you call it the language of poeple want learn programming from scratch or just looking for job as programmers
@btc_only2 жыл бұрын
What theme are you using?
@realchrishawkes2 жыл бұрын
GitHub theme.
@Summersault6662 жыл бұрын
Python of course
@treehuggerjoe97952 жыл бұрын
great video, thanks
@jorge18692 жыл бұрын
Python is a beast and now more running in the browser with PyScript. Now with PyScript, Python gets into the frontend and mobile apps. A new era is coming.
@realchrishawkes2 жыл бұрын
I love Python. My first love for programming came from it.
@VenomRaiders2 жыл бұрын
@@realchrishawkes hello. Please don't get me wrong. i have been scrolling through the comments and i find you limping on opinions. Is it really important if someone doesn't understand how a compiler works or Knowing assembly. when has some of these been requirements to be called a proper developer or engineer? C#, C++, C Developers are sometimes unnecesarily salty
@Greenbay-bn3yk4 ай бұрын
As the first language, nothing is better thank C. Nothing
@babatona3 ай бұрын
Yeah
@eth67062 жыл бұрын
C# > Python
@op-vw8sd2 жыл бұрын
C#>>>Python
@watherby292 жыл бұрын
C.#.
@Kamelot192 жыл бұрын
saw unreal engine 5 supports python so I am learning that currently
@realchrishawkes2 жыл бұрын
That's awesome. Did they give up on C#? I heard they did a few years ago.
@bedtimestories10652 жыл бұрын
I'd recommend C++ for game dev. I started in game dev using Unity and C#. It took years before I got around to C. If I could go back, I'd start with C. It helps you think of performance and that is very important in game dev. But the most important thing is to choose whatever will keep you coming back. Language choice is useless if you give up.
@sergsergesrgergseg2 жыл бұрын
@@bedtimestories1065 nah the problem is learning C is boring and only nerds who are interested in it can learn it
@bedtimestories10652 жыл бұрын
@@sergsergesrgergseg 😂😂 Programming in general is nerdy my man. I see your point though and I definitely find this stuff way cooler than most people, including other devs I've worked with. With that said, I thought C was boring for years until I was finally able to understand and do something cool. Then it felt like I could do anything lol.
@ihavevoicesinmyhead97292 жыл бұрын
What up Chris??
@op-vw8sd2 жыл бұрын
Python is like a toy and C# is an actual language. They are not at the same level.
@HappyMAN-lv5xu7 ай бұрын
a game which can make AI
@thingyee11182 жыл бұрын
For me it’s node vs c#
@Summersault6662 жыл бұрын
Which makes python winner
@t_ford2 жыл бұрын
If you’re in Virginia, learn C#
@guyonlead2 жыл бұрын
Python over C# any day, except for the days you have to write in Unity. :/ and for the low level stuff C/C++ or maybe a little rust.
@DanielCordeyАй бұрын
You mention a performance difference between these two languages, but you don't provide any number or examples. Also, using C# on Linux seems more than confidential. A huge number of people are using Python on Windows, but I've never heard any one using .NET on Linux.
@illegalsmirf2 жыл бұрын
$75,000 salary straight out of college? Not bad rofl
@liamconverse89502 жыл бұрын
Is Blazor actually any good? Can it really download a C# runtime first without feeling slow?
@realchrishawkes2 жыл бұрын
It was slow on the initial load when I checked years ago now, I need to see what improvements have been made.
@adrianspikes64542 жыл бұрын
Blazor is da lick
@newsgroupsusenet54862 жыл бұрын
C# introduces *Too Many Uncontrolled* features just like TypeScript. C# is verbose (just like Java, not even mention more verbose C++). For greatest pleasure, learn Golang, Elixir or even....Rust. C# is good for games (together with C++)
@alexandermutebi23342 жыл бұрын
Golang is by far the most fun I've had working with a language. C# is only verbose on the surface in my eyes, its nowhere near as bad as C++ or Java even.
@bity-bite2 жыл бұрын
What do you find to be verbose in C#?
@alexandermutebi23342 жыл бұрын
Compared to python for example C# is very verbose, the class definitions and method declarations are much more complex in terms of syntax so I can understand if someone finds it verbose. Personally I think the language is very logical and each step to me is like showing a roadmap of what you're doing so it makes perfect sense to me.
@bity-bite2 жыл бұрын
@@alexandermutebi2334 There's no point in comparing both languages in that. C# tends to be more "verbose" in that because it is OOP focused. C# has more features than Python that makes it look "verbose". For example, you can not really have private methods in a class in Python, you can prefix them with an underscore but yet that does not strictly mean you can not use that method, but in C# you can prefix the method with the private keyword which makes it impossible to call the method outside the its class.
@AndrewErwin732 жыл бұрын
It is interesting that Python has such a reputation in regards to stuff like machine learning... yes, numpy is a great library, but even PHP is better (natively) at dealing with arrays (for example)... Python has lists and can't do much with them until you apply a library like numpy. PHP has a whole suite of array functions that actually make things like neural networks EASIER! Python is cool, don't get me wrong, but it is pretty useless on its own.
@ameer61682 жыл бұрын
Javascript
@realchrishawkes2 жыл бұрын
Probably
@dudebroepicgamer48472 жыл бұрын
Django gang 😎
@alphabasic17592 жыл бұрын
How exactly did Python take a scientific approach to anything. A standard approach is not a scientific approach.
@SHONNER2 жыл бұрын
I hated braces and semicolons 40 years ago. I still do. Python FTW.
@inertia_dagger2 жыл бұрын
Kotlin FTW
@SHONNER2 жыл бұрын
@@inertia_dagger Link, or it never happened.
@babatona3 ай бұрын
@@SHONNERwhat link
@SHONNER3 ай бұрын
@@babatona Woosh!
@Superstar-nl5tl5 ай бұрын
nobody got time for all that
@alan-j2 жыл бұрын
I vote for python ♥️♥️
@coderider30222 жыл бұрын
You just not going to get a job with python.
@illegalsmirf2 жыл бұрын
Neither
@alphabasic17592 жыл бұрын
Support is for support…not blame
@fsaldan1 Жыл бұрын
Easy choice: Julia 😂
@kaivalyashah56342 жыл бұрын
Golang
@alphabasic17592 жыл бұрын
Any language that relies on formatting is jacked up…period. It destroys peoples ability to exploit formatting for coarity
@solidwaterslayer2 жыл бұрын
tldr python is better 🤪
@echoptic7752 жыл бұрын
I dont get this, python and c# arent even used for same things, plus c# is mostly used on windows only and is not a good choice for anything. There are so many better alternatives
@op-vw8sd2 жыл бұрын
Who told you C# is for windows only? Are u living in 2000?
@echoptic7752 жыл бұрын
@@op-vw8sd i said c# is mostly used for windows, didnt say only
@alphabasic17592 жыл бұрын
The issue for C# is that it truly windows only. People use other languages elsewhere
@mjdev-i1p2 жыл бұрын
not true .. with .net core you can run on unix-like systems too
@tasoscat42952 жыл бұрын
@@mjdev-i1p yea and then try and do anything with Azure or MSSQL on 'unix-like systems'
@op-vw8sd2 жыл бұрын
Are u living in 2000? It is .net core era not framework. C# can be used everywhere not just windows