Art of shit coding
Gourav Singh Rawat
Posted on December 12, 2021
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
Posted on December 12, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.