Top "Code-organization" questions

Code organization is the way how code is placed in a project.

Why is each public class in a separate file?

I recently started learning Java and found it very strange that every Java class must be declared in a separate …

java code-organization
Git submodule or sub-repository or remote?

I'm using GIT to manage a Content Management System (CMS) project. The CMS can have multiple plugin (module). So basically, …

git module code-organization project-organization
Android Project: How best to organize the files

I'm building my first android app, and it's gotten a little messy already. I'm using List/detail patterns because they're …

android code-organization
how to organize the code similar to #region/#endregion in .NET?

While the code is growing big it is getting harder and harder to keep everything well organized. One thing I …

java .net code-organization regions
Unit-testing with dependencies between tests

How do you do unit testing when you have some general unit tests more sophisticated tests checking edge cases, depending …

python unit-testing code-organization
Ideal way to organize Java constants

We have a huge projects based on an old jdk 1.4. We have migrated the web app to JDK 1.6 but still …

java coding-style constants code-organization
Folder and file organization for Python development

What is the best way to organize code that belongs to the same project in a Python development environment? What …

python organization code-organization
Should I put many functions into one file? Or, more or less, one function per file?

I love to organize my code, so ideally I want one class per file or, when I have non-member functions, …

c++ build-process compilation code-organization file-organization
Tips on organizing larger Android projects?

My current project is getting awfully large. I have dozens of activities, adapters, fragments, layout xmls, and other resources. In …

android code-organization
How to make my Python unit tests to import the tested modules if they are in sister folders?

I am still getting my head around the import statement. If I have 2 folders in the same level: src test …

python import directory code-organization python-unittest