Re: Dynamic features used

2008-11-22 Thread Aaron Brady
On Nov 21, 3:17 am, [EMAIL PROTECTED] wrote: snip > Compared to other languages Python generally allows me to write a > correctly working program in the shorter time (probably because of the > Python shell, the built-in safeties, the doctests, the clean and short > and handy syntax, the quick write

Re: Dynamic features used

2008-11-21 Thread George Sakkis
On Nov 21, 7:55 am, [EMAIL PROTECTED] wrote: > It's not easy to define what my point was :-) I try again, but the > following questions don't cover all the points: > - What are the dynamic features of Python that you use in your code? > (excluding ones that can can be done with a good static templ

Re: Dynamic features used

2008-11-21 Thread pruebauno
On Nov 21, 4:17 am, [EMAIL PROTECTED] wrote: > What are the dynamic features of Python that you use in your code? The main ones is using configuration files that are plain Python instead of XML and not having to wait 5 minutes to compile larger programs. I also prefer structural typing over nomina

Re: Dynamic features used

2008-11-21 Thread Tim Chase
- What are the dynamic features of Python that you use in your code? (excluding ones that can can be done with a good static template system). introspection & dynamic properties are a big one. Having functions and classes as higher-order objects that can be passed around like any other variab

Re: Dynamic features used

2008-11-21 Thread Almar Klein
> > - Is it good for Python to become two languages in one, a fast > statically typed one and a dynamically one, like pypy shows to like > with RPython, or is it better to go the way of the Boo language, that > (while being mostly static) is mixing dynamic and static typing in the > same code, but

Re: Dynamic features used

2008-11-21 Thread bearophileHUGS
Almar Klein: > but I fail to see the point you're trying > to make or the question you're asking... :) It's not easy to define what my point was :-) I try again, but the following questions don't cover all the points: - What are the dynamic features of Python that you use in your code? (excluding

Re: Dynamic features used

2008-11-21 Thread Almar Klein
You're right (I think), but I fail to see the point you're trying to make or the question you're asking... :) I use python for scientific research too, and for me speed can be an issue too sometimes. By using numpy and scipy I have an environment similar to Matlab in terms of speed and functiona

Re: Dynamic features used

2008-11-21 Thread Rafe
On Nov 21, 4:17 pm, [EMAIL PROTECTED] wrote: > I often use Python to write small programs, in the range of 50-500 > lines of code. For example to process some bioinformatics data, > perform some data munging, to apply a randomized optimization > algorithm to solve a certain messy problem, and many

Dynamic features used

2008-11-21 Thread bearophileHUGS
I often use Python to write small programs, in the range of 50-500 lines of code. For example to process some bioinformatics data, perform some data munging, to apply a randomized optimization algorithm to solve a certain messy problem, and many different things. For that I often use several genera