[BangPypers] When *not* to use Python
steve at lonetwin.net
Wed Oct 20 14:40:30 CEST 2010
On 10/20/2010 04:57 PM, Noufal Ibrahim wrote:
> The project management thread highlighted this issue of "if it's not in
> Python, I don't want to use it".
> Assuming that most of the people here are mostly python enthusiasts or
> learners, I'm wondering when you would *not* use Python. Let's not
> conflate this with Open Source/Closed Source etc.
> I'm just interested in situations where you'd stay away from something
> *just* because it isn't in Python. The only reason I'd stay away from
> something like this is if I needed to work on it's code and it was in a
> language that I wasn't familiar with and didn't have the time to learn.
> Also, there are plently of situations where I'd jump to a language other
> than Python at the outset (e.g. for log file parsing, Perl still wins
> for me).
...for systems programming obviously, corepy and pyasm notwithstanding. :)
Seriously though, one aspect is small to medium sized automation/shell scripts
where although sometimes one is tempted to use the 'power' of python, doing a
`ls` instead of os.listdir('.') and `/some/random/command` instead of using the
shutil/commands/subprocess ...etc modules is more pragmatic.
random spiel: http://lonetwin.net/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
More information about the BangPypers