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:
청하늘
2022-03-31 08:47:58 +01:00
committed by GitHub
parent 133e3f72f9
commit 279178f103
24 changed files with 1541 additions and 1495 deletions

View File

@ -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.