Groups | Search | Server Info | Login | Register
Groups > comp.soft-sys.math.mathematica > #16910
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newspump.sol.net!post2.nntp.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail |
|---|---|
| From | Unknown <dog@gmail.com> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Chained-functional notation examples? |
| Date | Tue, 6 May 2014 06:26:46 +0000 (UTC) |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <lk9vb6$66t$1@smc.vnet.net> (permalink) |
| Lines | 29 |
| Organization | Time-Warner Telecom |
| NNTP-Posting-Date | 06 May 2014 06:33:02 GMT |
| NNTP-Posting-Host | 4fdc814f.news.twtelecom.net |
| X-Trace | DXC=B\li_W\e36R5Z7ckQf[m0VC_A=>8kQj6];[h;PUXBgbT3`G[5H2>>MREFiONJ7[GoVCNd5nZ76MQ_ |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | csiph.com comp.soft-sys.math.mathematica:16910 |
Show key headers only | View raw
I came to 'Mathematica' via Xahlee's criticism of the ad-hoc nature of unix-piping [functional notation]. He claims [& I believe him] that Mathematica has a better, more consistent notation. But the facility of PRE, IN & POST-fix alternatives, seems bad. You want ONE way of acieving the goal. More rules just increases mental load. A major benefit of functional [unix-piping] programming style, is that you don't need to remember the-full-journey: you just need to remember the previous stage's output. Nor do you need to remember several names: the previous output is just "it". A superficial read through a recent article[s] here, about <collecting data from several servers, and agregating it, and sending the result to a master> seemed very interesting, and matches my ideas of using functional programming. But I can't afford to invest in ANOTHER notation/syntax, without good prospect of productivety increase. Just as a test, how would Mathematica handle the following [or part of] little task: search all files in Dir=tree D | which are less than N days-old | and which contain string S1 | and which contain string S2 . Actually, this seems not a good example, since it's biased towards the *nix file system's format/syntax. Try: Search in table of ListOfOpenFiles for lineS with path-P [field] | which have same tty-field as line with path-P2 & program-M [field] This sounds like a data-base problem? Or is there a nice list of 'such' Mathematica examples? Thanks, == John Grant.
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar
Chained-functional notation examples? Unknown <dog@gmail.com> - 2014-05-06 06:26 +0000 Re: Chained-functional notation examples? Unknown <dog@gmail.com> - 2014-05-07 06:45 +0000 Re: Chained-functional notation examples? roby <roby.nowak@gmail.com> - 2014-05-09 06:06 +0000
csiph-web