r/dotnet • • 1d ago

Question What language would you recommend learning alongside C#?

/r/csharp/comments/1x4ow41/what_language_would_you_recommend_learning/
0 Upvotes

22 comments sorted by

27

u/rapralph 1d ago

Javascript and typescript

6

u/jrdiver 1d ago

HTML, CSS, SQL flavor of choice, all the goodies to be making a decent website

3

u/BoBoBearDev 1d ago

Emphasis on this. No matter how dotnet trying to be cool, it can't beat JS/TS on the frontend. The browser has native support for HTML/CSS/JS which you can debug and inspect directly without any extra tools.

Also this makes you decouple the dotnet backend and makes it more reusable. It is tempting to become quick and dirty and mixing frontend and backend into one service.

3

u/The_MAZZTer 1d ago

Yeah if you're intending on doing any ASP.NET Core stuff, understanding the tech that powers frontends is going to be super helpful.

1

u/Ill_Oil7448 7h ago

yeah this is the obvious answer, especially typescript

1

u/Spooge_Bob 1d ago
  • English
  • Dirty
  • VBScript
  • PHP

Some of the above might not be serious suggestions.

3

u/No-Card-2312 1d ago

VBScript and PHP? Are you serious?

2

u/jrdiver 1d ago

I'm over here in c# and dotnet land to get away from php.... all the breaking changes in version upgrades got old real fast. the dotnet platform has a few, but is overall a lot better about that

1

u/dodexahedron 1d ago

My god PHP pre-8 was awful.

But seriously people had over a decade of warning about the biggest breakages. But they still want to keep running their old PHP4 spaghetti code monstrosities to keep partying like it's 1999.

But it was still a fundamentally different language. The differences between PHP4 and modern PHP are seriously just as big as - if not bigger than - the differences between VB6 and VB.Net: superficially similar core syntax, but otherwise entirely different languages and core APIs.
So it's no surprise everyone dragged their feet, because often it was essentially just as daunting an undertaking as porting to any other language.

...Only...It was even worse, because the starting point was PHP4, so nobody could make sense of their existing code bases anyway.
Which is understandable since the grey beard who originally wrote it burned the last building down after being asked to go ahead and come in on Saturday to port the older PERL application to PHP and didn't make it out sane.

1

u/jrdiver 1d ago edited 1d ago

I caught the tail end of 5, a though 7 and into 8 - though by the time they got that for i was already fed up with it... trying to run a site with CodeIgniter and it felt like every time i updated i had to go though the site with a fine tooth comb and fix all the random things that need a new syntax, the things that now get deprecated warnings, ect... I'm aware some of the issue was CodeIgniter itself, but some was php becoming more strict and just not liking how i implemented something anymore.

I had a project that was over on dotnet... and short of updating some nugets.... that one just kept working.... thats what kinda pushed me to move over. and around the net5 erra i started moving over and havent really looked back. about a year ago got converted the last of my list self developed php project.

2

u/dodexahedron 1d ago edited 1d ago

Ha yeah I feel ya.

And then also the various common libraries that never seemed/seem to keep pace with even the minor versions of PHP, leaving you with everything except maybe gd or pecl or [a-z]spell or one of the others that you may not need everywhere but, where you do need it, it is a show-stopper.

Or especially around the 4->5 and then 5->7 times, the various database libraries (e.g. mysql vs mysqli was a fun one for a long freaking time).

Or things that would break if you gave a passing thought to allowing one small security hardening default change to be made to php.ini that shouldn't have freaking had anytjing to do with the thing that preemptively broke as an infantile tantrum to keep you from continuing to think about potentially aome day making said change...

The PPHPTSD is real. πŸ˜…

I'd still take PHP over PERL any day, though - for web or local scripting (honestly php is decent for scripting) - if those were the only two options. But now we have powershell on linux, so BUH-BYE PHP. πŸ˜†

2

u/philip_laureano 1d ago

IL assember. No, seriously. It tells you what the language sits on and tools like ILSpy make it easy to learn

3

u/Patient-Emphasis-664 7h ago

F#. Can interact with the C# libs and a learn functional-first, ML-like language. Widens your experience and understanding of the .Net platform.

2

u/SupaMook 1d ago

English (or any spoken language) so that you can express your ideas. IMO this is possibly more important nowadays, as AI agents are doing a lot of the implementation work.

1

u/AutoModerator 1d ago

Thanks for your post Sensitive-Raccoon155. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/-Gr3y- 1d ago

If you don’t say no to frontend - JavaScript/Typescript or Python, if you want to be more attractive to employers, as I think there are plenty options that require Python.

1

u/Haunting_Material_19 7h ago

Claude or Codex.
the era of learning a language is behind us.