[Python-ideas] Dart-like method cascading operator in Python

Henshaw, Andy Andy.Henshaw at gtri.gatech.edu
Fri Nov 22 16:24:22 CET 2013


For what it's worth, if this idea ever gets to the bikeshedding phase, I think the following looks pretty nice in my editor:

gnuplot.newPlot()::
  |set("xrange [0:5]")
  |set("yrange [0:20]")
  |newPlot()::
      |addSeries("Linear", [1,2,3])
      |addSeries("Quadratic", [1,4,6])
  |run()

-- Andy Henshaw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131122/3d96f2a2/attachment.html>


More information about the Python-ideas mailing list