OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 12:00 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Code Layouts
PostPosted: Sat Jul 16, 2022 9:25 am 
Offline
User avatar

Joined: Sat Jul 16, 2022 1:00 am
Posts: 3
Location: Colorado, USA
Hi alll,

New poster, but been playing around with hobby OS since early 2000s. As a professional software developer for my 9-5, we often have pretty strict policies about how to organize code by functionality and directory layouts,and I find that bleeding over into my own projects pretty extensively. I'm not complaining because after all, it was developed with the input of a lot of people over many years. I find myself writing my OS stuff organized by functionality in directory structure and even writing assembler in a "modular" fashion. It does make things easier, as you can usually isolate different pieces and get them bullet proof so you only have to worry about the parts that are still being actively developed. I dont have an overly deep directory structure, but most of my source files are only a few hundred lines long at best.

How do you all organize your source for your projects?

_________________
C++ Guru by day, all over the place by night.

Side business: https://www.beneschtech.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group