this post was submitted on 20 Jul 2023
168 points (93.8% liked)

Fediverse

28561 readers
634 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
 

Across this vast Fediverse, I have encountered a trend of people answering questions with esoteric programming language speaking in tongues that I don't understand, including under my own posts. I am a Boomer when it comes to coding and I am only 27. I don't even know where I would start to learn it because programming is so diverse. I want to feel like I know what's going on but I don't. Coding is the future and the future is now and I am lagging severely behind. I guess I'm asking where a bumbling novice like me can learn more about where to start when it comes to programming.

you are viewing a single comment's thread
view the rest of the comments
[–] voidf1sh@lemm.ee 9 points 1 year ago (7 children)

Is C# really that nice to work in? I'm looking to expand my horizons past JS now that I feel fairly comfortable with one language.

[–] CIA_chatbot@lemmy.world 12 points 1 year ago* (last edited 1 year ago)

It’s a genuinely nice language with tons of syntactic sugar. It’s fast, flexible and runs everywhere. Honestly my favorite language.

Other nice things about it is you can write object oriented code as well as functional style with it, so it even handles the style of code you prefer which is a lot harder to do with other languages. Finally it’s open source but also has deep pockets behind it so the language is constantly being pushed forward.

[–] ale@lemmy.world 5 points 1 year ago (1 children)

Yes, it's nice and worth learning, especially if you try at both highly abstracted code and performance sensitive projects. Don't get stuck thinking in c# though. Its brand of strict oop seems to be getting less popular these days.

[–] CIA_chatbot@lemmy.world 1 points 1 year ago

You can write fully functional code in C#! I pretty much made the switch over and it works great

[–] KRAW@linux.community 4 points 1 year ago* (last edited 1 year ago)

I always prescribe learning Python over basically any other language (unless you're gonna start doing some real low-level computing). It's a much more relevant and popular language. C# isn't irrelevant, you'll just see Python used way more often. Python will also compliment JS much more.

[–] loutr@sh.itjust.works 3 points 1 year ago

I'd go with Kotlin. It's a really nice language, easy to learn if you already know JS (or even better, TS), and with KMM and Compose Multiplatform you can write apps which run natively on smartphones, browsers and PC/Mac.

[–] rambaroo@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

It's basically a cleaner, more concise version of java. It's a good choice to study if you want to learn something very different from JS but with some familiar syntax. These days you can also run C# anywhere, so it's very useful for app development.

If you learn C# you'll be able to learn java very quickly as well.

[–] TitanLaGrange@lemmy.world 3 points 1 year ago

C# is my primary language, so I'd certainly recommend it. It can be a little daunting to get into because it is a large ecosystem of tools, so you might want to watch some videos and keep things simple for a while.

For work I mostly use it for APIs for web sites, that might be a good place to start if you're familiar with JS/TS front-end work. From there you might want to try Razor or Blazor for handling web UI work in C#. I'm not very experienced with that aspect of it, but it's mostly been a positive experience (TBH I kind of prefer React, but I'd need to spend more time on the Razor/Blazor side to have a strong opinion).

The desktop development side in C# is kind of a mess at the moment. Maybe stick with web until you're feeling pretty comfortable with the language.

[–] Mr_Buscemi@lemmy.blahaj.zone 3 points 1 year ago

I absolutely loved learning C# a few years ago. I haven't touched programming since my last C# class and I'm probably going to relearn it later this week.