I agree at least with the C replacement part. For everything else restricting to Python is too restrictive (pun intended), as it depends a lot on what problem you are trying to solve with which constraints.
Well, Python is perfectly capable of producing a modern website.
Hell, even Go is (even used for some Google end-user visible web stuff).
So the only point in your snark comment was "you will also need javascript". Well, duh. But that's in the client code, no reason to have it in the backend.
Plus, you could even code your javascript in Python, with Pyjamas ;-P
It is pretty different from using CoffeeScript. CoffeeScript produces output you wouldn't mind having to work with if you had to switch to JS. PyJamas produces a tangled mess that won't play nice with other JS libraries.
Comments
If you need to program in C, use Go. For everything else, use Python.
I agree at least with the C replacement part. For everything else restricting to Python is too restrictive (pun intended), as it depends a lot on what problem you are trying to solve with which constraints.
I would be very interested to see you produce a modern website that way.
Not that I'd recommend it, but it would be possible using Pyjamas, which compiles Python to JavaScript code.
Well, Python is perfectly capable of producing a modern website.
Hell, even Go is (even used for some Google end-user visible web stuff).
So the only point in your snark comment was "you will also need javascript". Well, duh. But that's in the client code, no reason to have it in the backend.
Plus, you could even code your javascript in Python, with Pyjamas ;-P
> So the only point in your snark comment was "you will also need javascript".
Right. Javascript is not Go or Python. You will need more than those two languages.
>Plus, you could even code your javascript in Python, with Pyjamas ;-P
Please don't do that.
> Right. Javascript is not Go or Python. You will need more than those two languages.
Well, not necessarily. You can make a cool website without javascript at all. What with those fancy CSS animations and transitions etc.
> Please don't do that.
Why? Not that different from using Coffescript, or the Closure Compiler. And transparent to the end user.
> Not that different from using Coffescript
It is pretty different from using CoffeeScript. CoffeeScript produces output you wouldn't mind having to work with if you had to switch to JS. PyJamas produces a tangled mess that won't play nice with other JS libraries.
> or the Closure Compiler.
Yeah, don't do that either.