3 ms·
Can you learn PHP and be successful with it? Absolutely. Do you want to? As a Python programmer who's had to do PHP from time to time, I can say it isn't ter
by j_baker 16y ago
Can you learn PHP and be successful with it? Absolutely. Do you want to? As a Python programmer who's had to do PHP from time to time, I can say it isn't terribly fun. If I were to make a decision based solely on the programming language though, I wouldn't choose a shop whose main language was PHP. Again though, that's assuming that I was just basing it on language. I've found choice of programming language to be one of the less reliable indicators of how good a company would be to work for.
- terra_t 16y agoPerhaps I'm irrational, but early in my Python career I got back a source file from a friend that had invisible changes in the spacing (tabs and spaces got confused) and spent entirely too much time fixing the resulting bugs. I figured whatever benefit I got from Python's other 'good' features, I'd lose back with that kind of BS, so I quit programming Python.
- anthonyb 16y agoIs it really that hard to search and replace a tab with four spaces? %s/\t/ /g should do it in Vim. Make it /gc if you have tabs in your code for some reason. If it's really hacked up, then a source code beautifier might be a better bet: http://www.google.com.au/search?q=python+source+code+beautifier http://www.google.com.au/search?q=python+source+code+beautif... The alternative is to have wild, all over the place indenting in languages like PHP. Except that the code will still run, so nobody will fix it.