What is Shit Coding?
Shit coding is just what the name suggests, it's probably the encrypted code which only you can read. Not using comments, weird variable names are some of the techniques to master it.
How to Master the Art of shit coding
---- Don't use Comments
Comments are meant to be avoided, don't use them unless you really have to try continuous writing without any comments and you'll be good.
---- Variable names and useless variables
How do you name your variables?
Like if you had to make a variable that will store user's ID what do you name it? If you name it 'ID' or 'userID' you're doing it wrong! try naming it as varA, a, dik, or something like this.
dik = res.status(404).send("not found bruh!");
Do make useless variables it's important.
---- Kill the Indentation
The most stupid thing that ever existed is indentation, to be honest your code is likely to work even without indentations sometimes, so please stop indenting your code.
---- DIV Volcano (divcano!)
Stop using different HTML tags like
<section>
<nav>
<div>
</div>
</nav>
</section>
DON'T DO THIS!
Try doing this instead...
<div>
<div>
<div>
<div>
<div>
</div>
</div>
</div>
</div>
</div>
Div volcano looks satisfying who cares about readability anyways?
---- Use your native language to write comments (if you have to)
//वाह क्या गांड फाडू कोड लिखा है
<div>
<div class="what">
<div class="da">
<div id="dog">
<div class="doin?">
</div>
</div>
</div>
</div>
</div>
---- Don't show your mistakes <3
try{
//Something that works
} catch{
//Bruh!
}
---- Don't add node_modules to .gitignore
Stop it let people know what modules you're using...
If you do all of these you'll reach new heights, just don't code with me I already dead inside. Hope this guide was helpful. Byeeeee
Top comments (4)
Here's another one for you - you can put comments in your code, just don't bother changing them when you change what is happening...
Lmao XD
We've specific languages for that as well:
This prints "Hello World!"
Shit coding this is when you cant understand your code, what you wrote yesterday