DEV Community

Cover image for Art of shit coding
Gourav
Gourav

Posted on Edited on

Art of shit coding

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!");
🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026 🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026

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>
🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026 🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026

DON'T DO THIS!
Try doing this instead...

<div>
   <div>
      <div>
         <div>
            <div>
            </div>
         </div>
      </div>
   </div>
</div>
🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026 🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026

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>

🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026 🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026

---- Don't show your mistakes <3

try{
   //Something that works
} catch{
  //Bruh!
}
🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026 🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026

---- 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)

🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026
 
miketalbot profile image
Mike Talbot ⭐ •

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

🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026
 
seek4samurai profile image
Gourav •

Lmao XD

🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026
 
joelbonetr profile image
JoelBonetR 🥇 •

We've specific languages for that as well:

('&%:9]!~}|z2Vxwv-,POqponl$Hjihf|B@@>,=<M:9&7Y#VV2TSn.Oe*c;(I&%$#"mCBA?zxxv*Pb8`qo42mZF.{Iy*@dD'<;_?!\}}|z2VxSSQ
🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026 🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026

This prints "Hello World!"

🔥 Jadwal & Hasil: seeksamurai/art of shit coding fp - Info Live Streaming 2026
 
lestrae profile image
Alex •

Shit coding this is when you cant understand your code, what you wrote yesterday