Python is a nightmare

Prove me wrong than any proper languages with brackets isn’t better
(yes fake brackets can be placed, but no one does it)

Cons:

  1. You have to install it more strangely than everything else
  2. Dumb indentation, that is not to easy format whole document like C#, instead of brackets
  3. Dumb conventions and snake_case with lower cases everywhere
  4. It looks like a wall of text
  5. It has zero readability
  6. Usually contains bunch of abbreviations
  7. Even Enter can’t solve the lack of brackets
  8. Your eyes always slip throught code, cause can’t bash them into brackets.

Pros:

  1. It is less lines of code (but overall file size is ruined by snake case and other problems)
  2. Potentially is faster to write, cause no time spent on brackets. (but u need ‘:’ after “if”)

What you think, did I miss something?

I guess only reason that Python is the most popular because it is used in schools and some 100 madlads collected and wrote library in it for literally anything and it is the most versatile one comparing to others.

  • Extra:

Okay, adding additional details related to Python here:

NEVER TRY BLENDER API, WITHOUT READING THE DOCUMENTATION, ESPECIALLY, THE SIDEBAR MULTI-LINE EDIT ( Not possible. ) (4.0)

Hehe, I definitely felt like that too when I touched Python at my workplace a couple years ago after so many years with bracketed languages (for some reason my college was purely Java and C++).

Yeah the intuition and fast reading we built for bracketed code is at first totally stomped…
If you do need to use Python I’d suggest to just embrace the challenge. Beyond any doubt it WILL feel better in a few months!
Today I have practically no issue to switch on the same day between Python, C# and C++ (albeit I still find that one hateworthy due to all its pitfalls, horrible compile-error reporting and lack of intuitive built in helper functions - I wanna use Rust :c ).

So just pull through :wink:

If you work on a larger project (and only then) with others you’ll quickly encounter the biggest culprit of Python anyways and rant even more about it: The lack of typesafety!

Suggestion for that: Learn to consequently use Typehints as early as possible and ideally set up a merge hook that autoverifies typehints!

1 Like

well now i solved the issue with AI generated Blender API Python at least, rule №1 comparing to Unity C#: Always give previous code.

If you remember about that shape drawing thing

Today i will update the GitHub project main and make other branches deprecated (he he that is unity inside me now).

And change name to Greyboxer, as it is will be pretty finished for this one in Blender and with height adjust addition even making a roof or floor for walls will be quick with grid snapping and height spawn change


(no height ver.)

seems like we also soon will start a topic GitHub is a nightmare what the sense loading free stuff if the site will make you suffer with 2FA again like in other places, i dont care if free code and account gets stolen, lol.

"We’re reaching out to let you know that, as announced last year, we have officially begun requiring users who contribute code on GitHub.com to have two-factor authentication (2FA) enabled.

Your account meets this criteria, and you will need to enroll in 2FA within 45 days, by February 26th, 2025 at 00:00 (UTC). After this date, your access to GitHub.com will be limited until you enroll in 2FA. Enrolling is easy, and we support several options, starting with TOTP apps and text messages (SMS) and then adding on passkeys and the GitHub Mobile app."

I won’t store anything important there. Thank you IT, you always have a thing to ruin.

P.S.

And variants are also crap, the first one is downrated paid crap 1suck something! No email one.

Okay, adding additional details related to Python here:

NEVER TRY BLENDER API, WITHOUT READING THE DOCUMENTATION, ESPECIALLY, THE SIDEBAR MULTI-LINE EDIT ( Not possible. ) (4.0)

Unrelated almost, but topic is just a huge whine on IT, so here it goes:

i finally got blocked on GitHub (they told about 26 feb but, i got it 7th march, 'cause there is delay button till then), but all public repo’s are live. I don’t get what is the problem of allowing mail 2FA, when mail also can use phone number safety.

I bet it’s some kind of another conspiracy to make people suffer or some monopolistic personal data collect thing once again.

it is just faster to make a private only account and don’t care, considering i got zero comments on repo’s, cause people downloaded them from some indian site collecting all github repos into a list.

I hate phones i hate SMS, i dont even walk on street with phone when walk with a dog, cause it is huge and clothing manufacturers STILL CANT MAKE DECENT POCKETS FOR MODERN SMARTPHONES.

I even get sick when look in it in a car, so there’s also a physical reason, lol

upd.
image
wow indeed there is literally no other viable choice but to create account with private only repo’s, thank you github, you make the opensource commnunity thrive without a flaw, very cool. “A minute” when i never used TOTP’s all their suggested TOTP’s also is 3 stars and ALSO my phone number isn’t accepting, of course it is so small time, especially considering you need to run to your phone everytime after you enable such crap.

yes. python is not the best

1 Like

I do not comprehend the anti-python crowd.

Python is amazing! The syntax is pretty neat too. I don’t dlslike the lack of brackets but indentations are a welcome respite from the abominable syntax of C++ or the shudder Java.

Even C# had to be installed on your machines. You had to have VS or VS code installed to download the required frameworks, sdks, and software… that isn’t to say one couldn’t just DL the C# SDK with the MS C# compiler, maybe run/compile/debug things with the command line, but IMHO that’s a helluva lot more difficult and less fun!

Being dynamically typed, versatile, interpeted language, as well as being widely supported (there are thousands of modules one can install with python’s helpful ‘pip’ package manager and a huge online community) are incredibly easy features which makes the python experience phenomenal. I almost wish I could use it everywhere!

hugely depends on what language did you start it seems, i am the remake/beat head until it is perfect man, first language at work was c++ (and to be honest, the last), though on it i mostly just did the below junior level copy pasting.

Python does not offer extra optimization most of the time, plus i hate pressing TAB, in c# you just set up format on save in VS, save, done, both formatted and saved.

Mostly i just don’t like how it looks and feels, not how it works underhood or libraries.
Never had commercial experience in it, even the copy paste one.

Selling PC’s turned out a much easier job, and solo. Though the income depends on details budget and barely reaches the junior income currently, even in perspective. Cause I’m a bad business man also.

wow. try c#, and anyway, even though you have to install VS, VS comes with c#!

You don’t have to install VS.

To be frank… these sound like a lot of problems that could be solved by gaining experience in the relevant areas (business, code writing, other languages)… read: things you can fix. Respectfully: can we avoid posting for the sake of it?

1 Like

that’s an old post, and im literally away from pc for more than 2 months, so you’re the one violating your own rules, you just made, lol, by making notification that doesn’t say anything

the reason why this post exist because i tried it, and in an API form, lol.

Maybe a bit rock to the Blender API, not Python itself also.
Though as i remember i noticed the problems of language itself (in the post at least)

Hmm, starting to learn a language with the API of a highly industrialized tool at the forefront is probably not the best idea indeed xD

Reminds me of people trying to learn Java by modding minecraft…
I mean great if that awakes ones enthusiasm for programming but that quirky environment is not a fun way to work when you barely have the basics of the language.