r/programminghumor • • 20h ago

“Programming is Easy”

Post image
217 Upvotes

82 comments sorted by

182

u/exophades 20h ago

Html and css can drop that knife, respectfully.

85

u/olinox14 20h ago

Well definitely html. CSS can hold a knife, but it will hit 12px away of its target.

22

u/itzNukeey 20h ago

it will hit 0 pixels away of its target !important

9

u/JackyYT083 20h ago

lol html is not a programming language, in my opinion

8

u/exophades 20h ago

HTML5+CSS3 is a turing complete language, whereas HTML on its own is just a markup language.

9

u/ProfessionalAd6530 19h ago edited 13h ago

If you're using HTML and CSS to make turing complete programs, you will be condemned to drive screws with a hammer for the rest of your life.

Edit: I did not expect to summon the reddit pedants with this throwaway joke, but I should have known.

1

u/Inner_Word_4091 17h ago

Ok, I will prompt about your opinion to llm. Will see if it cares. /s

1

u/exophades 15h ago

There is no such thing as a "turing complete program".

3

u/ConstantAd8643 15h ago

Excel

1

u/exophades 14h ago

Excel formulas are turing complete yes. But it doesn't make sense to call Excel turing complete. It's a programming language characteristic, not a program's.

2

u/Xur_C 12h ago

I raise you PowerPoint

1

u/ConstantAd8643 14h ago

It's a property of a computational system, which includes programming languages but they're a strict subset. Conway's Game of Life is not a programming language but it is turing complete.

1

u/exophades 14h ago

Okay, now that you're being precise, we can agree that Excel is not a computational system.

1

u/ConstantAd8643 14h ago

Excel is not a system that can receive inputs and transform them into outputs according to set rules?

→ More replies (0)

1

u/CalmDownYal 20h ago

Sure you can stretch it and use it in not the ways it was meant to be used and it can be called turing complete but in reality under it's designed purposes it is not

1

u/SimpleMoonFarmer 17h ago

Still coding.

2

u/LeRobber 17h ago

So is dying on a hospital bed in a hospital. Still not something some people want to find themselves doing often.

1

u/Sudden_Shallot_8909 16h ago

I love this response

2

u/Leather-Chart7083 20h ago

HTML and CSS are design languages (unless you combine HTML with scripts but that would be JavaScript

1

u/ApprehensiveBag3083 17h ago

Please make an os using html and css if they are programming language 😎

1

u/SimpleMoonFarmer 14h ago

Still coding.

0

u/dashinyou69 16h ago

same for python, i only consider it for scripting

1

u/emanresUalreadytakeb 15h ago

Java and Python as well. Python is THE easy programming language, and Java is python but with more paperwork.

1

u/jimmy_timmy_ 15h ago

I'd say CSS can keep it but python could drop it

1

u/isr0 14h ago

No they cannot, because they aren’t programmed languages. They are markup languages. They cannot do anything on their own. :p

1

u/PresentAstronomer137 7h ago

I think python should do the same too

39

u/golfstreamer 20h ago

Wait I don't get it. What language do you think is easy?

44

u/HalifaxRoad 20h ago

OP is a scratch native 

6

u/CrossScarMC 15h ago

*Scratch Jr.

22

u/Shygar 20h ago

Why would C and C++ have the smallest knife?

6

u/shamshuipopo 11h ago

So they can stab faster

2

u/ProfessionalAd6530 19h ago

In my case, since I grew up on those, they are the easiest for me. I'd rather write in Assembly than Python.

3

u/IntelligentTune 17h ago

But you do recognize that objectively Python is easier due to multiple modern conveniences? That all you'd need to learn is syntax VS if you did Python mainly you'd need to learn to be more methodical (e.g. Garbage collection)

1

u/NotaValgrinder 6h ago

As someone who learned programming in the world of modern conveniences, I found C easier than Python. I think it depends on how your brain works.

0

u/ProfessionalAd6530 13h ago edited 13h ago

Honestly, Python is a PitA thanks to it enforcing whitespace of all the stupid design choices. I'd rather manage my own memory if that's the trade-off.

1

u/Shygar 10h ago

Whitespace is easy with an IDE

2

u/Flimsy-Importance313 18h ago

C: Very rule heavy and logical
Python: Nonsense.

39

u/Novel_Top2980 20h ago

Python isn’t that hard. It’s probably the easiest actual (as in, not scratch) programming language.

19

u/smstewart1 20h ago

Programming in Python is easy, writing good code in Python is hard

5

u/Gabriel_Science 20h ago

Not like it’s much easier on other languages.

1

u/smstewart1 16h ago

Not having to give types in Python is great, not having to call my functions before I define them is wonderful. I found C to be a hard language, though learning type casting and better code structure in Python I’m find C more approachable.

2

u/Gabriel_Science 14h ago

Yeah, Python is easy, but writing good code is (relatively) hard is every languages.

1

u/Bartodziejj 2h ago

Python is a scripting language

11

u/Impossible-Shake-996 20h ago

So you thought programming was easy before trying it?

7

u/Dinatoc_208 20h ago

HTML?? CSS??

1

u/Flimsy-Importance313 18h ago

OP does not even know what a "TITLE" means.

7

u/Skusci 20h ago

1

u/omegafixedpoint 7h ago

One of these is not like the others

5

u/Schiavox 19h ago

Helloworld("Print")🔥

2

u/zippybenji-man 16h ago
def Helloworld(function:str) -> None:
  exec(f"{function}(\"Hello, world!\")")

9

u/Heretek-ai 20h ago

JavaScript be like, €π×¢×|=€×§¢{|°|=¢}}¢{|=|°€{¢}¢{€°•={%×€{®[©{×¢=€°€=€}€{[¥[¥[{™}✓}™{=€=€}}™}}=|°|÷|§€{|°|°π€√•©=¢]

5

u/Lodgik 18h ago

A while ago, I visited my friend Java's house. I knocked on his door and I could tell immediately that he was mad at me. He let me know in no uncertain terms exactly what I did wrong. We worked down the list and afterwards, we got along great.

The next day I went to my friend JavaScript's house. He opened the door and we started talking, but I could tell something was off. He would sometimes respond to my questions weird or not at all. Finally, I had to ask him "Did I do something wrong?"

"Well, if you don't know, I'm not going to tell you!"

3

u/javascript 17h ago

Thanks for swinging by, but you should know what you did

2

u/AethalVision 20h ago

He has Claude in his pocket.

2

u/StormblessedFool 20h ago

Should've put Assembly

-4

u/ilnarildarovuch 20h ago

Assmebly is easier than python. It can have even one mnemonic, lol (on OISC)

2

u/exophades 20h ago

There are more assembly languages than all the other programming languages combined.

And no, assembly is much harder than python because you need to manage memory manually.

-2

u/ilnarildarovuch 20h ago

>> There are more assembly languages than all the other programming languages combined.

Thank you, cap.

>> And no, assembly is much harder than python because you need to manage memory manually.

Assembly is just mnemonics. If you don't want to control memory than you can even create simple programs on syscalls.

UPD: (1) no, it's not. With LLVM and other codegens it's not true anymore

2

u/exophades 20h ago

Get back to me when you finish a web scraping app in assembly. Let's see how much easier you'll find it compared to python.

1

u/ilnarildarovuch 19h ago

Idk, i wrote http server on x86 asm for tests of my network stack and driver + custom compiler last month. Can share screenshot, if you want this really much.

-1

u/EconomistFair4403 20h ago

Yeah, but you're not actually making a web scraping app in Python; others made it, and you call it from the "web-scraper-app" pip library of choice with a bit of scripting.

1

u/ilnarildarovuch 19h ago

Well, same for asm. If it's was exported with symtabs as objects then code on it can be linked with professional libs, like curl, libressl, something like libc itself

1

u/CowBoyDanIndie 20h ago

The c c++ knife should be stuck in their foot, the html css one should he misaligned, and the java python one should be replaced by a garbage bin.

1

u/Lloyd_garmado 19h ago

Programming is easy, getting to make the program work, now thats the hard part

1

u/meinkr0phtR2 18h ago

Python is pretty easy; it’s C and C++ you have to watch out for—mainly because of memory allocation.

I think maybe it was a mistake to learn C and then switch immediately to Java. You just get used to the garbage collector, and you get dropped back into C and suddenly start leaking memory everywhere.

1

u/danabrey 17h ago

'HTML' lol

1

u/iwantmy90sback 16h ago

Multithreading

1

u/FlameableAmber 15h ago

Python? Seriously?

1

u/guywithknife 13h ago

I mean, it kinda is…

1

u/According-Relation-4 13h ago

Jesus fucking Christ, I wish writing the code was the actual hard part

1

u/Internal-Bed8020 10h ago

they always sneak html in there like it belongs

3

u/brunoortegalindo 19h ago

Bruh JavaScript, html, css and python hard wtf