I Tried C#

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

КОМЕНТАРІ • 756

  • @freddiebutterfield2424
    @freddiebutterfield2424 2 роки тому +884

    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 роки тому +108

      Java is famous for huge boilerplate code.

    • @Funcijej
      @Funcijej Рік тому +64

      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 Рік тому +33

      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 роки тому +291

    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 Рік тому +12

      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 11 місяців тому +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 9 місяців тому

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

  • @peopleofourtime2523
    @peopleofourtime2523 2 роки тому +595

    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

      @@segsfault I’ll pass

    • @GoldenretriverYT
      @GoldenretriverYT 2 роки тому +95

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

    • @jophasl4920
      @jophasl4920 2 роки тому +45

      @@idkidk9204 it's fully crossplatform tho?

    • @peopleofourtime2523
      @peopleofourtime2523 2 роки тому +41

      @@idkidk9204 it’s fully cross platform.

  • @blackbird1665
    @blackbird1665 2 роки тому +663

    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 роки тому +90

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

    • @roxxel8167
      @roxxel8167 2 роки тому +3

      fax

    • @catsgotmytongue
      @catsgotmytongue 2 роки тому +5

      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 роки тому +2

      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.

  • @zaph8015
    @zaph8015 2 роки тому +223

    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 роки тому +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 Рік тому +21

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

  • @InfinityFnatic
    @InfinityFnatic 2 роки тому +135

    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.

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

  • @Siddy_69
    @Siddy_69 2 роки тому +106

    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

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

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

  • @KanashimiMusic
    @KanashimiMusic 2 роки тому +9

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

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

  • @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 12 днів тому

      rider bugs you to use var in method bodies

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

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

  • @miskbalder
    @miskbalder 8 місяців тому +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.

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

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

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

  • @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 8 місяців тому +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💀

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

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

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

  • @tanakamichael-dp1nb
    @tanakamichael-dp1nb 11 місяців тому +3

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

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

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

  • @anon-fz2bo
    @anon-fz2bo Рік тому +3

    best language for game dev imo

  • @catsgotmytongue
    @catsgotmytongue 2 роки тому

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

  • @yuriluskov
    @yuriluskov 2 роки тому +3

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

  • @vandaflaisz8176
    @vandaflaisz8176 2 роки тому +7

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

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

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

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

  • @mihailmojsoski4202
    @mihailmojsoski4202 2 місяці тому +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[].

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

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

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

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

  • @RedLeGaminBordel
    @RedLeGaminBordel 2 роки тому

    Really cool channel nice work mate!

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

  • @mitkram99
    @mitkram99 10 місяців тому +2

    C# is the best programming language ever created.

  • @lephobix
    @lephobix 2 роки тому +1

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

  • @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 8 місяців тому

      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 8 місяців тому

      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.

  • @yolamontalvan9502
    @yolamontalvan9502 2 роки тому +3

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

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

  • @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 5 місяців тому

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

  • @KanashimiMusic
    @KanashimiMusic 2 роки тому +3

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

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

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

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

  • @empathetic24671
    @empathetic24671 Рік тому +1

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

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

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

  • @ever-modern
    @ever-modern Рік тому

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

  • @petko021tv
    @petko021tv Рік тому

    You just validated my life.

  • @honguyenminh
    @honguyenminh 2 роки тому

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

  • @Tom-jt5yx
    @Tom-jt5yx 2 роки тому

    what program do you use to run the code because i have been learning to code javascript but i dont know where to code it

  • @DevlogBill
    @DevlogBill 2 роки тому

    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.

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

  • @wondays654
    @wondays654 2 роки тому +4

    Quick question, but what do you mean by “python can’t do anything”. I get it is not for performance intensive tasks but this is the first time I have heard someone say python is limited.

    • @meerpirat3418
      @meerpirat3418 2 роки тому +1

      even with the performance intensive tasks i do not fully agree. A good written Code can be faster as bad written C Code*. + you can cheat with Modules like Cython ;)
      In the end to really write good Code you need to understand your Hardware completly and what is happening behinde.
      *obv. a well written C Code will out perform Python heavily

    • @wondays654
      @wondays654 2 роки тому +1

      @@meerpirat3418 yeah I’m just interested in what it is that he believes python can’t do, because as far as I know it can do most things maybe not the best in every scenario but it can do most things decently. So I’m curious.

  • @sachinnair1613
    @sachinnair1613 2 роки тому +1

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

  • @brett_rose
    @brett_rose 3 місяці тому

    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.

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

  • @ultrio325
    @ultrio325 Рік тому +1

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

  • @upper_moon1727
    @upper_moon1727 Рік тому +1

    Bro Code is the best teacher LOL

  • @astoned
    @astoned 2 роки тому +5

    c hashtag will always have a special place in my heart

  • @AhmadMohamadSoftware
    @AhmadMohamadSoftware Рік тому

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

  • @reddragon2358
    @reddragon2358 Рік тому +1

    Very good decision.

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

  • @abrarmasumabir3809
    @abrarmasumabir3809 2 роки тому

    How did you set up vim in visual studio!

  • @kuroexmachina
    @kuroexmachina 2 роки тому

    the big brother of the instant legacy boilerplate code

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

  • @asyongista
    @asyongista Рік тому +1

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

  • @AlbertBalbastreMorte
    @AlbertBalbastreMorte 7 місяців тому

    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.

  • @evan_game_dev
    @evan_game_dev 2 роки тому

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

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

  • @lemonice
    @lemonice 2 роки тому +2

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

  • @ThePigeon358
    @ThePigeon358 2 роки тому

    I learnt c and I don't know if I should switch to c#. Any advice??

  • @NotTheHeroStudios
    @NotTheHeroStudios 11 місяців тому

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

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

  • @ClumpyWoods
    @ClumpyWoods 2 роки тому

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

  • @alexandrebamartinez
    @alexandrebamartinez 2 роки тому

    Would love to see you try more languages

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

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

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

  • @Evercreeper
    @Evercreeper 2 роки тому +1

    win forms c# trying to get mouse position and bounds hurts me

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

  • @sanampakuwal
    @sanampakuwal 6 місяців тому +1

    I primarily code in C# (yes worked on other languages as well) and C# is the sexiest language of all

    • @fusion9258
      @fusion9258 5 місяців тому +1

      I literally only know C# because with what I do I’ve never really needed to learn another language lmao, would be nice to know JavaScript and C++ though

  • @block7059
    @block7059 11 місяців тому

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

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

  • @spiritretro3571
    @spiritretro3571 9 місяців тому

    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)

  • @MoolsDogTwoOfficial
    @MoolsDogTwoOfficial 16 днів тому

    As a C# enjoyer, I’ve been coding in C for a couple of days now for a project I made in C# to understand how stuff works under the hood and yeah… I think we take modern languages for granted. Good language tho.