Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
bagfox34420d„Good code“ is highly opinionated.
TS/C++ is a solid combination, but I’m wondering why not C#?
Otherwise, Python/Go is largely suggested here.
i recommend C# with .net core
100110111171020d@bagfox who suggests Python/Go?
I think it’s an understatement that saying they are largerly suggested here is an overstatement...
That said, what languages to learn wholly depends on where and what kind of applications you are looking to apply your craft, as well as wether you’re looking to learn a language for employability or because you want learning a lang to teach you a lot more than just the lang itself.
frogstair1384420dGo is best in term of formatting thanks to gofmt
I'd go for at least one jvm language, e.g. Kotlin or Scala.
C# is also great for game development with Unity, if that's something for you.
Python is a nice language, too, if you'd ask me, it gives you PEP as guidance for writing your code.
I think Rust is a very interesting language to go for as well.
Last but not least I'd include sth. functional for the completely different mindset/programming paradigm, e.g. Racket or Haskell
Asks how to write good code. Gets language suggestions because the answer would be too opinionated, as if the choice of language isn't more so. 🤦♂️
My answer: make good abstractions that enable you to split functionality into modules where it's clear what the responsibilities are. If you do that well, it's clear what happens where and it's easy to replace and reuse parts of code.
craig939393223620d@electrineer what he says.
I person personally but experimented for some years on my own, listened to seniors at my jobs, listened to differing 'best practice' at different jobs, came to my own conclusions.
Then I read Robert Martin's books, and Eric Evans DDD. It mostly reflected my own opinions gained through much thought and effort, and disagreeing with company seniors. And corrected some of my opinions.
Tldr; my advice is listen to company seniors, but read books from industry seniors as a must.
irene284720dPeople and their C# dotnet core stack evangelism…
I’m riding the Microsoft career train! Toot toot! 🚂🤠
What is going to be useful to you?
- follow the code standard
- set up your tools to enforce it so you don't have to remember
- eat your own dogfood
dark-5520dThank you all, i will try them
rolexpo11520dRust and a functional programming language like Haskell for perspective.
webapp61120dI believe separation of concerns is an important one in code quality, modular reusable code, consistency,... Use a linter to enforce your code style.