this post was submitted on 19 Aug 2024
8 points (70.0% liked)

Programming

17418 readers
24 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

What is the CS / uni goto course for this, or what really clicked for you?

you are viewing a single comment's thread
view the rest of the comments
[–] hexbatch@programming.dev 3 points 2 months ago

Most people do not know how to manage thousands of files of code in a project until they do exactly that. It comes with experience.

Many people learn by example, working on existing projects and seeing how it’s done.

Others can learn the hard way by making their own projects, and refactoring as the complexity grows.

It can be helpful to use a framework for your language of choice, that has a way of organizing files and code.

courses and books really don’t help much, except maybe to learn some ideas that some people use.

Once code is organized, there are as many ways to do it as there are people. But all of them seem to fall into broad patterns with none being wrong, except for those that slow down the code in real time systems.

The main secret behind any code organization is that it should not drive other people crazy, and they can learn to work on it too .

People will say that a project should be organized and follow rules. But I have never seen a big project that is more than organized chaos. With a few sketchy rules keeping the entire thing connected with bubble gum and duct tape.

I think a medium sized project with a few hundred files and a few tens of thousands of lines of code can be organized well. After that it gets more chaotic