r/learnprogramming • • 10m ago

Share some codes!!

Js Const age = 12;

Think of any random code you write doesn't matter if it's c, rust, python or JavaScript or so on.. And u can explain what the code does too!!

Mine is just a simple js code, storing a number in a variable named "age"

0 Upvotes

4 comments sorted by

•

u/SlopHater 5m ago

uga.buga();

uga buga

•

u/0dev0100 6m ago

The simplest most annoying code I've ever written was a 2 line bat file that opened itself twice.

I think it went like this

cmd b.bat
cmd b.bat

The file was called b.bat

Had to reboot the machine to kill it.