DEV Community

Discussion on: Folder Structure for Modern Web Applications

Collapse
 
vildavaettern profile image
Dante • Edited

That's actually not true. If you're working on a giant codebase where there's no organization behind folder/directory structuring or assigned naming conventions, it'll prolong your onboarding process a great, great deal.

Being organized with this kind of stuff means being cost-effective and empathetic to your coworkers.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀 • Edited

you have find in files, your folder structure is irrelevant in this context, that is how as somebody who had no-one to onboard me got around and its battle tested, its true in my context certainly not false.
I have also stated that at a small scale, no structure a flat structure is sufficient at a prototyping phase, adding what you need, when you need it. Im sorry if you disagree but from my experience thats what I have seen.

Thread Thread
 
vildavaettern profile image
Dante

I think its absolutely okay and valid approach if it's a personal project. Then the only pain you'll receive there will be one of your own doing.😆 But when working with others I wouldn't advise others to "not get hung up on structure". I think that kind of mindset is a gateway to start writing legacy code that nobody wants to touch in the future because messy/sticky/non-comprehensive.

Thread Thread
 
adam_cyclones profile image
Adam Crockett 🌀

My point is iteration is superior to perfection and organisation that will change countless times in the beginning, why don’t you as an experiment write a todo list in a flat structure with no folders, and then explain where the folders start to be needed, that would be an interesting post no?

Thread Thread
 
vildavaettern profile image
Dante

Not really following your thread there. Anyway - all I know is that if I had to work with someone who had zero care in the matter, I'd be worried about the impact that developer's code would have as far as maintainability goes. But you do you! I'm honestly not here to argue. I just felt it was important to point out another perspective. Hope you have a nice day!

Thread Thread
 
adam_cyclones profile image
Adam Crockett 🌀

I promise there is no argument here I’m also presenting the alternative point of view as well 😊 have a lovely day

Thread Thread
 
vildavaettern profile image
Dante

Absolutely! Which is totally valid as well. Thanks.😊

Thread Thread
 
noruwa profile image
Obaseki Noruwa

I really enjoyed this thread, it is insightful. Learnt alot from you guys perspective.