+ 6

Anyone else here who can't stand Python?

Yes, you can trust your eyes, they're fine. I really said it. I don't like Python. I mean... it's a powerful rapid development programming language with every right to exist. But I just cannot stand its syntax. Meaningful white-space? Are you kidding me? I don't want to spend hours on debugging other people's codes because they can't tell a space from a tab or don't care for correct indentation as much as I do. And then that line break as a statement terminator... It's like the language wants you to write messy one-liners that ain't fun for nobody to read. I get it: It's easy to learn and it comes with huge powerful libraries packed with useful features. I'm also really impressed by what the language can do maths-wise, but still... Look, I'm not telling anyone to quit using Python. I'm not saying it's a bad language. I'm not even saying that the languages I use are better or have less issues... but I still prefer the clean curly-bracy structure of C-based languages with meaningless white-space and nice semicolon statement terminators. It's https://www.sololearn.com/Discuss/New/just so much easier to read. Anyone out there who agrees? At least partly, maybe? I would really love to hear your opinions on this one.

6th Oct 2017, 8:45 AM
Armin Linzbauer
Armin Linzbauer - avatar
11 Respuestas
+ 11
😂😂😂 it's so funny!!! I can't stand most of other languages because I always forget semicolons or braces, so my codes never run.. 😂😂 I think it depends on your needs and what are your habits.. however, you don't need 4 spaces or a tab: if you want you can use 1 space, or 2 or 11... anyway, fortunally there are a lot of languages, find yours!!!😊
6th Oct 2017, 9:52 AM
m abrate
m abrate - avatar
+ 7
My teacher taught me that it is very good to use indentation because it makes much easier to read the code instead of getting stuck on "wall-of-text". I like python for that. It makes also let you know what or which code belongs to certain structure. I also using it when I code on Java. Eclipse has also it. If you mark everything and ctrl+i then it will fix for you. So I prefer calling it for indentation.
6th Oct 2017, 9:56 AM
Ferhat Sevim
Ferhat Sevim - avatar
+ 6
haven't dug into it yet. but always was told that it's a cool language. made only the tutorial here, which was fine. I must do some sneaky code. no pun intended.
6th Oct 2017, 10:13 AM
Kustaa
+ 4
Well, I too am having difficulties trying to digest Python syntax, particularly the collection family (list etc.), and my brain just refuse the logic how a string can be multiplied by a number to replicate the string :) But I hesitate to quit learning it, because I'm not sure if I may need it for something in the future.
6th Oct 2017, 9:27 AM
Ipang
+ 3
4 spaces identation. It's simple! just kidding I think Python is a powerful language with an easy syntax. It's easier to teach than Java for newbies
6th Oct 2017, 9:03 AM
Lucas Lima Da Silva
Lucas Lima Da Silva - avatar
+ 2
@m abrate Yes' I figured that many people actually like the syntax. I know I don't have to use four spaces. But the indentation must be consistent throughout the codes. I don't have a problem with it, but others, whose codes I have to review, do. And inconsistent indentation is the biggest annoyance of all when debugging. @Ferhat Sevim I totally agree with you. I just don't think, that whitespace should matter in execution because many people just don't care for correct indentation but are otherwise great programmers.
6th Oct 2017, 10:06 AM
Armin Linzbauer
Armin Linzbauer - avatar
0
I every one am a new guy here
6th Oct 2017, 1:16 PM
Elijah Foday sheriff
Elijah Foday sheriff - avatar
0
+1. Indentation in Python is creating an additional problem rather than solving any problems
19th Dec 2017, 3:00 AM
None None
None None - avatar
- 1
I have a friend who says C is pro and Python is total s***
6th Oct 2017, 12:43 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
- 1
It's a good language but it has limitations
6th Oct 2017, 12:44 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar