3 ms·
As a non-programmer, in that I use programming for math/eng problems, the main advantage for a dynamic language like python is that you do not have to compile i
by wwortiz 16y ago
As a non-programmer, in that I use programming for math/eng problems, the main advantage for a dynamic language like python is that you do not have to compile it.
I'm not a good programmer so sometimes I have tiny errors and such and being able to vim exec.py fix ./exec.py can help tons.
I do a good amount of things in matlab and must say that I use the cmd line (REPL?) infinitely along with my programs, it is just so easy for me to find solutions that way compared to something like C# and for someone that doesn't always know how a function works using it on the command line with documentation is great.
- aristidb 16y agoYou are confusing dynamic typing with dynamic code interpretation. So there ARE statically typed languages with a REPL, for example Haskell. And there are dynamically typed languages without a REPL - for example Perl (in the core distribution). Static typing means that for example, a list can only contain one type of element. And because of these constraints, the compiler can find some errors that are not found otherwise.
- wwortiz 16y agoAnd there is the bad programmer part :), thanks for the clarification.