r/Python • u/[deleted] • Feb 09 '14
Python With Braces is a thing that exists. I am disappoint.
http://www.pythonb.org/12
6
u/lalopmak Feb 10 '14
This is a joke, right?
I can maybe understand the braces, particularly given their utility for multi-line lambdas. But semicolons?!
7
2
2
1
u/ingolemo Feb 10 '14
Honestly, I'm more upset by the mandatory semicolons than the braces.
1
u/netwave Feb 10 '14
Yes, me too, I fucking hate when my c++ compiler reminds me about a forgotten semicolon, Why put or use it in python??? thats not pythonic... :(
3
u/tilkau Feb 10 '14
Semicolons are permitted in standard CPython.
Permitted, not encouraged ;)
They do tend to be useful when you are shell scripting and would prefer a single call to python to be on a single line, though.
1
1
1
u/chchan Feb 10 '14
The reason I use python was to get away from that stuff. Why would someone spend time to make something like this? unless they love fixing missing braces on debugging
3
u/michael0x2a Feb 10 '14
I recall that somebody was asking for a version of Python with brace on StackOverflow -- as it turns out, they were blind, and had difficulty determining when one block ended and another began.
That might be one of the few reasons why somebody might want Python with braces. But yeah, otherwise, it's sort of an odd thing to do.
1
5
u/virtyx Feb 10 '14
unless they love fixing missing braces on debugging
...What? I don't think you can call it 'debugging' if your syntax isn't even correct.
1
-7
u/spinwizard69 Feb 09 '14
Finally somebody fixes Python. Python can be very frustrating if you bounce between it and the C style languages often. Plus Python is a cut and paste nightmare.
2
u/anentropic Feb 10 '14
use a decent editor
1
u/spinwizard69 Feb 11 '14
Suggestions? I was using PyDev which is awesome except that it comes with Eclipse. Eclipse has screwed me over one too many times.
-3
-1
u/rhgrant10 Feb 10 '14
Kind of glad there are still syntax ambiguities that help keep this sort of heresy to a minimum.
0
Feb 10 '14
[deleted]
2
5
Feb 10 '14
from __past__ import braces0
Feb 10 '14
[deleted]
1
0
14
u/tilkau Feb 10 '14
Some people just want to see the world burn.