Live data from Hacker News

A Python 3 implementation for client-side web programming

brython.info

21–30 of 120 posts

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

#23

It's too bad it didn't replace it on this page. Without JavaScript, this page is blank.

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.

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

#25

The way they position Brython is pretty off-putting and kind of confuses the issue. CoffeeScript page: "CoffeeScript is a little language that compiles into JavaScript." Brython page: "Brython is designed to replace Javascript as the scripting language for the Web." Maybe that's the end goal, but the reality is far from it. Of course JS is still required, and of course the Python gets compiled into JS. Finally, the a…

The argument for compiling the Python with the pre-processor seems roughly analogous to traditional arguments for compiling rather than interpreting languages - i.e. how many times the conversion from source code to machine instructions must be done.

One isn't necessarily better than the other - sometimes human generated python source code in the browser may be more useful than machine generated javascript.

If nothing else, it allows us to explore a new way of constructing web apps and determine whether it is better.

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

#26

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.

Javascript is a prerequisite of the modern web. Refusing to accept that is absurd.

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

#27

It's too bad it didn't replace it on this page. Without JavaScript, this page is blank.

It's not the first time I had to turn on JavaScript to view a page. On the other hand, it is the first time that I have ever done so and discovered a totally logical reason for having to do so.

I got something of value by tweeking NoScript - knowledge, not just ads. Then again, I'm a yokel.

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

#28
post #26

Earlier quoted context omitted.

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

Javascript is a prerequisite of the modern web. Refusing to accept that is absurd.

>Javascript is a prerequisite of the modern web.

Citation needed.

Post reply on HN