Forum > Other

This is me back in Lazarus after looking at Python for 2 days

(1/3) > >>

TBMan:
Are they kidding me? Text indentation effects execution of statements?

Handoko:
Me too, ever tried Python and felt weird about it. I could understand that would ensure code readability. But personally, Pascal is very readable in my eyes.

MarkMLl:

--- Quote from: TBMan on April 18, 2025, 04:06:34 pm ---Are they kidding me? Text indentation effects execution of statements?

--- End quote ---

No: they're not kidding, and they defend that syntactic layout with the same zeal that Pascal devotees use for some of its questionable design decisions.

However over the years they've put a lot of effort into thinking through the internal semantics, and the internal documentation- which for my sins I've worked through in some detail- is good.

We might not like it, but neither can we dismiss it :-/

MarkMLl

DelphiFreak:
I do not touch programming languages which are case-sensitive..... :D

JD:

--- Quote from: TBMan on April 18, 2025, 04:06:34 pm ---Are they kidding me? Text indentation effects execution of statements?

--- End quote ---

 :D :D :D Nope. And they love it that way. I also had to learn Python and the text indentation matter was a problem until I started coding in IDEs (e.g. Visual Studio Code) with rainbow indentation enabled. Then you can see the indentation better than when using a plain text editor for coding.

However, Lazarus/FPC is still by far my go-to tool for creating native compiled applications and that is not likely to change since I don't have time to learn the shiny new tools like Go and/or Rust.

Cheers,

JD

Navigation

[0] Message Index

[#] Next page

Go to full version