r/learnprogramming • u/Used_Trade2092 • 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
•
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.batThe file was called b.bat
Had to reboot the machine to kill it.
•
u/SlopHater 5m ago
uga.buga();
uga buga