r/programminghumor • • 21d ago

“Programming is Easy”

Post image
353 Upvotes

100 comments sorted by

271

u/exophades 21d ago

Html and css can drop that knife, respectfully.

126

u/olinox14 21d ago

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

40

u/itzNukeey 21d ago

it will hit 0 pixels away of its target !important

14

u/JackyYT083 21d ago

lol html is not a programming language, in my opinion

14

u/exophades 20d ago

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

2

u/CalmDownYal 20d 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 20d ago

Still coding.

3

u/LeRobber 20d 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 20d ago

I love this response

0

u/[deleted] 20d ago

[deleted]

2

u/Inner_Word_4091 20d ago

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

0

u/[deleted] 20d ago

[deleted]

2

u/ConstantAd8643 20d ago

Excel

0

u/[deleted] 20d ago

[deleted]

1

u/Xur_C 20d ago

I raise you PowerPoint

0

u/ConstantAd8643 20d 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.

0

u/[deleted] 20d ago

[deleted]

0

u/ConstantAd8643 20d ago

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

→ More replies (0)

2

u/Leather-Chart7083 20d ago

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

1

u/ApprehensiveBag3083 20d ago

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

0

u/dashinyou69 20d ago

same for python, i only consider it for scripting

0

u/SimpleMoonFarmer 20d ago

Still coding.

4

u/PresentAstronomer137 20d ago

I think python should do the same too

2

u/emanresUalreadytakeb 20d ago

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

2

u/jimmy_timmy_ 20d ago

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

1

u/isr0 20d ago

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

57

u/golfstreamer 21d ago

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

71

u/HalifaxRoad 21d ago

OP is a scratch native 

14

u/CrossScarMC 20d ago

*Scratch Jr.

65

u/Novel_Top2980 20d ago

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

28

u/smstewart1 20d ago

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

8

u/Gabriel_Science 20d ago

Not like it’s much easier on other languages.

3

u/smstewart1 20d 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.

3

u/Gabriel_Science 20d ago

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

1

u/Constant_Baseball470 17d ago

Im still a noob but i feel like languages like python are easy to write but suck for debugging, reviewing or generally understanding what i wrote a week ago?

1

u/smstewart1 17d ago

For me that’s the difference programming and coding; after I learned how to program in Python I focused on writing better code. I’m much better about commenting my code, using a regular structure to make it more intuitive where things are, using better variable names, minding types, freeing memory, buttressing code against edge cases, and really documenting my code. For example, instead of just using short names in functions for variables, I started naming them what they are and the intended type, eg “datatable: pd” verses “dt” so I at least know what the variable is. Same for function names, “convert_table_to_list” instead of “t_to_l”

1

u/Bartodziejj 20d ago

Python is a scripting language

29

u/Shygar 21d ago

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

15

u/shamshuipopo 20d ago

So they can stab faster

0

u/[deleted] 20d ago

[deleted]

2

u/Flimsy-Importance313 20d ago

C: Very rule heavy and logical
Python: Nonsense.

2

u/IntelligentTune 20d 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/halfjmp 19d ago

No, Python is not *easier*. It depends on a lot on the task. Having learned assembly, then C, then Python, I assure you Python is not *easier*. I would say C is easiest of the three: small language, fits in the head almost entirely, barely anything breaks ever in the language.

What I learned in Python, I had to relearn several times, because the language changes, the libraries change an lot, the way you are supposed to work with it changes... And the core Python language has a lot of dynamic features that make it operate in subtle ways. Plus not typing (now botched typing), slow, etc. (which means some things get more difficult as well). Not an easy language, unless you are just lazy and accept code that breaks randomly at runtime.

1

u/NotaValgrinder 20d 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/[deleted] 20d ago

[deleted]

1

u/Shygar 20d ago

Whitespace is easy with an IDE

1

u/CommunityBrave822 20d ago

So handling memory is easier than not handling it?

1

u/Quote_Revolutionary 19d ago

depends on how you think about software: as someone who wrote c++ for years and then tried rust, choosing to care about memory is a spectrum. let's just say that the only difficult thing I find myself doing is managing memory for someone else (so decoupled from the logic), languages became really good at operating on memory through your structure, so in general it's not THAT bad

0

u/[deleted] 20d ago

[deleted]

2

u/CommunityBrave822 20d ago

So? Didn't ask if it was difficult

1

u/halfjmp 19d ago

That's a pretty crazy point of view. Would you prefer a screwdriver or a hammer? The hammer because it's easier for you? I would not do system programming in Python, but I would no build a data workflow in C, though I know both well. Different tools, different tasks.

1

u/Additional-Dot-3154 18d ago

Same.

Somehow i get along better with low level and small instruction set langauges then with languages like python.

16

u/Impossible-Shake-996 20d ago

So you thought programming was easy before trying it?

9

u/Dinatoc_208 20d ago

HTML?? CSS??

2

u/Flimsy-Importance313 20d ago

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

9

u/Skusci 20d ago

3

u/omegafixedpoint 20d ago

One of these is not like the others

6

u/Schiavox 20d ago

Helloworld("Print")🔥

3

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

1

u/Infinite_Rub3674 17d ago

print has to be lower case tho

2

u/zippybenji-man 17d ago

I know, but it wouldn't make much sense to have a .lower(), considering you have functions that include uppercase characters

1

u/Infinite_Rub3674 15d ago

Fair enough

6

u/CarrotJuice5524 17d ago

HTML and CSS are not programming languages, silly.

10

u/Heretek-ai 20d ago

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

9

u/Lodgik 20d 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!"

6

u/javascript 20d ago

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

1

u/Heretek-ai 20d ago

How on God's flat Earth did you become the backbone of every AI project, desktop applications, and websites????? I mean respect honestly.

2

u/meinkr0phtR2 20d 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.

2

u/According-Relation-4 20d ago

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

2

u/Huijiro 19d ago

CSS and HTML are not programming languages... And nowhere near the levl of C, C++, you could say the ceiling for CSS may be, but, not HTML, for sure not HTML

4

u/StormblessedFool 20d ago

Should've put Assembly

-3

u/ilnarildarovuch 20d ago

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

4

u/exophades 20d 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.

-1

u/ilnarildarovuch 20d 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 20d 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.

2

u/ilnarildarovuch 20d 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 20d 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 20d 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

2

u/AethalVision 20d ago

He has Claude in his pocket.

1

u/CowBoyDanIndie 20d 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 20d ago

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

1

u/danabrey 20d ago

'HTML' lol

1

u/iwantmy90sback 20d ago

Multithreading

1

u/FlameableAmber 20d ago

Python? Seriously?

1

u/guywithknife 20d ago

I mean, it kinda is…

1

u/LG-WashingMachine 20d ago

programmin is not ez, but tbh the examples ya provided are the ones that are the easiest to get the hang of

1

u/DespiredTraveler 20d ago

Wait this post is actually funny

1

u/AllegroReddit 19d ago

For those in finance, COBOL wants to say Hi

1

u/AgitatedValue2 19d ago

HTML es cuchillo de plástico.

1

u/questionabl3_dude 19d ago

Python isn’t that hard

1

u/Sonario648 18d ago

Wait, why does Python have the biggest knife?

1

u/Beleheth 18d ago

I don't see that with anything except maybe C and C++

1

u/GrandWizardOfCheese 16d ago

Nothing worth doing in life is easy.

1

u/AndrewOfC 10d ago

If it were rust, he'd be facing a bazooka.

  • Python is like your kindergarten teacher.

  • Rust is like your drill sergeant(the mean one).

3

u/brunoortegalindo 20d ago

Bruh JavaScript, html, css and python hard wtf