But good eye on that. ;)
44 karma · joined February 21, 2010
But good eye on that. ;)
The modify-in-place method does seems more natural when you do want the destructive updating case.
I was not aware RStudio was web-based. News to me...
I am a heavy Python user, but when I use Numpy/Scipy I don't feel like I'm using Python much anymore so at that point I either switch to R (or Fortran)... though I'm quite optimistic that at some point the pandas DataFrame can become my default storage structure from which I can parse out R tasks through Rpy, SQLite, HDF5, or possibly Reddis.
matplotlib is very verbose though; I almost prefer Matlab's graphics model... though less so than R's basic and lattice graphics.
> instead are able to write code that modifies code and generates code as easily as if you were writing the original code in the first place
Is this often done? I know it is conceptually possible with the advantage being that the same functions used to manipulate lists and data are available for this task, but I got the impression that not many people actually do this? For instance...
http://stackoverflow.com/questions/6480053/modifying-functio...
http://www.ibm.com/developerworks/library/l-prog.html
http://docs.python.org/dev/howto/functional.html
I would say I program primarily, though not strictly, in a functional style in Python, Lisp, and R. For my applications it's more for the purpose of a modularity rather than concurrency-critical issues, so Python's functional programming limitations aren't noticeable (don't know in your case). There is a 'functional' module available for Python which extends on map, filter, and reduce, and lambda's single-epxression limitation does not necessarily make it functional-hostile.