Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
- Design patterns are allowed and encouraged, but only if you reimplement their functionality with GOTO statements.
-
ruhe9126y- unit testing is good practice. But tests for ClassX must be located in the same file as ClassX
- passwords should be hardcoded to ensure passwords are hard -
Let's infiltrate every big software company and make their code unmaintainable...evil af
-
ruhe9126y@Floydian I'm sorry. If you really want to help out on such topics, why not join a NGO? Such help is always needed
-
ZioCain26676y- semicolons are not mandatory
- spacesarerequiredjusttoseparateexpressionsandifferentinstructions
- code blocks can either be enclosed in "begin...end", "{...}" or "if...fi"
- variable names must be at least 10 chars long and must all start with the name of the project/object + "_var1", same goes for methods and functions
- there's no include/import/using for libraries, they all have to be copies in the same file
- spaces can also be used to separate parameters instead of commas
- array will start from 1 and use () parenthesis
- functions will use [] parenthesis for parameters of just nothing (like assembly) -
ruhe9126y@MrEvilCooki3 it's beautiful!
But one change request: instead of mirroring all parenthesis, those should be used as follows:
( must be closed with >,
[ is closed with },
< with ), and finally
{ with ].
This would even allow for a fourth type of parenthesis -
For version control, only this is allowed: https://devrant.com/rants/1336740/...
-
-
lucaIO12156yIs there any existing code following this out there? Would love to read it.
Also how about a parser converting code to this
Let's invent a new coding paradigm. Its goal is to make code as it naturally really should be: Ugly af
See the current list of rules in the description
Let's invent a new coding paradigm. Its goal is to make code as it naturally really should be: Ugly af<br /> <br /> See the current list of rules in the description