Discord Server: / discord Github: github.com/conaticus Twitter: / conaticus The keyboard you hear in the background: www.google.com/search?q=Corsa...
Пікірлер: 753
@freddiebutterfield24242 жыл бұрын
Learnt C# in school for about two years, then once I went to University they taught us Java. The entire time I was looking at the syntax for Java and going "This was so much easier in C#"
@TML2332 жыл бұрын
Java is famous for huge boilerplate code.
@Funcijej Жыл бұрын
I had a database integration course that let you choose between Java and C#, I chose C# for every lab and was out of there in a third of the allotted time
@caporaldxl835 Жыл бұрын
How? I love both, but C# is so much cleaner than Java.
@Dxpress_ Жыл бұрын
@@caporaldxl835 That's what they're saying. :^)
@caporaldxl835 Жыл бұрын
@@Dxpress_ lol, I reread that sentence three times before I commented and I still misunderstood it xD
@IgnoreSolutions2 жыл бұрын
I have been a C# developer since 2015ish and I find myself continually coming back to the language. Such a joy to program in, in my opinion.
@conaticus2 жыл бұрын
absolutely
@razzledev Жыл бұрын
Same. I love C#. Only language I’ve enjoyed. JS, HTML, CSS, and Python all are annoying, and C++ syntax is weird to me. C# is so good, even though I only started using it in March of 2022.
@yonibenzaken Жыл бұрын
@@razzledev same
@RealValkor10 ай бұрын
@@razzledev I like the C family honestly, especially C and C#. C# was the language I started with, and C I've been learning in my electronics course. I really enjoy C#, it's fun and very useful for a variety of different programs!
@TheRealMangoDev8 ай бұрын
i like C# and C++ and C and rust
@peopleofourtime25232 жыл бұрын
The C# ecosystem is gargantuan. People wrongly believe it is Microsoft-owned propietary software for Windows only. On the other hand, it is entirely X-Plat and Microsoft engaages its entire OS community and updates the langauge regularly with correct, robust, and very powerful features and frameworks.
@peopleofourtime25232 жыл бұрын
@@segsfault I’ll pass
@GoldenretriverYT2 жыл бұрын
@@segsfault its literally the other way, C# is Java but good
@idkidk92042 жыл бұрын
@@segsfault I would say that it is just like java but with barely any cross platform support, it's basically a windows language as mono is not so great while making a native project imo
@jophasl49202 жыл бұрын
@@idkidk9204 it's fully crossplatform tho?
@peopleofourtime25232 жыл бұрын
@@idkidk9204 it’s fully cross platform.
@blackbird16652 жыл бұрын
I love C# because it is easy, powerful and has a huge ecosystem, meaning you can do everything you want in it. There are even parser libraries (ANTLR being a notable example) and OS Frameworks (I think it’s called Cosmos)
@askeladden4502 жыл бұрын
it's one of the best designed languages out there. A minor gripe of mine is that data oriented design is awkward with it.
@unne272 жыл бұрын
I don't know if it's just me but I've had problems learning it.
@blackbird16652 жыл бұрын
@@unne27 Did you use Visual Studio or just a standalone ide?
@sharkpyro932 жыл бұрын
@@unne27 what problem? im curious
@TroenderTass2 жыл бұрын
@@askeladden450 Lol. It's java, only for windows. Hf writing java with a slower runtime and a more limited usecase.
@CodeDisease2 жыл бұрын
everyone hates C# until they try it and realise it’s really good
@roxxel81672 жыл бұрын
fax
@catsgotmytongue2 жыл бұрын
As someone who has used c# for more than a decade now I'll say it has its pain points and it can be very verbose but it's still my goto as I've used it for so long.
@xN811x2 жыл бұрын
... until you realize that C#-IDEs are slow as dogshit
@nullpointer17552 жыл бұрын
I've tried C# before for making games with Unity, and i didn't liked. I don't hate C#, i just don't like languages like C# or Java that forces you to write OOP code.
@engelsteinberg5932 жыл бұрын
OOP is never good.
@zaph80152 жыл бұрын
I got into programming by making mods for Minecraft back in the day, so going from Java -> C# was relatively painless. As I dug deeper I found so many little things that I loved about C# that I never knew I was missing in Java. Operator overloading, out variables, delegates, and ref keyword are ones that I've found very useful. I'm sure there's tons more buried in the ecosystem that I'm yet to discover but overall I find it fantastic. I'm not a professional in any capacity and so I'm still wrapping my head around lower level programming concepts, which has made learning Rust for instance a pretty long slog. C# to me is that perfect mix of power and ease of use.
@mihailmojsoski42022 жыл бұрын
Pointers are also very useful in weird edge cases too.
@phitc42422 жыл бұрын
@@mihailmojsoski4202 I C what u mean
@KanashimiMusic2 жыл бұрын
This comment is almost exactly how it went for me too. Started with Minecraft Server plugins, then was "forced" to learn C# for school and started absolutely loving it.
@user-hs5xj1tq3y2 жыл бұрын
Time is going forward, your skill and understanding is growing up. Nobody knows what features of other languages you gonna find usefull and easy in future.
@nerdemcodigo Жыл бұрын
Wow amazing guys. I’m learn C# with such an hard thing to understand right now. I some times get frustrated but I’ll keep trying to get it. I’m just a beginner, I’ve learning for almost 1 month.
@TheRythimMan11 ай бұрын
As someone who has used Java, C# was like Java but without the pain and suffering.
@InfinityFnatic2 жыл бұрын
C# Is just much better compared to java. They have done extensive work over the past few years not only making the language itself more expressive, but also making the runtime much faster. I love it!
@jeffrbake2 жыл бұрын
That's one of the biggest differences, c# is MUCH faster than java.
@KarlOlofsson Жыл бұрын
Wasn't that only after they made .Net Core open source, just like java used to be? ;)
@gamersway960 Жыл бұрын
I love both but I got to disagree, Java in my opinion still takes in most cases, It has way more frameworks and libraries and generally bigger community, And the logic of the compiler is way better in inheritance (override, non-modifiers fields, final, interfaces). AND the most important thing THE BEST DOCUMENTATION OF ANY LANGUAGE EVER
@jeffrbake Жыл бұрын
@Ahmed El Ashry if you think java running through the JVM is anywhere close to the same speed as bite compiled code, you should look again. And why so hostile? You sound like a joy to work with.
@jeffrbake Жыл бұрын
@Ahmed El Ashry About 10 years professionally - 18 total. Excluding some corner cases, c# is anywhere from 33% to 300% faster. And I'm basing this off benchmarks that don't include the Performance gains from the past three years. C# has gotten much faster as of late.
@falkelh2 жыл бұрын
I only discovered your channel a couple of days ago but I've really enjoyed binge watching all of your videos! Keep up the good work, mate!
@conaticus2 жыл бұрын
Thank you!
@ethanrushbrook33142 жыл бұрын
I've been gunning at C# for the past 8 years and its my main language. You can into some issues (without realizing) that I thought were very interesting that I havne't seen before and took an approach to some of your code that reminded me of myself back in the day. I had a good laugh watcing this one!
@jamesreynolds31672 жыл бұрын
I nearly passed out when I saw dynamic. If a type is dynamic, the compiler doesn't care what you do to it. So you can write absolute jibberish that means nothing and shouldn't compile, but it will compile anyway. If you are unsure about the type that gets returned, or you don't care for specifically specifying the type, use the var keyword
@KanashimiMusic2 жыл бұрын
I always love seeing people getting introduced to C#. It's so great.
@miskbalder7 ай бұрын
C# is just lovely, everything is so intuitive and organized
@woofcaptain82122 жыл бұрын
I was a long time java dev and the switch to c# for a lot of my projects made me realize how many problems java has that I just lived with. Operator overloads are so amazing!
@hrantelmayan2 жыл бұрын
Yeah C# is really amazing and easy, i learned it as my first language years ago and still use it to this day for most of my projects. You can create projects really easily and quickly its unreal!
@Siddy_692 жыл бұрын
I have just started learning C# about a month or so ago. I just bought the most famous and popularly used book in India and had at it all by myself and now the language might not be the best but there's a very cool to flow to almost everything...almost like bringing back the joy of programming essentially. Kind of the reason why I love python(albeit not very much) as well ( some libraries are really cool however they all still lack something or the other)
@Siddy_692 жыл бұрын
@Robert Downey One of my faculties recommended O' Reilly publications for Python related learning... I used "Learning Python 5th edition"...you can easily get the pdf for the 4th edition online
@gokulakannan192 жыл бұрын
Can u tell me that C# book?
@Siddy_692 жыл бұрын
@@gokulakannan19 Programming with C# : A Primer
@HominisLupis2 жыл бұрын
That opening slide has me cracking up hahahahah. Subbed for that. I'm learning now. We were started off (at bootcamp) with DSA in python, which was cool, but of course we didn't learn all of python - I'm not the code 5 hrs everyday type. Now it's JS which is its own beast. First order functions caught me by surprise. Callback everything, and leaning to try and get comfortable with stuff whose inner working I know very little about - passing req and response to app.get() in express, for example. Have I checked the documentation? Of course not. Loads of work for me to do, and I've been a lazy and thus inept programmer thus far, and perhaps the grass will always be greener, but I'd much rather be learning a "real" language - ie, C# or Java, so C#.
@stikosek2 жыл бұрын
I personally have been using C# for around a year and i love it. You can make a lot with it and it's quite easy.
@DKaldes2 жыл бұрын
I've been using C# as my primary programming language for the past year and is for sure the language I know the most, I love it; I can do everything I want with it and the language keeps getting faster and faster with every new update + I personally find the C# syntax and coding conventions to be the best of all languages.
@manofqwerty2 жыл бұрын
I've just started my first dev job at a company that use C# a lot! I really like the way creating APIs works compared to what I was doing with JS in my own time and I really like Xunit - the C# testing library, but my gripe would be the quirkiness of VS and the build times on large projects.
@razzledev Жыл бұрын
Been learning C# since March of 2022. I love it. It’s so intuitive, powerful, and has great syntax. I’ve tried a few other languages and nothing beats C# for me. My most recent app is where I really got more of the C# syntax and dug deeper into it, and I enjoy programming with it every time.
@crashcabinet2 жыл бұрын
Really enjoy C# and would honestly suggest it as a first language while learning basic Comp Sci concepts
@RayfuzuLearning2 жыл бұрын
Great video, I look forward to seeing more of your content when you return to youtube in June. Good luck with exams.
@fidgetymouse2 жыл бұрын
C# is quite nice. From what I know it was designed to basically be a better version of Java with more extensive frameworks and operated by microsoft.
@thegrandnil7642 жыл бұрын
imo it's an aweful copy of a bad language.
@fidgetymouse2 жыл бұрын
@@thegrandnil764 I personally wouldn't call it an awful copy but it's not my first choice for languages. Also I'm far from a Java fan
@realtimberstalker2 жыл бұрын
It wasnt even made to be better. Microsoft just wanted to use Java, but they werent allowed some use of it that I forgot.
@pharoah3272 жыл бұрын
@Fernando Figueredo agree 100%. It is not a Java clone and was never meant to be. ALL languages borrow from and are influenced by other languages. Literally all of them. But then a language will expand, add it's own features and make it's own path into the development community. I find that the only people saying language X is a clone of language Y are the people who either don't know X or Y or simply don't understand how a language is developed. To say that C# is a clone of Java is to admit you either don't know C# or haven't followed it's development for at least the past 15 years now. Even with C# 2.0 back in '04 (or '05), C# was showing signs of coming into it's own.
@TML2332 жыл бұрын
@Fernando Figueredo Yeah, when c# had generics(and lambda later), java fanboys are arguing whether to copy those from c#. and java's got a fake Object generic, which is totally useless.
@jonasproton9665 Жыл бұрын
My main programming language is C++ but I also have used Java for a few years and always when using C# it feels like heaven. Like fr the languages syntax feels so good everytime I use it I feel like I fluently speak C# if you know what I mean because I have a scope and everything I expect from the language it does exactly like I expect it.
@stefanplusplus9172 жыл бұрын
wow nice timing! i just started using c# a week ago and i made similar experiences. right now i am trying to build a backed for my react app using c#. just a fun project to see how well the language does :)
@kusayfarhan99432 жыл бұрын
C# is a great language for backends. I have yet to find something better.
@SilverFerrum2 жыл бұрын
react.. meh
@thisisntmymainaccount79232 жыл бұрын
@@SilverFerrum blazor team
@adamkrawczyk9261 Жыл бұрын
I remember when I switched from Python to C#, I instantly loved it way more. Then I switched to C++ and honestly, very good decision
@catsgotmytongue2 жыл бұрын
This amused me as I have used c# for over ten years professionally. Glad you like it.
@anon-fz2bo11 ай бұрын
best language for game dev imo
@ReBufff Жыл бұрын
Another thing about C# that made me like it a lot are properties, which are really concise ways of creating variables for objects. It's kind of like a 1 line setter and getter that is very flexible
@ReBufff7 ай бұрын
I just watched this video and was about to comment about properties and then realized i already watched this video and already commented about properties💀
@mitkram999 ай бұрын
C# is the best programming language ever created.
@tanakamichael-dp1nb10 ай бұрын
C# cured my Java fatigue, if there's such a thing. Really enjoying learning C#.
@RedLeGaminBordel2 жыл бұрын
Really cool channel nice work mate!
@crifox162 жыл бұрын
love c#, maybe the fact that it was the first programming language i learned has something to do with that, but nothing i've tried afterwards comes close in terms of flexibility, organization and overall being so nice.
@mihailmojsoski42022 жыл бұрын
Hey C/C++ are even more flexible (can be as organized too) but kinda "less nice"
@vandaflaisz8176 Жыл бұрын
I am using C and C++ in uni, but C# will always remain my favorite one!
@yuriluskov2 жыл бұрын
C# is the greatest human invention in the multiverse, to the end of time.
@mihailmojsoski42022 ай бұрын
For JSON you can use System.Text.Json instead of using a library. Parsing is done using JsonSerializer.Deserialize(" ... json here ... ") and serialization is done using JsonSerializer.Serialize(obj). You need to replace T with a class or a struct that follows the JSON schema (if you define an object make sure you use properties instead of fields with public setters and getters). You can rename properties using the "[JsonPropertyName]" attribute, or pass options as a second argument to Deserialize or Serialize for a different naming convention. If you don't want to define a custom type for objects you can use IDictionary or Dictionary. You can parse arrays as IEnumerable, List or T[].
@Hietakissa2 жыл бұрын
I love C#, it just feels so right. I've been using it on/off for about 2-3 years now, since that's the language the Unity game engine uses. I've fiddled with some Python, but it just didn't feel the same
@KieranDevvs2 жыл бұрын
Not really, unity uses mono / .NET framework which is a separate beast from .NET core / .NET 5+, it might share the same language version up to a point, but that's about it.
@Hietakissa2 жыл бұрын
@@KieranDevvs It's still C#. Unity itself uses C++ under the hood, but the language used for making your player move etc is just C#. Doesn't matter how it's compiled or how the garbage is collected.
@KieranDevvs2 жыл бұрын
@@Hietakissa No really its not... The BCL is what makes people like the language, the BCL wildly differs from framework to core. .NET framework sucks, core is a god send. Just because the language syntactically looks the same, doesn't mean you have the latest C# features and it doesnt mean its the same experience. I mean look at the nuget package references on framework, it's so bad. Maybe you don't know the grass is greener on the other side if you've never used .NET outside of unity.
@Hietakissa2 жыл бұрын
@@KieranDevvs I've made some simple console applications and the experience was the exact same, Unity uses C#8, so it's not missing many features on that front
@ShiloBuff2 жыл бұрын
Shoutout to anyone that started coding with BASIC, Visual Basic 6, or Delphi. You will all be remembered!
@astrahcat1212 Жыл бұрын
I started with 'DarkBasic', very strange language based on basic for making games.
@ShiloBuff Жыл бұрын
@@astrahcat1212 I remember that language and engine very well! Good times.
@marna_li2 жыл бұрын
C# has nullable reference types. There is also a System.Text.Json namespace with the new Json parser and stuff. In the upcoming version of C# working with Json in string literals will be a lot easier!
@VtTraves2 жыл бұрын
Its great working with C#, its a good language, I think for smaller programs a small file structure would be good I guess its implemented in 6.0, but needs better work with JSON files, Command shell, sensors and bluetooth devices.
@lauriethefish24702 жыл бұрын
there are great JSON libraries for C#
@FilipCordas Жыл бұрын
Also CommandDotNet
@lephobix2 жыл бұрын
That's why I've always liked the language! It's so simple and easy to read. :)
@the_dark_jumper22112 жыл бұрын
C# has a lot of powerful features that help it leave a fantastic first impression (like LINQ, null-coalescing/-conditional operator, optional method parameters, 'out'-parameters, object/collection initializers, the 'yield'-keyword, generic type constraints. I unconditionally love all of these) But with great power comes great responsibility. Operator overloading, partial classes and extension methods have very valid uses, but also allow you to craft horrendous nightmares no one should be subjected to. Consequently I have "regressed" back to using Java wherever I can. As they say, from constraints emerges creativity.
@mihailmojsoski42022 жыл бұрын
My favorite feature would be pointers and fixed size buffers
@woofcaptain82122 жыл бұрын
the one feature I miss so much when I go back to java is every variable having a built in getter and setter that you override when needed. I wish I could have all the time I've spent writing .get and .set methods in java back lol
@the_dark_jumper22112 жыл бұрын
@@woofcaptain8212 really? I'm not sure about other IDEs, but in IntelliJ I just do alt+insert -> generate getters/setters -> select fields -> done. Alternatively there is "Project Lombok" which generates getters/setters based on annotations during compilation - which reduces the amount of *visible* boiler-plate code. (I'm not a fan of it personally, but some people clearly are interested in it)
@spiritretro35718 ай бұрын
im a hobbyist c# programmer and msot of the stuff you went through in thsi vid i had no idea about xD as in stuff like header file and what you wanted the console app to do xD understood the actual coding tho (for the most part)
@randomly_random_0 Жыл бұрын
Been a C# dev for 2 years and I love it
@Idontexistyet2 жыл бұрын
In about to learn C# Always wanted my own game with it
@petko021tv Жыл бұрын
You just validated my life.
@ldandco2 жыл бұрын
20+ years software engineer here been using c# as part of my toolset since 2003 that probably says everything about the language
@kleniiii2 жыл бұрын
I'm trying to find at least one comment which says C# is bad just as language X. No luck.
@cocacodes2 жыл бұрын
C# was the first language that made me fall in love with programming. I started 2 years ago and have never stopped using it since! I personally derive a lot of enjoyment through making my code clean and I think the language allows you to do so quite easily.
@omgcyanide46422 жыл бұрын
Agreed!
@theairaccumulator71442 жыл бұрын
Quite a bad first language. It teaches you a lot of bad habits that need to be forcefully forgotten to learn anything else.
@cocacodes2 жыл бұрын
@@theairaccumulator7144 I feel like that is something you could probably say about java/kotlin but yeah I absolutely agree. I cannot handle doing web frontend because of javascript. I don't know if it also goes the other way around though.
@gerardonavarro3400 Жыл бұрын
@@theairaccumulator7144 can i get examples? is there a better alternative for a first learning language?
@henanasrin98922 жыл бұрын
C# is accually very cool if you know how to use it correctly.If you dont however,your feet blows up
@henanasrin98922 жыл бұрын
Thanks for the like!
@bity-bite2 жыл бұрын
I'm not sure what do you mean by the last part. C# is not C++, you can't mess up (Unless if you're writing unsafe code)
@EBookCo2 жыл бұрын
I used to use C# and really quite enjoyed it. In the last few years however I have transitioned towards Rust and I cannot recommend it enough.
@lardosian2 жыл бұрын
What kind of work do you do with Rust, just started learning it.
@sharkpyro932 жыл бұрын
they are really not comparable, ive used rust at work but can't reccomend for any medium-big project, the ecosystem is too young and a lot of things are missing, too bad, i'm waiting for it
@EBookCo2 жыл бұрын
@@sharkpyro93 I agree, they are different in their targets and the Rust eco system is young. I disagree that it isn't good for larger projects as I am currently writing an operating system and a game in it and like I said, loving it
@EBookCo2 жыл бұрын
@@lardosian I am programming an operating system and working on a game in it. I've also written web servers and a DHCP server I use daily.
@sharkpyro932 жыл бұрын
@@EBookCo sure but for anything that you could just use a garbage collected language, you really should use one of that, my last experience was at work i made a very high performant web api and it was a miserable experience, took 2 months, lack of documentation that goes beyond a basic hello world example, immature ecosystem, impossible to find any answer on stackoverflow, don't get me started on db orms...all this made me switch to go and i rewrote the whole thing in 2 weeks (with tests included) with no prior experience in go, and the performance were on par with the rust version, its really not a solution for everything
@NotTheHeroStudios10 ай бұрын
I looked up bro code after this video came up again about 3 - 4 months ago, and god dam he is amazing
@yolamontalvan9502 Жыл бұрын
C# is really a great language. It makes programming a pleasure.
@ever-modern Жыл бұрын
Your good grade given to c# makes me feel proud, as if I developed it, however I just use it.
@theroboman7272 жыл бұрын
I started programming in c#, made some good projects in it (one thats consistently used in a community now) and it was a very good experience. Now though, ive started using rust and im loving it. I dont think im going back to c# in a while. I havent used any other low level languages like C and C++ but it seems like rust is by far the best option in that space now, especially if youre not too used to c++ idioms. Rust even often feels generally easier to use than even though its just zero cost abstractions unlike c# lol. I'd highly recommend trying rust. its been the most loved programming language for many years in a row for a reason.
@thisisnotok21002 жыл бұрын
What project did you make? Sounds cool as h*ck
@theroboman7272 жыл бұрын
@@thisisnotok2100 its for tool assisted speedruns. It automatically generates near perfect inputs for playing a certain game mechanic as fast as possible, with pretty easy setup
@sharkpyro932 жыл бұрын
i've used it at work but it was a miserable experience, we needed a high performant web api, i used actix web and diesel, took 2 months because i was also learning in the process, then switched to go with no prior experience in go and rebuilt the whole thing in 2 weeks with test coverage with similar performance, the ecosystem is immature, most libraries are unmantained for years, or the complete lack of documentation that goes beyond an hello word example, it was so messy and full of boilerplate that made me miss java, and you know its a problem when you miss java you know the shit is real
@theroboman7272 жыл бұрын
@@sharkpyro93 I know rust is more of a commitment, has some unique ideas and isnt good if you dont properly learn it before going into actual projects, but that sounds like the worst honest experience ive ever heard of rust.
@sharkpyro932 жыл бұрын
@@theroboman727 the code itself was just right, just the language itself that requires alot of boilerplate with its crazy syntax at times that is hard to look at, hundreds and hundreds of loc for a stupic jwt middleware, or for example i also don't really understand how a really poor documented library as diesel is considered the "go to" library for db interaction: it lacks async, the documentation is basically nonexistent and not clear, it has obscure errors with like 35 line of the same error in the console stack trace that i solved after hours just by guessing, if you have any problem or need an example for a basic usage like getting nested related structs from a query, good luck, basically zero result on google, and god forbid if you need help with a super niche error case... also the testing is something that the rust community really dislike, every time someone come with testing in a discussion it gets downvoted to the oblivion because "rust does not need testing, its a perfect language with safety" or "not everything needs to be tested", to me this just shows that most rustaceans use rust just for small projects or hobby projects, i was sold in the beginning but after this ijust use it for high performance agents or for one off script
@petrulutenco66002 жыл бұрын
C# is amazing
@CRBarchager2 жыл бұрын
0:14 It's the other way around. It's TypeScript that is a lot like C# as TS is derived from C# and created by the same guy too, Anders Hejlsberg.
@puppergump41172 жыл бұрын
Everything's relative it seems
@astrahcat1212 Жыл бұрын
He's really good at 'expanding' on things huh 🤔
@astoned2 жыл бұрын
c hashtag will always have a special place in my heart
@idkwhatnameishouldputhere30042 жыл бұрын
c sharp*
@astoned2 жыл бұрын
@@idkwhatnameishouldputhere3004 C hashtag* idk what you are talking about
@gbagba812 жыл бұрын
You mean c tic-tac-toe?
@astoned2 жыл бұрын
@@gbagba81 Oh right, yes that is what I meant, sorry for the confusion
@idkwhatnameishouldputhere30042 жыл бұрын
@@gbagba81 c checkmate
@KanashimiMusic2 жыл бұрын
0:02 To be completely fair, TS is waaaay better than JS.
@iamgruff2 жыл бұрын
Welcome to the club :)
@artfol22 жыл бұрын
I remember my first day at my company, also it was my first time using c# and visual studio, the first thing I did was installing vim extension
@justgame55082 жыл бұрын
The way C# introduced async/await and Tasks is also great, it’s such a pleasant and easy experience to get Asynchronous code to work. It’s basically just as easyto write asynchronous code and it is to write synchronous code, which can’t be said for all languages
@kh_trendy Жыл бұрын
I got into C# when I inherited a .NET project. I had experience with TypeScript, and it made it super easy to learn C#. The syntax is really close to TypeScript!
@Dxpress_ Жыл бұрын
If I recall correctly, TS was created by one of the C# developers. Makes sense. ¯\_(ツ)_/¯
@creamyhorror Жыл бұрын
Because both Typescript and C# were initially designed by the same person, Anders Hejlsberg, who also designed Turbo Pascal/Delphi.
@panos21sonic Жыл бұрын
Hahaha i used brocodes tutorial as well and managed to finish my 1st ever project fully, a small game in unity. For the first time i felt competent, thanks brocode
@razzledev Жыл бұрын
About async: Any method can be set to an async method. Any code inside of it that supports the awaiter class can be used. Like the File.CopyAsync method can be inside of a “private async void SomeMethod()” it’s really great when doing file copy operations that may take time, instead of doing it the old finished way with a “Thread.Sleep”.
@MaximilienNoal5 ай бұрын
Just a note: never use async void. Always return a Task.
@TheGothGaming2 жыл бұрын
C# is great! You can do anything from web apps, to mobile apps, to videogames and now even IA. It is being updated regularly and since it is made by one of the biggest software companies in the world you can guarantee it is not going to die anytime soon.
@bbrrrrrrr2 жыл бұрын
I''ve been using c# for 1,5 years now and never done a language before. Now i already got a job in c# so im very thankfull for this language
@kuroexmachina2 жыл бұрын
the big brother of the instant legacy boilerplate code
@AhmadMohamadSoftware Жыл бұрын
i love c# and i use it since 2018 to build my windows apps :)
@reddragon2358 Жыл бұрын
Very good decision.
@upper_moon1727 Жыл бұрын
Bro Code is the best teacher LOL
@honguyenminh2 жыл бұрын
4:04 you can use the built in json (de) serializer, works without any external library
@evan_game_dev2 жыл бұрын
I've tried all the other popular programming languages. C is still my homie
@fantasypvp2 жыл бұрын
you should try rust its a lot of fun :) its got a steep learning curve, but genuinely once you get the hang of it, its really not that hard and has a load of features that make it way easier to bug fix and develop than c++ (even though the concepts are more difficult to begin with)
@mihailmojsoski42022 жыл бұрын
but muh 5 page compiler error messages that contain no useful information but are technically right and muh segmentation fault when i do an "off by one" mistake (honestly fuck C++)
@lewismassie2 жыл бұрын
Really only ever done stuff in JS and Python. Got scared off C# a few years back (OOP scares me apparently) but I might take another look
@williamsokol02 жыл бұрын
One thing I hate about C# is that you cannot deep copy your objects. You end up making functions that copy the individual attributes of your class, or having to get into memory copying which is quite a tangent. It is such an important tool, made me look to other languages for bigger projects.
@MaximilienNoal Жыл бұрын
There's a ton of ways / librairies to solve that problem. Even with the built-in seralizers. But I agree that it is sometimes a pain.
@jonathananderson3718 ай бұрын
It's a result of the inevitable dangers exposed by higher privileges. If you want to play those games use C++.
@user-rw2jo1fz2p7 ай бұрын
it can be done in 3 ways : 1 manual (tedious indeed, but performant) 2 binary serialization (less tedious, less performant) 3 reflection, less work but least performant.
@bernardus32892 жыл бұрын
0:43 Literally me before doing a project due next day
@ultrio325 Жыл бұрын
I started in Lua, Python and js, gonna try C# wish me luck
@pepper32442 жыл бұрын
im confused as to why python "can't do anything"? Isn't it like the most versatile language there is lmao?
@MittensTheHero2 жыл бұрын
I was quite confused by that line as well, as I was under the impression that you can do whatever with python.
@mineland8220 Жыл бұрын
"If you dont know what c# is, imagine java " -Junferno
@block705910 ай бұрын
Had to learn Java in school, also had a C# gamedesign course, always confused the syntax
@ahmaddynugroho Жыл бұрын
c# and f# looks cool
@alexandrebamartinez2 жыл бұрын
Would love to see you try more languages
@Moltenlava2 жыл бұрын
If anyone is looking for books on the language, the C# Yellow Book by Rob Miles, is a great read.
@empathetic24671 Жыл бұрын
As a .net developer, I find it satisfying that even during these days people are finding their solution in C#
@oligreenfield15372 жыл бұрын
Welcome
@ClumpyWoods Жыл бұрын
I’m currently learning C# for A level computer science it’s pretty cool
@lemonice2 жыл бұрын
I like C#. It's probably my most used language ever
@lynqsx2 жыл бұрын
Tipp instat of writing Console.Writline, you can write cw tab tab (I'm not the best in English)
@lou69162 жыл бұрын
Yes, cw (tap tap) Very useful...
@ProtossOP2 жыл бұрын
@@lou6916 not "tap tap" it's "Tab Tab(double Tab, like double mouse click)", cw is a snippet in Visual Studio for Console.WriteLine(), Tab autocompletes your input and double Tab executes snippet. Same thing with ctor, it's a snippet for constructor.
@Roxve2 жыл бұрын
I am not trying to be that guy who correct grammar but I would like to help so "insta" is instead wirt is write English is not my first language too but I always get A+ in English hope I am correct
@Roxve2 жыл бұрын
Tipp is tip
@Roxve2 жыл бұрын
Tip instead of writing Console.WriteLine , You can Write cw then press Tap two times this is the correct comment
@redcrafterlppa3032 жыл бұрын
I find it interesting how you can see the js "accent" in your c# code. When I write c# i probably have a java accent. Ps : don't use dynamic. It's terribly slow. Even slower then python.
@isaacnewton1700 Жыл бұрын
python in and of itself isn't a slow language but it is slowed down significantly by imported packages especially if those aren't installed and you're using a web-based IDE like replit. Also, unlike languages such as C# and C++, python is an INTERPRETIVE language, not a COMPILED language which means its simple, efficient, but slow. im not saying other languages are inefficient though, as python obviously can get the job done just like any other language
@AJax20122 жыл бұрын
C# is my main language and it's awesome to see new people joining the community!! Welcome! I tried sending a couple of helpful hints, but it seems like KZbin didn't like it (they were all very positive, so I'm not sure why, sorry!).
@AJax20122 жыл бұрын
You may enjoy working with the .NET 5 default projects a bit better, especially for smaller projects - they allow you to use global scope, so you can ignore things like namespace and the main class. Obviously, a preference thing.
@AJax20122 жыл бұрын
Also, newtonsoft is a great package for working with JSON
@gerardonavarro3400 Жыл бұрын
hi, i'm completely new to programming but have a project in mind for which i might need to learn C#, do you recommend starting with it or going for an "easier" and more used language like python to get the basics?
@AJax2012 Жыл бұрын
@@gerardonavarro3400 I wouldn't say python is necessarily more "used", it just depends on your use case. If you're looking for a single project, I'd try to research what language is common for the type of project you want to make. C# is a great all-around language though - it does web, desktop, mobile, IoT, gaming, console apps, background aps, cloud-hosted apps, etc., so it really does do most things any other language will do for you. That doesn't necessarily mean it's the best for your scenario though. Would you mind sharing a bit more info about the project? I might be able to nudge you in the right direction.
@holthuizenoemoet5912 жыл бұрын
I like C# a lot, i learned Java at Uni and worked with C# in Unity. However i like to work on website backbend projects and i don't like to use extensive large (microsoft) frameworks, so im not sure if C# can be used for what i want.
@Lou-rt6jw2 жыл бұрын
You can use minimal Api.
@mihailmojsoski42022 жыл бұрын
You can use TcpListener lmao
@fidgetymouse2 жыл бұрын
The centered taskbar. This causes me great pain.
@Roxve2 жыл бұрын
Why everyone in the world like something I like centered taskbar you don't why would you hate????
@fidgetymouse2 жыл бұрын
@@epsi I'm on Windows 11 myself, taskbar can be moved back to it's proper position and most other crappy stuff can be fixed by changing registries or 3rd party software.
@Roxve2 жыл бұрын
@@epsi you could move it to left with the start menu by changing a taskbar settings I think it says taskbar icons location you don't have to write all of this??? Right click on taskbar click taskbar settings and find it it's the first option for me
@Roxve2 жыл бұрын
@@epsi I agree they should had added this before windows launch
@bernardus32892 жыл бұрын
I had to do C# for college but I only had a little bit of js experience. Wasnt that big of a rock to climb but the classes fucked me a little.
@sachinnair16132 жыл бұрын
C# is what feels like Java was always trying to achieve, but cleaner
@AlbertBalbastreMorte7 ай бұрын
I worked with Python, node.JS, java, PHP and have recently switched to Go, partially to flee from OOP. That being said, I may need some goto language for OOP and I was thinking C# and .NET. Python is too lazily typed and slow for my taste, PHP was never meant to be an OOP language, java is just... way too much, and I don't have a strong opinion on node, but it doesn't pay that well on backend. Would the combo of Go + C# make sense? Maybe in the future I'll pick up some low level, such as the C, C++ and then move to Rust.
@asyongista Жыл бұрын
I did PHP, nodejs to C#. Was trying Go and Rust but I decided to stick to C#
@papfff7 ай бұрын
a fellow bro lets GO
@Tom-jt5yx2 жыл бұрын
what program do you use to run the code because i have been learning to code javascript but i dont know where to code it
@coolbrotherf127 Жыл бұрын
I've pretty much only programmed in C++ so maybe I'll have to give C# a try.