I Tried C#

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024
  • Discord Server: / discord
    Github: github.com/con...
    Twitter: / conaticus
    The keyboard you hear in the background: www.google.com...

ความคิดเห็น • 778

  • @freddiebutterfield2424
    @freddiebutterfield2424 2 ปีที่แล้ว +1000

    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 ปีที่แล้ว +120

      Java is famous for huge boilerplate code.

    • @Funcijej
      @Funcijej ปีที่แล้ว +69

      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 ปีที่แล้ว +38

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

    • @Dxpress_
      @Dxpress_ ปีที่แล้ว +15

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

    • @caporaldxl835
      @caporaldxl835 ปีที่แล้ว +18

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

  • @IgnoreSolutions
    @IgnoreSolutions 2 ปีที่แล้ว +333

    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 ปีที่แล้ว +22

      absolutely

    • @razzledev
      @razzledev ปีที่แล้ว +14

      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 ปีที่แล้ว +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 ปีที่แล้ว

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

  • @CodeDisease
    @CodeDisease 2 ปีที่แล้ว +166

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

    • @roxxel8167
      @roxxel8167 2 ปีที่แล้ว +4

      fax

    • @catsgotmytongue
      @catsgotmytongue 2 ปีที่แล้ว +6

      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 ปีที่แล้ว +3

      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 ปีที่แล้ว +2

      OOP is never good.

  • @blackbird1665
    @blackbird1665 2 ปีที่แล้ว +677

    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 ปีที่แล้ว +23

      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.

  • @TheRythimMan
    @TheRythimMan ปีที่แล้ว +39

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

  • @zaph8015
    @zaph8015 2 ปีที่แล้ว +230

    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 ปีที่แล้ว +14

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

    • @МаксимПопов-ю1и
      @МаксимПопов-ю1и 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 ปีที่แล้ว +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.

  • @InfinityFnatic
    @InfinityFnatic 2 ปีที่แล้ว +142

    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 ปีที่แล้ว +1

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

    • @TheHebrewMathematician
      @TheHebrewMathematician ปีที่แล้ว +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.

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

    • @conaticus
      @conaticus  2 ปีที่แล้ว +9

      Thank you!

  • @antibioticaddict
    @antibioticaddict 2 ปีที่แล้ว +615

    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.

    • @antibioticaddict
      @antibioticaddict 2 ปีที่แล้ว +61

      @@segsfault I’ll pass

    • @GoldenretriverYT
      @GoldenretriverYT 2 ปีที่แล้ว +98

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

    • @idkidk9204
      @idkidk9204 2 ปีที่แล้ว +11

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

    • @Jopherss
      @Jopherss 2 ปีที่แล้ว +48

      @@idkidk9204 it's fully crossplatform tho?

    • @antibioticaddict
      @antibioticaddict 2 ปีที่แล้ว +43

      @@idkidk9204 it’s fully cross platform.

  • @KanashimiMusic
    @KanashimiMusic 2 ปีที่แล้ว +12

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

  • @fidgetymouse
    @fidgetymouse 2 ปีที่แล้ว +63

    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.

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

    • @memes_gbc674
      @memes_gbc674 4 หลายเดือนก่อน

      rider bugs you to use var in method bodies

  • @ShiloBuff
    @ShiloBuff 2 ปีที่แล้ว +11

    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.

  • @miskbalder
    @miskbalder ปีที่แล้ว +3

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

  • @jonasproton9665
    @jonasproton9665 ปีที่แล้ว +8

    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.

  • @hrantelmayan
    @hrantelmayan 2 ปีที่แล้ว +12

    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!

  • @CRBarchager
    @CRBarchager 2 ปีที่แล้ว +14

    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 🤔

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

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

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

  • @tanakamichael-dp1nb
    @tanakamichael-dp1nb ปีที่แล้ว +3

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

  • @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 11 หลายเดือนก่อน +6

      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💀

    • @TheNew1234_y
      @TheNew1234_y 3 หลายเดือนก่อน

      Late, but thats kinda funny! Not only that, but C# compiles to common intermedia code, which runs on most today operating systems.​@@ReBufff

  • @KanashimiMusic
    @KanashimiMusic 2 ปีที่แล้ว +4

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

  • @crashcabinet
    @crashcabinet 2 ปีที่แล้ว +8

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

  • @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 ปีที่แล้ว +3

      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)

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

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

    • @kusayfarhan9943
      @kusayfarhan9943 2 ปีที่แล้ว +2

      C# is a great language for backends. I have yet to find something better.

    • @Sife-db
      @Sife-db 2 ปีที่แล้ว

      react.. meh

    • @thisisntmymainaccount7923
      @thisisntmymainaccount7923 2 ปีที่แล้ว

      @@Sife-db blazor team

  • @astoned
    @astoned 2 ปีที่แล้ว +6

    c hashtag will always have a special place in my heart

    • @idkwhatnameishouldputhere3004
      @idkwhatnameishouldputhere3004 2 ปีที่แล้ว

      c sharp*

    • @astoned
      @astoned 2 ปีที่แล้ว +3

      @@idkwhatnameishouldputhere3004 C hashtag* idk what you are talking about

    • @gbagba81
      @gbagba81 2 ปีที่แล้ว +3

      You mean c tic-tac-toe?

    • @astoned
      @astoned 2 ปีที่แล้ว +2

      ​@@gbagba81 Oh right, yes that is what I meant, sorry for the confusion

    • @idkwhatnameishouldputhere3004
      @idkwhatnameishouldputhere3004 2 ปีที่แล้ว +1

      @@gbagba81 c checkmate

  • @mitkram99
    @mitkram99 ปีที่แล้ว +2

    C# is the best programming language ever created.

  • @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 2 ปีที่แล้ว +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 ปีที่แล้ว

      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 ปีที่แล้ว

      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.

  • @vandaflaisz8176
    @vandaflaisz8176 2 ปีที่แล้ว +7

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

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

  • @Thomas-dp8eb
    @Thomas-dp8eb 5 วันที่ผ่านมา +1

    The only downside of c# is the part where you sell your soul to Microsoft

  • @empathetic24671
    @empathetic24671 ปีที่แล้ว +1

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

  • @reddragon2358
    @reddragon2358 ปีที่แล้ว +1

    Very good decision.

  • @5cover
    @5cover หลายเดือนก่อน

    I like C#. Made an app with it, and a few projects and libraries. It's quite easy and intuitive, while still having many features and decent performance. And it gets better and better with each new version.

    • @GuizinPE81
      @GuizinPE81 27 วันที่ผ่านมา

      another ksp fan

  • @S.E.Italian
    @S.E.Italian 19 วันที่ผ่านมา

    2:03 "Code goes brrr" got me

  • @Siddy_69
    @Siddy_69 2 ปีที่แล้ว +107

    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

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

  • @sachinnair1613
    @sachinnair1613 2 ปีที่แล้ว +1

    C# is what feels like Java was always trying to achieve, but cleaner

  • @devplusplus-59
    @devplusplus-59 3 หลายเดือนก่อน

    I liked this video because you mentioned my favorite teacher "Bro Code"❤

  • @ultrio325
    @ultrio325 ปีที่แล้ว +1

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

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

  • @fidgetymouse
    @fidgetymouse 2 ปีที่แล้ว +2

    The centered taskbar. This causes me great pain.

    • @Roxve
      @Roxve 2 ปีที่แล้ว +1

      Why everyone in the world like something I like centered taskbar you don't why would you hate????

    • @fidgetymouse
      @fidgetymouse 2 ปีที่แล้ว

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

    • @Roxve
      @Roxve 2 ปีที่แล้ว

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

    • @Roxve
      @Roxve 2 ปีที่แล้ว

      @@epsi I agree they should had added this before windows launch

  • @BorderKeeper
    @BorderKeeper 2 หลายเดือนก่อน

    "I don't really know how async works"
    After more discussions than I can count on my hand about async/await in my 10 years of C# professional programming experience neither do I man. Neither do I.

  • @mineland8220
    @mineland8220 ปีที่แล้ว +1

    "If you dont know what c# is, imagine java "
    -Junferno

  • @keepercool98
    @keepercool98 2 ปีที่แล้ว +5

    Python - can’t do shit
    *Proceeds to demonstrate C# with a program that takes 20 lines in python at most*

    • @ayman4318
      @ayman4318 2 ปีที่แล้ว

      He is kidding,, remember that never take people too serious whether online or on real life ,, listen to opinions then shift delete

    • @keepercool98
      @keepercool98 2 ปีที่แล้ว

      @@ayman4318 I’m kidding too. You could do this with 10 lines of python.

    • @dragonstar373
      @dragonstar373 2 ปีที่แล้ว

      Feel like everyone here(including me)is missing the point

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

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

  • @samuelgunter
    @samuelgunter ปีที่แล้ว +2

    PascalCase for functions is really weird

  • @lemonice
    @lemonice 2 ปีที่แล้ว +2

    I like C#. It's probably my most used language ever

  • @fiskebent
    @fiskebent 2 ปีที่แล้ว +1

    If you come from TS the similarities aren’t that surprising, since both languages are designed by the same person. Anders Hejlsberg at Microsoft.

  • @lephobix
    @lephobix 2 ปีที่แล้ว +1

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

  • @Idontexistyet
    @Idontexistyet 2 ปีที่แล้ว +3

    I'm about to learn C# Always wanted my own game with it

  • @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 2 ปีที่แล้ว

      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

  • @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 9 หลายเดือนก่อน

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

  • @deotexh
    @deotexh ปีที่แล้ว

    I think Brocode teaching is *TOP TIER*

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

  • @neunmalelf
    @neunmalelf 9 หลายเดือนก่อน

    Comparing C# to TypeScript is akin to comparing a skateboard to a minivan simply because "both have wheels."

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

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

  • @raianmr2843
    @raianmr2843 2 ปีที่แล้ว +10

    I too found C# to make more sense compared to the languages you quit. But for me, it's still too Java-ish, and not in a semantical sense necessarily. C# is far, far better-designed and incredibly productive compared to Java (and C++ too to great extent). But it still has the Java-influence of forcing 'class-oriented' programming everywhere which I find extremely distracting and verbose. I come from C++ and Python and my preference is mostly procedural code with some OOP and some functional here and there. C# doesn't deliver that sort of programming experience yet (but it's getting there).
    I'm learning Go right now and it seems like what this language and its tooling has to offer is exactly what I ever wanted. I think you should give it a *go* and see if it grows on you. That said, I do miss some decent C# features like switch expressions and 'better' error handling but tbh Go is probably going to get these at some point. Another recommendation I have for you is Dart. You seem to enjoy making apps with GUIs and Flutter is an absolute blast for that kind of workload. Dart is basically a C# and JS (the good parts) -inspired sanitized Java and people seem to really like the recent updates.

    • @patfre
      @patfre 2 ปีที่แล้ว +1

      It doesn’t actually force it since there’s build-in functions for running C also you can run stuff like hlsl which is also functional but I do understand what you mean but I will just say it is a bit wrong to say it forces it. Also for a lot of cases OOP is more useful than functional programming.

    • @KieranDevvs
      @KieranDevvs 2 ปีที่แล้ว +6

      C# will always be OOP. The minimal API's released in the later versions of .NET are just syntactic sugar for the compiler. It still has a main method, namespaces and a starting class. That's just the nature of a language that has a type system. And it's not a bad thing.

    • @raianmr2843
      @raianmr2843 2 ปีที่แล้ว +3

      @@KieranDevvs Yeah, I understand what you mean. .NET is fundamentally OO, down to implementation level. But there are many instances where the designers of C# picked non-oop solutions over oop ones. You only have to look at other OOP languages to notice this. Java is a good example. Java takes OOP to such extremes that it doesn't even have real generics. Lack of default arguments is another example of just how draconian a language can get. There are many such cases of oop gone wrong that the C# world is free from, and these solutions are rarely just syntactic sugar.

    • @raianmr2843
      @raianmr2843 2 ปีที่แล้ว +4

      ​@@patfre Yeah, I was exaggerating a bit there, using words like 'forcing' and 'everywhere'. I don't really think C# 'forces' anything of that sort. In languages like Go, you get compilation errors just for indentation. C# is a very open language in that regard. And the good people at Unity have already demonstrated how C# is also capable of data-oriented design. Programming in that style is completely impossible in head-to-toe OOP languages like Java.
      I guess my beef with C# probably just has to do with my history with C++. C++ classes and namespaces are different compared to their C# counterparts, to say the least. C# classes have a very namespace-y vibe to them, going as far to ban the real namespaces from having top-level functions and so on. For a dum-dum like me, this complicates things. At one point I'm contemplating what I should name the static class I just made whose only purpose is to hold some extension methods, and at some other time I'm confused as to why I have to process the extra mental overload of making and managing a new class when I should be able to define my super-generic non-method non-local functions just as they are.
      But don't get me wrong; I appreciate C#'s contributions to programming language design and use it just like any other language that I like. It's just not my main cup of tea, that's all.

    • @woofcaptain8212
      @woofcaptain8212 2 ปีที่แล้ว +2

      I understand why some people might not like this but me personally I use polymorphism, interfaces, and abstract classes so often that I don't know how one would write extensible, refactorable code without everything being OOP. I should prolly try some other paradigms some time tbh

  • @S.E.Italian
    @S.E.Italian 19 วันที่ผ่านมา

    How did you discover Coding? and what is you favourite Programming Language? Btw Keep goin, ur awesome!

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

  • @evan_game_dev
    @evan_game_dev 2 ปีที่แล้ว

    I've tried all the other popular programming languages. C is still my homie

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

  • @petrulutenco6600
    @petrulutenco6600 2 ปีที่แล้ว +1

    C# is amazing

  • @user-dh8oi2mk4f
    @user-dh8oi2mk4f 2 ปีที่แล้ว

    "People build applications. We build applications that let people build applications"

  • @konstantinoskinnas789
    @konstantinoskinnas789 2 หลายเดือนก่อน

    Having a class inside an interface is criminal behaviour 😂.

  • @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 TH-cam 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.

  • @ahaf1605
    @ahaf1605 2 ปีที่แล้ว +1

    Using C# all the way till now. Once Java programmer said it will take 2 weeks to get same functionality of 2 days C# written page/ menu, so, why should I change? Hehe. Psssttt I am just lazy to learn honestly.

  • @_dyats
    @_dyats 2 ปีที่แล้ว +1

    The only one disadvantage. You have to write tooooo much words
    public async Task SuperDuperMethodLongestNameInTheWorld(billion parameters)

    • @_dyats
      @_dyats 2 ปีที่แล้ว

      And you can't write code without classes which is also takes lines of code

    • @rikk0011
      @rikk0011 2 ปีที่แล้ว

      Except not, u don't have to use such names if u don't want to, it's up to your team to make proper architecture using comfy naming conventions. I literally never been using such long names and I'm working on projects with millions of lines of code.

    • @_dyats
      @_dyats 2 ปีที่แล้ว

      @@rikk0011 I'm talking about too much keywords, at least it could be easier if you don't have to write public every time

    • @rikk0011
      @rikk0011 2 ปีที่แล้ว

      @@_dyats oh okay, then I didn't understand u correctly. Yes, you are right, there are quite a lot of keywords compared with some other languages, but in my own experience and opinion, there is no more than what we need and an IDE writes most of them for me.
      Just for the example u gave,
      visibility (optional) quite important,
      async (optional) yea could be some heuristic to determine it but yea,
      Task - return type I definitely want to have it there,
      name of method - no comment,
      parameters - who ever said u got to have billion of them, there are only as many as u put.

    • @_dyats
      @_dyats 2 ปีที่แล้ว

      @@rikk0011 regarding Task name parameters you are right, but everything that goes before, can be annoying

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

  • @ever-modern
    @ever-modern ปีที่แล้ว

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

  • @Maric18
    @Maric18 2 ปีที่แล้ว +2

    the js script hate i understand, and i even ge hate for python for being easy to write bad code in ... but "can't do anything"? is there a video about that?
    because it has a bunch of libraries and i generally consider it the a tool if i want to get any job done fast if only the initial coding time matters - not the runtime nor the refactoring time

    • @MH_VOID
      @MH_VOID 2 ปีที่แล้ว

      The javascript script?

  • @NotTheHeroStudios
    @NotTheHeroStudios ปีที่แล้ว

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

  • @oligreenfield1537
    @oligreenfield1537 2 ปีที่แล้ว

    Welcome

  • @lufenmartofilia5804
    @lufenmartofilia5804 8 หลายเดือนก่อน

    I prefer C# as a language, but I prefer so much the java ecosystem and code conventions

  • @CyborusYT
    @CyborusYT 2 ปีที่แล้ว

    *starts chanting "Rust"*

  • @kuroexmachina
    @kuroexmachina 2 ปีที่แล้ว

    the big brother of the instant legacy boilerplate code

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

  • @MrAbrazildo
    @MrAbrazildo 2 ปีที่แล้ว

    1:39, C++:
    #include
    #include
    using namespace std;
    auto ShowOptionsMenu (const char *msg, const vector &options)
    {
    cout optionIdx;
    return optionIdx; //Faster and more flexible to return just the index.
    }

  • @bernardus3289
    @bernardus3289 2 ปีที่แล้ว

    0:43 Literally me before doing a project due next day

  • @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 9 หลายเดือนก่อน +1

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

    • @Slendergo
      @Slendergo 9 หลายเดือนก่อน +1

      @@MaximilienNoal amen to that

  • @53strat55
    @53strat55 10 หลายเดือนก่อน

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

  • @iMagicGraalOnline
    @iMagicGraalOnline 2 ปีที่แล้ว

    *Calls JS Shit*
    *JS Devs all over the globe:*
    So you have chosen death

  • @omerakgoz34
    @omerakgoz34 2 ปีที่แล้ว

    TRY GO

  • @ThisAintMyGithub
    @ThisAintMyGithub 2 ปีที่แล้ว +1

    C# is Java but for the modern development world.

  • @ahmaddynugroho
    @ahmaddynugroho 2 ปีที่แล้ว

    c# and f# looks cool

  • @coolbrotherf127
    @coolbrotherf127 ปีที่แล้ว

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

  • @GameDevMadeEasy
    @GameDevMadeEasy 6 หลายเดือนก่อน

    NewtonSoft JSON has basically become the standard for JSON manipulation and reading with C#. Everything else is just crap.

  • @papalongsvideos3046
    @papalongsvideos3046 4 หลายเดือนก่อน

    If you feeling hard to learn C#, learn first VBA, they are both OOP and in the same ecosystem which is .net.. Once you get the context of OOP from VBA, learning C# is much easier...

  • @papfff
    @papfff 11 หลายเดือนก่อน

    a fellow bro lets GO

  • @lx2222x
    @lx2222x 2 ปีที่แล้ว +2

    And I am telling everyone how good C# actually is but they don't listen to me

  • @naimurX
    @naimurX 5 หลายเดือนก่อน

    i love c#

  • @1tsjamess
    @1tsjamess 2 ปีที่แล้ว +3

    Nice video 👍
    I forgot something! I like C#

  • @AhmadMohamadSoftware
    @AhmadMohamadSoftware ปีที่แล้ว

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