Worth Reading: Why You Should End Your Source Files With a Newline
Pointing to a well-argued dev.to article on why source files should end with a newline, and a short note on why it's worth adopting as a habit.
Browse by term
Pointing to a well-argued dev.to article on why source files should end with a newline, and a short note on why it's worth adopting as a habit.
Why separating production code from testing and experimental code shapes decisions like where integration tests should live in a repository.
Ground rules for deciding what deserves its own Git repository, how to name it, and how to keep experimental code out of the core product.
The two common conventions for ordering C# using directives, how ReSharper, Rider, StyleCop, Visual Studio, and .editorconfig each support them, and the specific settings that control the behavior.
A balanced look at the arguments for and against allowing brace-less single-line if-statements in C#, including the merge-conflict and code-review angles that make this less trivial than it seems.
A concrete folder layout for .NET repositories, from a minimal PoC structure up to a full production dev-tree.
A short map of the file-organization series covering DevTree layout, production vs. non-production code, repository structure, and #region usage.