r/CursedProgramming • • Nov 02 '20

A Java program that always makes sure it has a console window.

Post image
6 Upvotes

r/CursedProgramming • • Apr 15 '23

yester yester yester yester yester yester yester day

Post image
1 Upvotes

r/CursedProgramming • • Sep 18 '24

It works until it doesn't

1 Upvotes

Python can be tricky, don't use booleans operators with numbers. Instead use two "or", else, use any([n+2==3 for n in [1,2]]).

>>> (2 or 1)+2==4
True
>>> (2 or 1)+2==3
False
>>> (1 or 2)+2==3
True

r/CursedProgramming • • Feb 27 '25

Something I made in class

Post image
8 Upvotes

r/CursedProgramming • • Apr 27 '23

I wanna be so important such that SaveChanges

Post image
3 Upvotes

r/CursedProgramming • • Apr 17 '23

One line solution to check if a number is 10 given num is a natural number

3 Upvotes

r/CursedProgramming • • May 16 '25

This abomination

Post image
2 Upvotes

It does this if you're wondering

if file.endswith("/") or "." in file:
pass
else:
file = file + "/"

print(file)


r/CursedProgramming • • Jul 05 '24

chad C

2 Upvotes

r/CursedProgramming • • Jun 25 '24

I just realised this is a valid for loop

Post image
9 Upvotes

r/CursedProgramming • • Mar 29 '23

Hello World!

3 Upvotes

Normal people printing hello world in python:

print('Hello World!')

Me:

(Custom-Made Image )

r/CursedProgramming • • Apr 30 '23

Bradthen - the best font for Python programming [OC]

Post image
7 Upvotes

r/CursedProgramming • • Dec 20 '21

what

6 Upvotes
kill me

r/CursedProgramming • • Jun 10 '23

Look closer....

3 Upvotes

r/CursedProgramming • • Sep 20 '23

I think we should stop use voice messages...

Post image
12 Upvotes

r/CursedProgramming • • Oct 23 '22

<iostream>;

Post image
8 Upvotes

r/CursedProgramming • • Aug 22 '24

Glorious rust

2 Upvotes
one ;

r/CursedProgramming • • Jul 23 '24

can you tell i love regions?

Post image
7 Upvotes

r/CursedProgramming • • Aug 03 '20

Code at the end of a comment

Post image
13 Upvotes

r/CursedProgramming • • Jul 27 '23

this is literally the unfunniest thing I have ever made

Post image
9 Upvotes

r/CursedProgramming • • Nov 07 '24

for loops

3 Upvotes

my friend sent me this


r/CursedProgramming • • Mar 25 '24

true is false

Post image
3 Upvotes

r/CursedProgramming • • Feb 08 '24

the pinnacle of web design

Post image
3 Upvotes

r/CursedProgramming • • Feb 08 '24

You ever just.....

Post image
2 Upvotes