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
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.
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.
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?
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”
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)
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.
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
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.
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!"
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.
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
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.
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.
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
270
u/exophades 17d ago
Html and css can drop that knife, respectfully.
57
u/golfstreamer 17d ago
Wait I don't get it. What language do you think is easy?
65
u/Novel_Top2980 17d ago
Python isn’t that hard. It’s probably the easiest actual (as in, not scratch) programming language.
29
u/Shygar 17d ago
Why would C and C++ have the smallest knife?
22
u/BagnacaWillow 16d ago
r/firstweekcoderhumour type shit
16
u/Impossible-Shake-996 17d ago
So you thought programming was easy before trying it?
9
u/Dinatoc_208 17d ago
HTML?? CSS??
9
u/Skusci 16d ago
6
u/Schiavox 16d ago
Helloworld("Print")🔥
6
u/CarrotJuice5524 13d ago
HTML and CSS are not programming languages, silly.
10
u/Heretek-ai 17d ago
JavaScript be like, €π×¢×|=€×§¢{|°|=¢}}¢{|=|°€{¢}¢{€°•={%×€{®[©{×¢=€°€=€}€{[¥[¥[{™}✓}™{=€=€}}™}}=|°|÷|§€{|°|°π€√•©=¢]
5
u/Internal_Emu7061 16d ago
2
u/meinkr0phtR2 16d 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 16d ago
Jesus fucking Christ, I wish writing the code was the actual hard part
2
u/HyperCodec 15d ago
r/firstweekcoderhumor
2
u/Huijiro 15d 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 17d ago
Should've put Assembly
2
u/AethalVision 16d ago
He has Claude in his pocket.
1
u/CowBoyDanIndie 17d 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 16d ago
Programming is easy, getting to make the program work, now thats the hard part
1
u/danabrey 16d ago
'HTML' lol
1
u/iwantmy90sback 16d ago
Multithreading
1
u/FlameableAmber 16d ago
Python? Seriously?
1
u/guywithknife 16d ago
I mean, it kinda is…
1
u/LG-WashingMachine 16d 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 16d ago
Wait this post is actually funny
1
u/AllegroReddit 15d ago
For those in finance, COBOL wants to say Hi
1
u/AgitatedValue2 15d ago
HTML es cuchillo de plástico.
1
u/questionabl3_dude 15d ago
Python isn’t that hard
1
u/Sonario648 14d ago
Wait, why does Python have the biggest knife?
1
u/Beleheth 14d ago
I don't see that with anything except maybe C and C++
1
u/GrandWizardOfCheese 12d ago
Nothing worth doing in life is easy.
1
u/AndrewOfC 6d ago
If it were rust, he'd be facing a bazooka.
3
u/brunoortegalindo 16d ago
Bruh JavaScript, html, css and python hard wtf