Forgot your password?
typodupeerror

Comment: Re:its why devs cringe. (Score 1) 180

by jambox (#47585539) Attached to: PHP Finally Getting a Formal Specification
Those aren't issues, they're features. Lack of static typing (odd choice of words - you could say Java lacks dynamic typing) allows much sparser code and you don't have to waste time compiling. The downside is there's more chance of runtime errors, but the time you've saved probably makes up for it and hell, you've got time now to write those unit tests. Performance isn't Python's strong point, but there are lots of options. For example, if you want to parse XML, ElementTree has a fantastic API and is written in pure Python so you can read it's code, step through it with a debugger. If you want it to go faster you can swap it out for cElementTree, which has the same API but is compiled from C code.

Comment: Re:Yeah... Cheating... Sure... (Score 1) 232

by jambox (#37820552) Attached to: Solar Panel Trade War Heats Up
Problem with that argument is that that's a stage that all developed countries went through in order to get where they are today. For example, Victorian britain had workhouses, conscription, probably the worst air pollution in history; I could go on.

Also, preventing China from developing through trade might cause another World War, eventually. Policies such as you advocate were part of what motivated Japan to attack Pearl Harbour.

Prediction is very difficult, especially of the future. - Niels Bohr

Working...