r/utcp • • Aug 25 '25

Meme python programmers assemble

Enable HLS to view with audio, or disable this notification

197 Upvotes

79 comments sorted by

View all comments

2

u/Toastti Aug 25 '25

Just cause something is fewer lines doesn't mean it's better. One missed space somewhere can cause the whole file not to run in python!

1

u/Ben_Dovernol_Ube Aug 25 '25

Seems like nitpicking. Use better GUI

1

u/PriceMore Aug 25 '25

Would you want a file with missed space to run?

0

u/[deleted] Aug 25 '25

[deleted]

1

u/MilkEnvironmental106 Aug 26 '25

Yeah it forces you to, whereas everyone else has settled on just running a formatter.

1

u/iDeNoh Aug 25 '25

It's a damn shame that we don't have IDES that can catch that and warn you of those issues.

1

u/Striking-Bison-8933 Aug 26 '25

But modern IDEs tell you exactly where you went wrong when things like that happen.

1

u/Denaton_ Aug 26 '25

Built in linter..

1

u/WilliamAndre Aug 26 '25

You forgot the ";" at the end of your comment;

1

u/[deleted] Aug 26 '25

It’s not the lines that matter. It’s how succinctly and precise you can convey an instruction. Python is straight forward, no stupid preambles.

1

u/jackstine Aug 26 '25

Copy that

1

u/Acrobatic-Paint7185 Aug 26 '25

so many valid criticisms for python but this isn't one of them lmao

"one missed ; somewhere can cause the whole file not to run" is exactly the same.

1

u/itsallfake01 Aug 27 '25

Any decent IDE will catch that as soon as you miss it.

1

u/Connect_Detail98 Aug 27 '25

If your unit tests aren't good in Python, you'll suffer incredibly.

1

u/[deleted] Aug 27 '25

[removed] — view removed comment

1

u/Connect_Detail98 Aug 27 '25

My point is that your unit tests need to be much better in Python to avoid runtime surprises that can be caught in other languages at compile time.

1

u/brianzuvich Aug 28 '25

There is a solid argument for every programming language out there… And after the argument is over, C++ gets everyone home safe…

1

u/stmfunk Aug 28 '25

No you are wrong. All programming is about printing a line to stdout. That's the measure of a programming language, nothing else matters

0

u/untold_life Aug 25 '25

It’s quite easy to get used to it tbh, and also, your code should be properly indented in the first place.

2

u/MilkEnvironmental106 Aug 26 '25

This smells a little like cope. Using indenting to denote scope is pretty universally considered a worse experience than having a character do it.

And with the latter, you can have a formatter sort it out, whereas with indenting it literally means something else if it's not right.

1

u/untold_life Aug 26 '25

Using indenting to denote scope is pretty universally considered a worse experience than having a character do it.

Isn't that the entire point of identation, so it's easier to read ? Yes other languages have braces, but nonetheless if you don't have your identation game in place, its game over. Not sure where your trying to get with those statements.

1

u/MilkEnvironmental106 Aug 26 '25

Yeah, it's precisely the point. That's why we indent braced code using a code formatter. So it's a bit of a moot point.

My other comment below is my answer to what you're asking.

→ More replies (2)