Live data from Hacker News

A Python 3 implementation for client-side web programming

brython.info

41–50 of 120 posts

Re: A Python 3 implementation for client-side web programming

#41
post #30

I can't believe all the negative comments here. Someone has implemented Python in JavaScript. I personally think that is incredible.

> Someone has implemented Python in JavaScript.

This isn't really true. This is far from a Python implementation. At best you could call it a Python-esque syntax to Javascript translator. And that's perhaps still useful. But to call this a Python implementation is quite simply a lie.

Re: A Python 3 implementation for client-side web programming

#42
post #34
post #30

I can't believe all the negative comments here. Someone has implemented Python in JavaScript. I personally think that is incredible.

I think it's the hubris that's putting people off: > Brython is designed to replace Javascript as the scripting language for the Web

In programmers, hubris is - along with laziness and impatience - a great virtue. In Larry Wall, they gave the world Perl.

Re: A Python 3 implementation for client-side web programming

#43
IMHO, This comment page is an interesting example to how unreasonably emotional programmers can be about their technology.

It looks as though, some developers are almost insulted by the idea, that someone tried to replace a language that is so commonly accepted, and that they have worked so hard to master.

This also happens in many other fields of science/technology, but I'm always surprised to see it among programmers who are considered very practical people.

Re: A Python 3 implementation for client-side web programming

#44

Earlier quoted context omitted.

Virtually every browser has Javascript support today. Heck, even Googlebot is executing some Javascript these days.

Noscript allows you to turn the Javascript off. Requiring javascript to see any content at all is a little absurd.

You could also block all images and CSS; that would make for a really terrible web experience though. Why limit yourself intentionally? As a web developer I'm not going to accommodate for users that intentionally turn off features that we've been fighting for years to standardize on.

Re: A Python 3 implementation for client-side web programming

#46
post #43

IMHO, This comment page is an interesting example to how unreasonably emotional programmers can be about their technology. It looks as though, some developers are almost insulted by the idea, that someone tried to replace a language that is so commonly accepted, and that they have worked so hard to master. This also happens in many other fields of science/technology, but I'm always surprised to see it among programme…

> programmers who are considered very practical people

I don't think it is universally true. Myself I know how much I can be taken away by a new technology or knowledge.

Re: A Python 3 implementation for client-side web programming

#47

Earlier quoted context omitted.

Virtually every browser has Javascript support today. Heck, even Googlebot is executing some Javascript these days.

Noscript allows you to turn the Javascript off. Requiring javascript to see any content at all is a little absurd.

Why is it absurd?

Re: A Python 3 implementation for client-side web programming

#48
post #30

I can't believe all the negative comments here. Someone has implemented Python in JavaScript. I personally think that is incredible.

> Someone has implemented Python in JavaScript. This isn't really true. This is far from a Python implementation. At best you could call it a Python-esque syntax to Javascript translator. And that's perhaps still useful. But to call this a Python implementation is quite simply a lie.

This is not a translator but an interpreter, there is no compilation.

edit: except FUD, can you provide some points on which brython is failling, please ?

Re: A Python 3 implementation for client-side web programming

#49
post #13

Is it possible to minify and obfuscate python code?

Python 'compiles' to .pyc files, but I'm not show how much that compresses them, or if it's possible to reconstruct the source from it.

They're fairly reversable out of the box. There are some modifications to cx-freeze which allow you to bundle your code in a way that makes it more difficult to reverse. What are you shipping that you need source code security with?

Re: A Python 3 implementation for client-side web programming

#50
post #47

Earlier quoted context omitted.

Noscript allows you to turn the Javascript off. Requiring javascript to see any content at all is a little absurd.

Why is it absurd?

Noscript seems like a fetish with some people and almost always it seems they expect the rest of us to accomodate their fetish.
Post reply on HN