r/programmingmemes • • 15d ago

“Programming is Easy”

Post image
833 Upvotes

135 comments sorted by

363

u/Flame77ofc 15d ago • Bravo Mindblown

HTML, CSS??? 😭😭😭

76

u/Here_f0r_p0rn_ 15d ago edited 15d ago

Well technically HTML+CSS together is turing complete and there's a doom implementation in pure HTML+CSS

And I can only imagine what a nightmare it probably was

Edit: https://github.com/NielsLeenheer/cssDOOM

Edit: it seems it's just rendering doom with HTML + CSS and not whole game, seems like that YouTube shorts that I watched couple of months ago lied to me ;( but still pretty cool renderer in just HTML+CSS without WebGL

24

u/jordansrowles 15d ago

Unrelated to CSS/HTML but if you needed another turing fact to dish out - PowerPoint is turing complete. Using only animations and transitions, no scripts

14

u/Flame77ofc 15d ago

I think this was a very specific use of HTML and CSS

Anyways, I agree that make a Doom with those markup and style languages was a very painful task

5

u/djfdhigkgfIaruflg 15d ago

All the lowest level, all you need to be able to make a microprocessor is being able to make NAND gates.

If you can make them, then you can create a computer capable of Turing completeness.

It's proven that HTML+CSS are Turing complete, and you can make NAND gates.

Being crazy enough to try and write doom or to create a microprocessor is a whoooole different thing.

But the crucial part is: IT'S ACTUALLY POSSIBLE

2

u/TheoneCyberblaze 14d ago

A NAND gate is kinda sufficient but not really. You also need what i call the "wiring"

For instance, you can make logic gates out of items going through satisfactory's conveyor belts. That alone isn't enough however as every time the path branches, the amount of items going either way gets cut in half, necessitating another mechanism that can repeat the signal

To make loops you also need to be able to either print infinite amounts of your "circuit" or ensure a gate can be its own input

4

u/HyperCodec 15d ago

This appears to just render doom with HTML+CSS but use JS for actual logic. Please do more research.

1

u/KitsuneFoxglove 14d ago

This is like running Ao3 is turing complete by using the example of running Doom on Ao3

like sure yeah

but like

excuse me?????

1

u/TheLuckyCuber999BACK 15d ago

that's JS

1

u/Here_f0r_p0rn_ 15d ago

If I remember right that's just to circumnavigate browser input restriction and modifying player location but it does demonstrate its capable of just running via just HTML + CSS

I mean if there was a runtime backend which lets you map inputs to some div elements properties then I don't think you would need them

13

u/DiamondDramatic9551 15d ago

Honestly I find actual programming often easier than making my shit look good with CSS. 

3

u/djfdhigkgfIaruflg 15d ago

HTML+CSS are declarative languages, not imperative.

I believe that's why most people have no idea of how to deal with them

1

u/ipview 15d ago

Same. Before AI it was my job as a lead to supply a team of frontend devs with the functionality and/or data that they needed and then I gave it to them to make it pretty. Now thanks to AI everyone is a fullstack dev though.

2

u/Beautiful-Hotel-3094 15d ago

I work as a quant dev engineer on some of the more complicated trading systems in our hedge fund. I can not for the love of god center a div. I did the odin project to learn some frontend, my brain was on fire at 120% capacity. Man can’t html/css.

3

u/TheLuckyCuber999BACK 15d ago

it's turing complete

2

u/Interesting_Buy_3969 15d ago

CSS is Turing complete btw

1

u/djfdhigkgfIaruflg 15d ago

HTML+CSS, not CSS by itself. But still. The things they can make are wild

1

u/djfdhigkgfIaruflg 15d ago

99% of "full stack engineers" have no idea of how to write either.

Maybe it's because they can't deal with declarative statements I dunno

111

u/fillkas 15d ago

Mf said python

44

u/PhysicallyTender 15d ago

that's some junior level shitpost

7

u/IndependentBig5316 15d ago

Not that im defending him but beginners can definitely struggle with some parts of python, i was so confused by what super() does and how class inheritance worked for example

8

u/PhysicallyTender 15d ago

it's not a uniquely Python feature. Inheritance is pretty much the same concept across other OOP languages.

as far as programming languages go, Python is as easy as it gets.

1

u/IndependentBig5316 15d ago

I didn’t mean to imply that only python had this feature, I said that might be one of the more confusing features of python for beginners (of programming in general.)

1

u/Valuable_Leopard_799 14d ago

But there are many ways inheritance can be done, C++, vs. Python, vs. JS all have fundamentally different object systems.

3

u/makinax300 15d ago edited 15d ago

c++ also has class inheritance

also oop is pretty easy

1

u/Valuable_Leopard_799 14d ago

But C++'s inheritance is completely different.

-2

u/DiamondDramatic9551 15d ago

Python is harder than C#, fight me. 

0

u/plopliplopipol 14d ago

harder to make good/large stuff with for sure

33

u/GfxJG 15d ago

... What were you coding in while thinking it was easy, if HTML/CSS is what makes you think it was hard?

13

u/BaakCoi 15d ago

Scratch

6

u/CrossScarMC 15d ago

Scratch would still be too complicated, more like Scratch Jr.

18

u/Tricky-Promise-3347 15d ago edited 15d ago

This is what you get when you allow people who can't code without Claude to call themselves programmers

4

u/MARio23038 15d ago

Hey wait a minute. I call myself a programmer, yet I have written software without AI.

2

u/Tricky-Promise-3347 15d ago

Apologies, autocorrect fucked up my comment

1

u/duif9 14d ago

Me too

16

u/oakinmypants 15d ago

C,C++ girl should be carrying a gun

9

u/YourPictureIsMineNow 15d ago

A bad craftsman scolds his tools

5

u/MiH_VAZ 15d ago

Those are the easy ones brother

2

u/papk23 15d ago

C++ is the worst of them all. I say this as a Cpp dev.

15

u/SilverBullet78SB 15d ago

Yeah of course html, css. At least add js with them

5

u/Here_f0r_p0rn_ 15d ago

You don't need Js, HTML+CSS together are turing complete and here's doom with just HTML + CSS https://github.com/NielsLeenheer/cssDOOM

3

u/Spare_Spirit6762 15d ago

The game logic is written in JavaScript using id Software's open-source release as a reference.

2

u/TheLuckyCuber999BACK 15d ago

it's turing complete with only html and css.

6

u/DerSven 15d ago

? Coding is easy in all of these language. For comparison, look at Assembler or Brainfuck.

2

u/IdiotGiraffe0 15d ago

There's a language called brainfuck?

1

u/djfdhigkgfIaruflg 15d ago

There are when worse things

2

u/Sufficient_Risk_8127 15d ago

As somebody who knows Java, C++, HTML, & CSS, it's easy most of the time.

2

u/Imaspinkicku 15d ago

Isn’t python notoriously easy? HTML/CSS are too…. Im learning java in school rn and its not all that bad, its like super similar to JS

5

u/Sufficient_Risk_8127 15d ago

Java actually isn't "super similar" to JS, though the syntax is similiar.

2

u/Imaspinkicku 15d ago

Ok fair, that was largely what i meant, im new to it so all the basic ass things ive learned have been v similar.

I also am not fluent in it yet.

1

u/Sufficient_Risk_8127 15d ago

technically, it would be more similar to TypeScript than JavaScript

2

u/Imaspinkicku 15d ago

Cool, im also learning typescript in the same assignments so maybe thats why.

2

u/DiamondDramatic9551 15d ago

Define "easy". It's way harder once a program grows bigger. 

2

u/Imaspinkicku 15d ago

Listen, i kinda already explained my exposure to Java in another reply here. I just didn’t use the right wording or expect people to come and debate me on a meme page about every minor choice of words i used -again bc its a meme page- but im not doin the constant debate thing. If you disagree just downvote or whatever.

2

u/isr0 15d ago

Especially when you don’t know how to organize it

2

u/ElectronSculptor 12d ago

Easy things are easy in Python, but the complex or large scale efforts can be challenging. Python is a language that has amazing features but they can also be a trap.

The duck typing can make for some incredibly weird bugs and force you to resort to static checking but they still aren’t enforced. It can also be “pearl esque” where sure there is a “pythonic” way to do stuff but it will let you write all sorts of crazy stuff that week later make you want to burn technology to the ground and go back to the Stone Age.

I’m ranting because I’m old and I grew up on C where things are still hard but hard in a way I understand and Python makes me feel like I’m wearing my polka dot suit from Lawrence Welk at a rave in NYC.

Ranting aside, I work in aerospace where a lot of our software is Python on embedded Linux machines. It’s code that has to handle a lot of information and do so in a regimented way and be easily portable. The packaging and library system of Python can be hard at times. Such as making anaconda behave and not have library issues. Again, I came up on embedded C, so I’m fairly sure it’s just me. But Python is hard for those cases, I think. From a scripting standpoint or a small application I think it’s great. It’s especially useful for scientific computing.

2

u/Imaspinkicku 12d ago

This is super awesome. Thank you for the insight 🥰 im currently finishing up school for a second bach in comp sci (first in business) so im just trying to absorb as much as possible, im finally actually implementing things and creating with code which is like… awe inspiring and i love that i hopefully will just get paid to do it somewhere someday.

I just wish i could post somewhere and ask questions without constant super negative feedback from everyone all the time. Like i get that the market isn’t great but damn lol.

Thanks for being positive and actually educational, its nice for once haha.

2

u/ElectronSculptor 12d ago

Yeah my pleasure! Good luck to you!

I will say, sure, AI is doing some of the low level code work now, but people who get concepts and think at the high level are very valuable.

I’d say if you really want to do “coding” perhaps look into safety critical systems: such as defense work, aerospace, medical, etc. you’ll still use AI but I’m willing to be there will always be a human in the loop.

These days with computers having the processing abilities available, I think the skill set of being able to evaluate different approaches and verify machine output is going to be very valuable. You’ll still write some code but you’ll also manage some AI stuff or have AI as a really smart research assistant.

I hear you about the negativity. Feel free to save my name and DM me if you have questions. I’m in hardware design but I know the industry fairly well and how the big corporations work so I’m happy to share my experience.

1

u/_baaron_ 15d ago

It’s easy to start but (as anything) hard to master

1

u/Imaspinkicku 15d ago

Fair, thats basically everything tho.

1

u/BoBoBearDev 15d ago

Nope, too many strange syntax in Python. It makes "one-liner" easy. But those short cuts makes software harder to read.

2

u/ElectronSculptor 12d ago

God yes.

I am older and started industry on embedded C for 8bit controllers. For me the languages that are more verbose but very plain like C are much easier. Python has many ways to do the same thing and it’s harder to read even my own code.

I’d also say, Python is hard to estimate its efficiency. I know interpreted languages will never be as fast as C, but I mean, it’s hard from just looking at the code to be sure if the couple one liners or built in things like list comprehensions will help or hurt the run time.

My exposure to Python is either scientific computing that does not get deployed, or the UIs that then call low level stuff.

1

u/Orio_n 14d ago

Op is larping. C++ and Java maybe. The rest are piss easy languages

0

u/djfdhigkgfIaruflg 15d ago

OK. Mr smarty pants

Make me an multi level expanding menu with some forms inside. No JS allowed, and it must be standards compliant.

Once you can make that you're allowed to disrespect HTML or CSS

0

u/Sea-Bench-7487 14d ago

Claude entered the chat

1

u/djfdhigkgfIaruflg 14d ago

Found the guy who can't write a form

0

u/Sea-Bench-7487 14d ago

Nobody cares about html anymore man I'm sorry if js html css is all you can do

1

u/djfdhigkgfIaruflg 14d ago

It's not all i can do. I just cared enough to read a couple of specs.

1

u/ExtraTNT 15d ago

Ok, java: pain, python: pain, html: pain, css: pain, c: my beloved, cpp: what did you do to my beloved?

1

u/muddboyy 15d ago

Wait till you Haskell mf 🤣

1

u/1ps3 15d ago

2019 just called op to say hes gay

1

u/Coulomb111 15d ago

HAHA SO FUNNY!!!!

1

u/OfficialDeathScythe 15d ago

Plot twist, what if an ai made this meme because it had an easier time understanding assembly and binary

2

u/djfdhigkgfIaruflg 15d ago

AI DO NOT have a better time with assembly or machine code

1

u/OfficialDeathScythe 15d ago

I figured as much, was really just trying to make the joke that a computer would make a meme calling the easiest human-readable languages hard because it’s in English not binary

2

u/djfdhigkgfIaruflg 14d ago

Oh well. I don't know anymore how to distinguish shitposting from serious opinions. 😭

1

u/Flimsy_Pumpkin_3812 15d ago

did you forget to rewrite it in rust?

1

u/Low_Doughnut8727 15d ago

larpinator at max

1

u/Icy_Amoeba9644 15d ago

But it is really easy! Check out this website i made at http://localhost.3000

1

u/VoidJuiceConcentrate 15d ago

C is fun. C++ is literal demon spawn

1

u/theacp127 15d ago

Is this from 2009? Feels like I just came across some ancient texts

1

u/Hrmerder 15d ago

All the concepts are the same though just with different nuances in syntax... It's not like going from assembly to C# or something (or vice versa).

1

u/VoidspawnRL 15d ago

After a few years you learn many, and you get to a point where a new language is learned in less then a week, as many things in programing language is the same, there is 1 or 2 core features that you need to learn... This year alone i use c, c++, rust, c#, f#, js, ts, python, java. Zig, go, php, and doc format like css html toml yaml, json, so on i that is only what i remember, i don't work for companies tjat use a lot of FP languages, but i learn alot of them too, i hope it come easy to you, it is a lot of fun

1

u/No_Context2723 15d ago

this was 100% made by somebody who doesn't know how to code

1

u/Jeremi360 15d ago

C and Python are easy

1

u/MrFrog2222 15d ago

C++ is the only challenging one on the list and even it aint that bad if you dont have ocd and have to use every single feature ever added.

1

u/Sea-Bench-7487 14d ago

Karma farmer detected

1

u/herbertplatun 14d ago

stfu larper

1

u/The_G_Choc_Ice 14d ago

What is bro programming in, scratch?

1

u/Flaky-Low-2262 14d ago

Ever tried Closure or Haskell? They have guns.
If you hate ; or SPACE meet those crazy MF...

1

u/Desth-Metal 14d ago

Coding? We have AI for that. It IS easy to code. Building software however, is not.

1

u/notsaneatall_ 13d ago

Python lmao you just have skill issue

1

u/ExtraFlamy 12d ago

I guess you've never heard of assembly before. It made me reconsider my life choices.

1

u/magnumcondom89 12d ago

Cant wait for you to learn about assembly if you think python is hard

1

u/Corgerus 11d ago

Python isn't that bad

1

u/PresentationNew5976 10d ago

It is easy. The difficulty depends on how specific you end up getting.

1

u/lovetogeek 9d ago

How does this have a single upvote?

1

u/wkeil42 15d ago

WTF is python doing here!? Actually, what are everything except the girl doing here? Bro, you good?

1

u/PsychologicalTry3972 15d ago

HTML? HTML isn't a programming language. CSS isn't a programming language too.

1

u/djfdhigkgfIaruflg 15d ago

Found the guy who can't do declarative languages

1

u/cowlinator 15d ago

Ah but you can make a turing machine with HTML + CSS (+ user interaction)

1

u/KitTwix 14d ago

What kind of coding are you doing that makes python look hard?
I'm not a programmer, I'm an engineer so I only know python and matlab, but bruh they are so easy compared to the sorcery I've seen from C++ and others

0

u/alexeiz 15d ago

Give this guy a machine gun and write Claude on it.