mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-20 12:48:56 +07:00
Fixed the official wiki (#6453)
* Fixed the links in the docs * Fixed broken tables Tables without a line break above are not treated as valid tables * Removed redundant table of contents and formatted some bulleted lists * The image in Regions.md is now properly displayed * Standardized list indentation, line spacing, table header rows, and JSON code blocks * Standardized headers * Fixed remaining broken links, edited pseudo-footnotes
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
# Coding standards
|
||||
|
||||
As an open-source project, there will be a lot of eyes on our code.
|
||||
|
||||
The main purpose of having a coding standard is for the code to be as immediately readable as possible to as many potential contributors, and hence most of it focuses on defaulting to coding structures that exist in other similar languages (Java, C#) when possible.
|
||||
@ -12,4 +14,4 @@ For loops go waaaay back, forEach doesn't. As an added bonus, I'm pretty sure th
|
||||
|
||||
## Avoid premature abstraction
|
||||
|
||||
There's no need to create an interface if there is only one implementation of that interface. Doing so obfuscates the actual code that's running and increases the Time To Relevant Code. If abstraction becomes necessary later, we can always do it later.
|
||||
There's no need to create an interface if there is only one implementation of that interface. Doing so obfuscates the actual code that's running and increases the Time To Relevant Code. If abstraction becomes necessary later, we can always do it later.
|
||||
|
Reference in New Issue
Block a user