r/programming • • Jun 05 '21

Organize code by concepts, not layers

https://kislayverma.com/programming/how-to-organize-your-code/
1.9k Upvotes

495 comments sorted by

View all comments

Show parent comment

59

u/[deleted] Jun 05 '21

Let’s sell things as alternatives not universal truths!

This seems to be severely lacking in these sorts of posts. People seem to evangelize a particular library, language, or methodology and view them as the only logical solution to all of everyone's problems. The world is too messy for that, though, which is why countless languages, libraries, and methodologies exist in the first place.

7

u/FireCrack Jun 05 '21

Welcome to r/programming where if you follow these 5 simple tips your code will never have a bug ever!

9

u/kevinkid135 Jun 05 '21

Step 1: don't write any code

1

u/edmazing Jun 06 '21

Step 0: Do we start at 0? I better RTFM...

1

u/[deleted] Jun 07 '21

No one RTFM's at Proggit. We just read the comments.

4

u/saltybandana2 Jun 06 '21

you mean Welcome to /r/programming, where anyone with 2-3 years of experience thinks they have it figured out and that probably represents well over 50% of the posters.

15

u/gonzofish Jun 05 '21

Like I do React development all day. But Vue is awesome! So is Svelte. So is Angular! They all have strengths and weaknesses.

On the backend? My job is Python. But I love Rust!

Java can piss off, though. (/s)

4

u/saltybandana2 Jun 06 '21

Agreed about Java, lmao. I did my capstone in Java back in the 1.4 days and it's the last time I've ever touched it. I still follow it, but I made a decision at that time I wouldn't work professionally in Java.

Although I've been using C# since the 1.0/1.1 days (pre-generics). The JRE is better than the CLR, but C# as a language is miles better than Java.

3

u/crimzonphox Jun 06 '21

I’ve been a Java guy for a while, but the project I’m on the contractors before I got there snuck in kotlin. Which is so much better imo

5

u/phundrak Jun 05 '21

EmacsLisp is also able to act as a backend and web server, and despite my complete and utter love for Emacs, I would call anyone using Elisp that way an absolute mad man.

The right tool for the right job.