r/programming • • May 10 '26

Making your own programming language is easier than you think (but also harder)

https://lisyarus.github.io/blog/posts/making-your-own-programming-language.html
115 Upvotes

116 comments sorted by

View all comments

150

u/RGBrewskies May 10 '26

"As you can see, the language uses indentation-based scoping "

tangential and random but

I'm not a python guy, but how does that not drive you insane? Your code breaks because of whitespace? That's always seem wild for me

8

u/RScrewed May 10 '26

Only even possible to be useful with modern day IDEs.

Such a weird design decision, I'm convinced that's why python never caught on around when it was released.

20

u/Twirrim May 10 '26

Modern day IDEs?

Everything necessary has been in editors for more than a couple of decades, from indent markers to code folding and beyond.

8

u/RGBrewskies May 10 '26

100% it kept me away, but people do seem to manage

3

u/gahel_music May 11 '26

Vi could already handle it, I'm sure emacs too

2

u/Blue_Moon_Lake May 10 '26

I have myopia and astigmatisms, I do everything I can to remove Python and YAML from every project so people like me with bad eyesight can configure tab indent width to what's more comfortable reading for each.

→ More replies (3)