r/Python • • Feb 09 '14

Python With Braces is a thing that exists. I am disappoint.

http://www.pythonb.org/
4 Upvotes

32 comments sorted by

14

u/tilkau Feb 10 '14

Some people just want to see the world burn.

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

u/mazatta Feb 10 '14

The fact that this is a Windows-only release speaks volumes.

2

u/esdio Feb 10 '14

So don't use it?

-2

u/rhgrant10 Feb 10 '14

Sure, use it if you don't like Python.

2

u/[deleted] Feb 10 '14

2

u/djds23 Feb 09 '14

Always use spam and eggs instead of foo and bar.

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

u/vindolin Feb 11 '14 edited Feb 11 '14

ಠ_ಠ

I usually don't approve of assasinations...

1

u/WhyDoWeNeedUsernames Feb 11 '14

I think, it's hilarious.

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

u/chchan Feb 10 '14

For that case it makes sense.

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

u/krak3n_ Feb 09 '14

my pep8 linter would have a field day

1

u/virtyx Feb 10 '14

You should give it some Java code, I'm sure that would really make it go crazy

-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

u/joepreludian Feb 10 '14

Totally fail. Where is the beautiful and readable code?

-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

u/[deleted] Feb 10 '14

[deleted]

2

u/[deleted] Feb 10 '14

Not a chance. Until now, apparently.

5

u/[deleted] Feb 10 '14
from __past__ import braces

0

u/[deleted] Feb 10 '14

[deleted]

1

u/[deleted] Feb 10 '14

It isn't.

Also, people hate it when you mention votes.

0

u/[deleted] Feb 10 '14

[deleted]

3

u/[deleted] Feb 10 '14

I know, but from __past__ import braces was a joke.

Also, import this

0

u/[deleted] Feb 09 '14

[deleted]

5

u/Digital_Person Feb 09 '14

i thought exactly the same.

1

u/tilkau Feb 10 '14

Upvoted.. and then I wanted to upvote again for appropriate username, but..