I Tried C#

Поделиться
HTML-код
  • Опубликовано: 13 май 2022
  • Discord Server: / discord
    Github: github.com/conaticus
    Twitter: / conaticus
    The keyboard you hear in the background: www.google.com/search?q=Corsa...
  • РазвлеченияРазвлечения

Комментарии • 753

  • @freddiebutterfield2424
    @freddiebutterfield2424 2 года назад +853

    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#"

    • @TML233
      @TML233 2 года назад +101

      Java is famous for huge boilerplate code.

    • @Funcijej
      @Funcijej Год назад +59

      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
      @caporaldxl835 Год назад +31

      How? I love both, but C# is so much cleaner than Java.

    • @Dxpress_
      @Dxpress_ Год назад +14

      @@caporaldxl835 That's what they're saying. :^)

    • @caporaldxl835
      @caporaldxl835 Год назад +15

      @@Dxpress_ lol, I reread that sentence three times before I commented and I still misunderstood it xD

  • @IgnoreSolutions
    @IgnoreSolutions 2 года назад +282

    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.

    • @conaticus
      @conaticus  2 года назад +20

      absolutely

    • @razzledev
      @razzledev Год назад +8

      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
      @yonibenzaken Год назад

      @@razzledev same

    • @RealValkor
      @RealValkor 10 месяцев назад +1

      @@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!

    • @TheRealMangoDev
      @TheRealMangoDev 8 месяцев назад

      i like C# and C++ and C and rust

  • @peopleofourtime2523
    @peopleofourtime2523 2 года назад +589

    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.

    • @peopleofourtime2523
      @peopleofourtime2523 2 года назад +60

      @@RallyGuy I’ll pass

    • @GoldenretriverYT
      @GoldenretriverYT 2 года назад +94

      @@RallyGuy its literally the other way, C# is Java but good

    • @idkidk9204
      @idkidk9204 2 года назад +11

      @@RallyGuy 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

    • @jophasl4920
      @jophasl4920 2 года назад +44

      @@idkidk9204 it's fully crossplatform tho?

    • @peopleofourtime2523
      @peopleofourtime2523 2 года назад +40

      @@idkidk9204 it’s fully cross platform.

  • @blackbird1665
    @blackbird1665 2 года назад +661

    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)

    • @askeladden450
      @askeladden450 2 года назад +22

      it's one of the best designed languages out there. A minor gripe of mine is that data oriented design is awkward with it.

    • @unne27
      @unne27 2 года назад +5

      I don't know if it's just me but I've had problems learning it.

    • @blackbird1665
      @blackbird1665 2 года назад +1

      @@unne27 Did you use Visual Studio or just a standalone ide?

    • @sharkpyro93
      @sharkpyro93 2 года назад

      @@unne27 what problem? im curious

    • @TroenderTass
      @TroenderTass 2 года назад +3

      @@askeladden450 Lol. It's java, only for windows. Hf writing java with a slower runtime and a more limited usecase.

  • @CodeDisease
    @CodeDisease 2 года назад +82

    everyone hates C# until they try it and realise it’s really good

    • @roxxel8167
      @roxxel8167 2 года назад +3

      fax

    • @catsgotmytongue
      @catsgotmytongue 2 года назад +4

      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.

    • @xN811x
      @xN811x 2 года назад

      ... until you realize that C#-IDEs are slow as dogshit

    • @nullpointer1755
      @nullpointer1755 2 года назад +1

      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.

    • @engelsteinberg593
      @engelsteinberg593 2 года назад

      OOP is never good.

  • @zaph8015
    @zaph8015 2 года назад +222

    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.

    • @mihailmojsoski4202
      @mihailmojsoski4202 2 года назад +1

      Pointers are also very useful in weird edge cases too.

    • @phitc4242
      @phitc4242 2 года назад +13

      @@mihailmojsoski4202 I C what u mean

    • @KanashimiMusic
      @KanashimiMusic 2 года назад +5

      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-hs5xj1tq3y
      @user-hs5xj1tq3y 2 года назад

      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
      @nerdemcodigo Год назад +2

      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.

  • @TheRythimMan
    @TheRythimMan 11 месяцев назад +16

    As someone who has used Java, C# was like Java but without the pain and suffering.

  • @falkelh
    @falkelh 2 года назад +69

    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!

  • @ethanrushbrook3314
    @ethanrushbrook3314 2 года назад +9

    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!

  • @InfinityFnatic
    @InfinityFnatic 2 года назад +133

    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!

    • @jeffrbake
      @jeffrbake 2 года назад +20

      That's one of the biggest differences, c# is MUCH faster than java.

    • @KarlOlofsson
      @KarlOlofsson Год назад

      Wasn't that only after they made .Net Core open source, just like java used to be? ;)

    • @gamersway960
      @gamersway960 Год назад +4

      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
      @jeffrbake Год назад +3

      @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
      @jeffrbake Год назад +3

      @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.

  • @HominisLupis
    @HominisLupis 2 года назад +7

    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#.

  • @jamesreynolds3167
    @jamesreynolds3167 2 года назад +10

    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

  • @hrantelmayan
    @hrantelmayan 2 года назад +11

    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!

  • @woofcaptain8212
    @woofcaptain8212 2 года назад +5

    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!

  • @KanashimiMusic
    @KanashimiMusic 2 года назад +9

    I always love seeing people getting introduced to C#. It's so great.

  • @Siddy_69
    @Siddy_69 2 года назад +105

    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_69
      @Siddy_69 2 года назад +2

      @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

    • @gokulakannan19
      @gokulakannan19 2 года назад

      Can u tell me that C# book?

    • @Siddy_69
      @Siddy_69 2 года назад +2

      @@gokulakannan19 Programming with C# : A Primer

  • @manofqwerty
    @manofqwerty 2 года назад +7

    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.

  • @miskbalder
    @miskbalder 7 месяцев назад +3

    C# is just lovely, everything is so intuitive and organized

  • @stikosek
    @stikosek 2 года назад +10

    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.

  • @razzledev
    @razzledev Год назад +1

    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.

  • @crashcabinet
    @crashcabinet 2 года назад +8

    Really enjoy C# and would honestly suggest it as a first language while learning basic Comp Sci concepts

  • @DKaldes
    @DKaldes 2 года назад +40

    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.

  • @RayfuzuLearning
    @RayfuzuLearning 2 года назад +1

    Great video, I look forward to seeing more of your content when you return to youtube in June. Good luck with exams.

  • @jonasproton9665
    @jonasproton9665 Год назад +7

    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.

  • @stefanplusplus917
    @stefanplusplus917 2 года назад +5

    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 :)

  • @ReBufff
    @ReBufff Год назад +6

    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

    • @ReBufff
      @ReBufff 7 месяцев назад +5

      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💀

  • @fidgetymouse
    @fidgetymouse 2 года назад +60

    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.

    • @thegrandnil764
      @thegrandnil764 2 года назад +2

      imo it's an aweful copy of a bad language.

    • @fidgetymouse
      @fidgetymouse 2 года назад

      @@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

    • @realtimberstalker
      @realtimberstalker 2 года назад +2

      It wasnt even made to be better. Microsoft just wanted to use Java, but they werent allowed some use of it that I forgot.

    • @pharoah327
      @pharoah327 2 года назад +4

      @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.

    • @TML233
      @TML233 2 года назад

      @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.

  • @crifox16
    @crifox16 2 года назад +5

    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.

    • @mihailmojsoski4202
      @mihailmojsoski4202 2 года назад

      Hey C/C++ are even more flexible (can be as organized too) but kinda "less nice"

  • @adamkrawczyk9261
    @adamkrawczyk9261 Год назад +8

    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

  • @marna_li
    @marna_li 2 года назад +3

    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!

  • @mitkram99
    @mitkram99 9 месяцев назад +2

    C# is the best programming language ever created.

  • @mihailmojsoski4202
    @mihailmojsoski4202 Месяц назад +1

    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[].

  • @Hietakissa
    @Hietakissa 2 года назад +13

    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

    • @KieranDevvs
      @KieranDevvs 2 года назад +1

      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.

    • @Hietakissa
      @Hietakissa 2 года назад +3

      @@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.

    • @KieranDevvs
      @KieranDevvs 2 года назад +1

      @@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.

    • @Hietakissa
      @Hietakissa 2 года назад +1

      @@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

  • @vandaflaisz8176
    @vandaflaisz8176 Год назад +7

    I am using C and C++ in uni, but C# will always remain my favorite one!

  • @tanakamichael-dp1nb
    @tanakamichael-dp1nb 10 месяцев назад +3

    C# cured my Java fatigue, if there's such a thing. Really enjoying learning C#.

  • @catsgotmytongue
    @catsgotmytongue 2 года назад

    This amused me as I have used c# for over ten years professionally. Glad you like it.

  • @VtTraves
    @VtTraves 2 года назад +4

    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.

  • @RedLeGaminBordel
    @RedLeGaminBordel 2 года назад

    Really cool channel nice work mate!

  • @yuriluskov
    @yuriluskov Год назад +3

    C# is the greatest human invention in the multiverse, to the end of time.

  • @ShiloBuff
    @ShiloBuff 2 года назад +9

    Shoutout to anyone that started coding with BASIC, Visual Basic 6, or Delphi. You will all be remembered!

    • @astrahcat1212
      @astrahcat1212 Год назад

      I started with 'DarkBasic', very strange language based on basic for making games.

    • @ShiloBuff
      @ShiloBuff Год назад

      @@astrahcat1212 I remember that language and engine very well! Good times.

  • @anon-fz2bo
    @anon-fz2bo 11 месяцев назад +3

    best language for game dev imo

  • @the_dark_jumper2211
    @the_dark_jumper2211 2 года назад +10

    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.

    • @mihailmojsoski4202
      @mihailmojsoski4202 2 года назад

      My favorite feature would be pointers and fixed size buffers

    • @woofcaptain8212
      @woofcaptain8212 2 года назад

      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_jumper2211
      @the_dark_jumper2211 2 года назад

      @@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)

  • @CRBarchager
    @CRBarchager 2 года назад +11

    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.

    • @puppergump4117
      @puppergump4117 2 года назад

      Everything's relative it seems

    • @astrahcat1212
      @astrahcat1212 Год назад

      He's really good at 'expanding' on things huh 🤔

  • @spiritretro3571
    @spiritretro3571 8 месяцев назад

    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)

  • @theroboman727
    @theroboman727 2 года назад +2

    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.

    • @thisisnotok2100
      @thisisnotok2100 2 года назад

      What project did you make? Sounds cool as h*ck

    • @theroboman727
      @theroboman727 2 года назад +1

      @@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

    • @sharkpyro93
      @sharkpyro93 2 года назад

      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

    • @theroboman727
      @theroboman727 2 года назад

      @@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.

    • @sharkpyro93
      @sharkpyro93 2 года назад +1

      @@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

  • @razzledev
    @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”.

    • @MaximilienNoal
      @MaximilienNoal 4 месяца назад

      Just a note: never use async void. Always return a Task.

  • @honguyenminh
    @honguyenminh 2 года назад

    4:04 you can use the built in json (de) serializer, works without any external library

  • @cocacodes
    @cocacodes 2 года назад +1

    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.

    • @omgcyanide4642
      @omgcyanide4642 2 года назад

      Agreed!

    • @theairaccumulator7144
      @theairaccumulator7144 2 года назад +1

      Quite a bad first language. It teaches you a lot of bad habits that need to be forcefully forgotten to learn anything else.

    • @cocacodes
      @cocacodes 2 года назад

      @@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
      @gerardonavarro3400 Год назад

      ​@@theairaccumulator7144 can i get examples? is there a better alternative for a first learning language?

  • @lephobix
    @lephobix 2 года назад +1

    That's why I've always liked the language! It's so simple and easy to read. :)

  • @redcrafterlppa303
    @redcrafterlppa303 2 года назад +4

    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
      @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

  • @lewismassie
    @lewismassie 2 года назад

    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

  • @ldandco
    @ldandco 2 года назад +5

    20+ years software engineer here
    been using c# as part of my toolset since 2003
    that probably says everything about the language

    • @kleniiii
      @kleniiii 2 года назад +2

      I'm trying to find at least one comment which says C# is bad just as language X. No luck.

  • @kh_trendy
    @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_
      @Dxpress_ Год назад +1

      If I recall correctly, TS was created by one of the C# developers.
      Makes sense. ¯\_(ツ)_/¯

    • @creamyhorror
      @creamyhorror Год назад +2

      Because both Typescript and C# were initially designed by the same person, Anders Hejlsberg, who also designed Turbo Pascal/Delphi.

  • @KanashimiMusic
    @KanashimiMusic 2 года назад +3

    0:02 To be completely fair, TS is waaaay better than JS.

  • @henanasrin9892
    @henanasrin9892 2 года назад +5

    C# is accually very cool if you know how to use it correctly.If you dont however,your feet blows up

    • @henanasrin9892
      @henanasrin9892 2 года назад +2

      Thanks for the like!

    • @bity-bite
      @bity-bite 2 года назад +2

      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)

  • @EBookCo
    @EBookCo 2 года назад +8

    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.

    • @lardosian
      @lardosian 2 года назад

      What kind of work do you do with Rust, just started learning it.

    • @sharkpyro93
      @sharkpyro93 2 года назад

      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

    • @EBookCo
      @EBookCo 2 года назад

      @@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

    • @EBookCo
      @EBookCo 2 года назад +1

      @@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.

    • @sharkpyro93
      @sharkpyro93 2 года назад

      @@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

  • @TheGothGaming
    @TheGothGaming 2 года назад

    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.

  • @Moltenlava
    @Moltenlava 2 года назад +1

    If anyone is looking for books on the language, the C# Yellow Book by Rob Miles, is a great read.

  • @artfol2
    @artfol2 2 года назад

    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

  • @williamsokol0
    @williamsokol0 2 года назад +7

    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
      @MaximilienNoal Год назад +1

      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.

    • @jonathananderson371
      @jonathananderson371 7 месяцев назад

      It's a result of the inevitable dangers exposed by higher privileges. If you want to play those games use C++.

    • @user-rw2jo1fz2p
      @user-rw2jo1fz2p 7 месяцев назад

      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.

  • @fantasypvp
    @fantasypvp 2 года назад +1

    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)

    • @mihailmojsoski4202
      @mihailmojsoski4202 2 года назад +1

      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++)

  • @Idontexistyet
    @Idontexistyet 2 года назад +3

    In about to learn C# Always wanted my own game with it

  • @yolamontalvan9502
    @yolamontalvan9502 Год назад +3

    C# is really a great language. It makes programming a pleasure.

  • @asyongista
    @asyongista Год назад +1

    I did PHP, nodejs to C#. Was trying Go and Rust but I decided to stick to C#

  • @holthuizenoemoet591
    @holthuizenoemoet591 2 года назад +1

    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.

  • @randomly_random_0
    @randomly_random_0 Год назад

    Been a C# dev for 2 years and I love it

  • @justgame5508
    @justgame5508 2 года назад +6

    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

  • @block7059
    @block7059 10 месяцев назад

    Had to learn Java in school, also had a C# gamedesign course, always confused the syntax

  • @NotTheHeroStudios
    @NotTheHeroStudios 10 месяцев назад

    I looked up bro code after this video came up again about 3 - 4 months ago, and god dam he is amazing

  • @bbrrrrrrr
    @bbrrrrrrr 2 года назад

    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

  • @lynqsx
    @lynqsx 2 года назад +6

    Tipp instat of writing Console.Writline, you can write
    cw tab tab
    (I'm not the best in English)

    • @lou6916
      @lou6916 2 года назад +1

      Yes, cw (tap tap) Very useful...

    • @ProtossOP
      @ProtossOP 2 года назад +1

      @@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.

    • @Roxve
      @Roxve 2 года назад +1

      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

    • @Roxve
      @Roxve 2 года назад

      Tipp is tip

    • @Roxve
      @Roxve 2 года назад

      Tip instead of writing Console.WriteLine , You can Write cw then press Tap two times this is the correct comment

  • @bernardus3289
    @bernardus3289 2 года назад

    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.

  • @petko021tv
    @petko021tv Год назад

    You just validated my life.

  • @ever-modern
    @ever-modern Год назад

    Your good grade given to c# makes me feel proud, as if I developed it, however I just use it.

  • @pepper3244
    @pepper3244 2 года назад +6

    im confused as to why python "can't do anything"? Isn't it like the most versatile language there is lmao?

    • @MittensTheHero
      @MittensTheHero 2 года назад +1

      I was quite confused by that line as well, as I was under the impression that you can do whatever with python.

  • @lewisd56
    @lewisd56 2 года назад +1

    C# was the first language i learnt (actually, taught myself), and over the years I have come to love it. The .Net framework (and now .Net Core) provides a brilliant feature set that 'just works' (unlike some languages..... java). The latest versions of the C# language (C# 10) (actually, >c#9) have some really great operators for arrays that let you do ranges and indexing like you would in python (try doing that in java in a single line of code). C# also has the incredibly useful (and incredibly dangerous) 'dynamic' keyword as well as allowing unsafe code, this has been so useful for me when working with generic programming, once again another thing you cant do in C#s main rival, java. I will note however, C# does lack in one area, and that is cross platform UI support, yes there are very powerful frameworks out there, and for 99% of cross platform use cases, they are perfect, UNLESS you need 3D... in which case, just give up, there is no mature, easy to use cross platform way to do 3D views with say, openGL in C#, not yet anyway, i believe .Net MAUI is going to solve this, but for now you have to bodge solutions with skia and other stuff that doesnt work properly. This has been a huge limiting factor for me in a recent project, so much so i just went and learnt the Qt framework, and kind of decided C++ is basically as good as C# if you know what you are doing (and lets you be more 'creative' with your memory management and unsafe code).

    • @woofcaptain8212
      @woofcaptain8212 2 года назад +1

      unity comes to mind for 3d, though that obviously can come with a lot more bloat than you might want in some use cases.

    • @lewisd56
      @lewisd56 2 года назад

      @@woofcaptain8212 yeah, unity is bloated badly , and being a game engine isnt suitable where you need 3D elements embedded in a mainly 2D application.

    • @comradedarpos3198
      @comradedarpos3198 2 года назад

      openTK is an openGL implementation in C# (among openCL and openAL). It is cross platform, and overall extremely great. I would definitely recommend trying it.

    • @petrzurek5713
      @petrzurek5713 Год назад

      Hi Lewis, what about Avalonia UI (and their new XPF) or Uno Platform?

  • @empathetic24671
    @empathetic24671 Год назад +1

    As a .net developer, I find it satisfying that even during these days people are finding their solution in C#

  • @ultrio325
    @ultrio325 Год назад +1

    I started in Lua, Python and js, gonna try C# wish me luck

  • @panos21sonic
    @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

  • @stephenfreel899
    @stephenfreel899 Год назад

    I was forced to learn C in university, its used in Computing I and II, and their labs. I wouldn't have had the willpower to learn C if it weren't to university if we're being honest. But it makes all the other languages so much easier. So I guess I'll give C# a try :)

  • @brett_rose
    @brett_rose 2 месяца назад

    I'm not a full time programmer, but I use C# for anything I need to create. It's fast and has a ton of libraries.

  • @alexandrebamartinez
    @alexandrebamartinez 2 года назад

    Would love to see you try more languages

  • @duddyrosenberg5701
    @duddyrosenberg5701 2 года назад

    Visual studio comes with templates for web apps etc you don’t have to create everything from scratch

  • @AJax2012
    @AJax2012 2 года назад

    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 RUclips didn't like it (they were all very positive, so I'm not sure why, sorry!).

    • @AJax2012
      @AJax2012 2 года назад

      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.

    • @AJax2012
      @AJax2012 2 года назад

      Also, newtonsoft is a great package for working with JSON

    • @gerardonavarro3400
      @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
      @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.

  • @petrulutenco6600
    @petrulutenco6600 2 года назад +1

    C# is amazing

  • @53strat55
    @53strat55 5 месяцев назад

    What is the song name at 2:47. I know I have it on soundcloud but forgot about it, its so good.;p

  • @Slendergo
    @Slendergo 2 года назад +1

    ever since they introduced dynamic syntax I've never found a decent use for it, I tend to avoid using it as much as possible

    • @MaximilienNoal
      @MaximilienNoal 4 месяца назад +1

      Dynamic was introduced for interop with Excel, that's it. Each day you don't use dynamic keeps the doctors away !

    • @Slendergo
      @Slendergo 4 месяца назад +1

      @@MaximilienNoal amen to that

  • @AhmadMohamadSoftware
    @AhmadMohamadSoftware Год назад

    i love c# and i use it since 2018 to build my windows apps :)

  • @iamgruff
    @iamgruff 2 года назад

    Welcome to the club :)

  • @AlbertBalbastreMorte
    @AlbertBalbastreMorte 6 месяцев назад

    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.

  • @reddragon2358
    @reddragon2358 Год назад +1

    Very good decision.

  • @julianusiv
    @julianusiv 2 года назад

    For json you can use the System.Text.Json namespace, that includes a JsonSerializer which you can statically call Serialize() or Deserialize() on

  • @coolbrotherf127
    @coolbrotherf127 Год назад

    I've pretty much only programmed in C++ so maybe I'll have to give C# a try.

  • @holyshit922
    @holyshit922 7 дней назад

    C# is already installed in Windows but only up to .Net Framework 4.8 and C# 5.0 which is outdated
    but is enough at the beginning of learning

  • @astoned
    @astoned 2 года назад +5

    c hashtag will always have a special place in my heart

  • @DevlogBill
    @DevlogBill Год назад

    Say conaticus, could you tell me from your personal experience was it easier to learn C# because you already knew typescript? I am asking because I am 5 months into learning JavaScript and I am interested in learning C#. Would it make more sense to learn typescript first and afterwards learn C#? Or just jump right into C# after I get the hang of JavaScript?

    • @FilipCordas
      @FilipCordas Год назад +1

      I think it's better to learn c# first and then TypeScript. Javascript and TypeScript are bad for learning how types and memory allocation works with c# you can get a better understanding when you learn structs vs classes and even do some unmanaged stuff way better to know all that stuff then. not.

  • @ClumpyWoods
    @ClumpyWoods Год назад

    I’m currently learning C# for A level computer science it’s pretty cool

  • @juasjuasi4750
    @juasjuasi4750 Год назад +3

    Csharp seems like an alright language until you learn it is cross-platform and you can pretty much do any project imaginable (including games)

  • @ssquarkgaming1405
    @ssquarkgaming1405 Год назад +1

    Few things to note. You could have used dotnet 6.0 framework to get a much easier learning curve. As it does not require the whole main function logic, and also simplifies a fair bit of syntax.
    As for handling JSON... Yeah the documentation is weak.. :( it relies on you knowing how to use attributes on properties. When you know that it becomes simple, just stick [JSON object("its name in the JSON file")] above the attribute and it will map to the field or slap [JSON constructor] onto the class constructor of an object to parse JSON if you also need to transform incoming data.

  • @upper_moon1727
    @upper_moon1727 Год назад +1

    Bro Code is the best teacher LOL