Python's Indentation vs Other Languages

Ever noticed how different Python feels compared to many other programming languages? In a lot of languages like C or Java, every statement ends with a ";". It’s almost like a rule you can’t escape. But then you switch to Python… and suddenly there are no semicolons everywhere, just clean and readable code driven by indentation. I remember when I first started learning Python, it felt strange at first, but soon I realized how much simpler and more readable it makes the code. Sometimes small design choices like this make a huge difference in how we write and understand programs. Curious to know your experience: Did Python’s indentation feel weird at first, or did you instantly like it? #Python #Programming #CodingJourney #LearnInPublic

  • No alternative text description for this image

Same for me it didn't fell werid but even though there was no need for semicolon I would type semicolon by habit in c program

Felt weird at first, then normal, then limiting. I did go back to semicolon-driven langage and felt better. But indentation is also nice sometimes

See more comments

To view or add a comment, sign in

Explore content categories