From: boost-build-bounces@lists.boost.org on behalf of Rene Rivera

Sohail Somani wrote:
>> [mailto:boost-build-bounces@lists.boost.org] On Behalf Of Rene Rivera
>
>> OK, is it worth adding such things to bjam? And why are they
>> easier with
>> Python?
>
> Python is a very easy language to learn. There are lots of resources
> available and it is very easy to use some Python logic or libraries for
> the really weird parts of a build.

I don't think I ever disputed that. And it's not the question I was
asking :-) I was asking in the context of what makes Python better for
executing the build actions, i.e. executing programs and batch scripts
and testing results etc.

What are the "things" that make it better than BATCH, or Bash, which is
what bjam currently uses?

--------------
Sorry, I obviously misread your question! But so long as I'm here: if the maintenance of the separate logic for bash/bat files is not too onerous, they are better than Python. Python is not the optimal tool for launching processes, and the other uses you described above. But then again, I'd say neither is batch :)
--------------

> I could have started this email the following, but I'll choose to end it
> with that instead: Not to start a flamewar or anything but...

I'd be the last to argue that the bjam language is better than Python
:-) I'd probably argue that there are better languages than Python. But
those are both abstract questions, which are pointless without a
context, and off-topic in the current context ;-)

--------------
I agree on all points!
--------------