Python with Braces. Because Python Is Awesome, but Whitespace Is Awful
Posted3 months agoActive3 months ago
github.comTechstory
skepticalmixed
Debate
40/100
PythonProgramming LanguagesSyntaxWhitespace
Key topics
Python
Programming Languages
Syntax
Whitespace
A GitHub project attempts to bring brace syntax to Python, sparking debate among HN users about the merits of whitespace sensitivity and the project's potential usefulness.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
6m
Peak period
4
0-3h
Avg / period
1.7
Key moments
- 01Story posted
Sep 26, 2025 at 5:04 PM EDT
3 months ago
Step 01 - 02First comment
Sep 26, 2025 at 5:10 PM EDT
6m after posting
Step 02 - 03Peak activity
4 comments in 0-3h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 28, 2025 at 9:16 AM EDT
3 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45391016Type: storyLast synced: 11/17/2025, 1:17:24 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
https://www.reddit.com/r/ProgrammerHumor/comments/1np5g2t/th...
Here is the reddit post
Here is the HN person's comment https://news.ycombinator.com/item?id=45346840
Although, This isn't related to python, I actually went into Nim forum to see that they were using it because of their inspiration with python and so It was a bit funny / semi full circle seeing Python with braces.
Maybe we need to make Nim with braces as well :> I think that some people might genuinely like that. Its definitely a bit in my mind.
Nim is also more "expressional" than Python in many ways. So, for example, in Nim you can say:
Most users hate how that looks, though, much as most users of bracist languages also hate: In reality, these discussions feel more like style guide wars, reformatted as PLang syntax wars, pun intended.Like, as to that person who thought Nim to be a deal breaker because of whitespace, I think that this new information might help them to atleast try Nim!
Thanks, I learnt something new today thanks to ya!
In general Nim's syntax affords much, much more choice than Python, from UFCS to user-defined operators to macros to term re-writing macros to etc., etc. It's really a step up from Python in so many ways with a lot of compile-time checking and safety and essentially the same perf as C++. It's a shame it's not a little more popular.
I mean. sure they might be a bit disappointed but I didn't even know that () this syntax works, I mean {} is already used by something like set iiirc so something like it for nim might break existing functionality.
I just really thought about how to convince others who might have the same grievances with nim because personally I don't mind whitespace but I also want nim to succeed of sorts.
Nim to me is a love letter of sorts to programming in general. Maybe I romanticize nim but the only language I feel this sense of writing software in is maybe golang.
I am forced to write typescript/python tho, yes I know that nim can be transpiled to js but still, I want to learn Nim too and just build some side casual projects like how people are building with zig. I don't want to suffer with memory management right now so I would use their garbage collection and then if someone wants performance, they can modify my software rather easily for that purpose too.
I was thinking of creating a music player from scratch in nim just for learning it. idk, i really want to build something in nim / maybe even contribute to its small libraries to increase the library support
although I think its definitely Ai generated but still, it has many people reacting and I think that the community is waiting to be revived lol.
https://github.com/mathialo/bython/issues/72
Nothing stops us from forking it either too or bringing the original person if they are still interested too y'know!