4 ms·
That's cool, and compared to writing the code to do that manually, it's compact, but I'm having trouble imagining a worse syntax and naming scheme for achieving
by iandanforth 15y ago
That's cool, and compared to writing the code to do that manually, it's compact, but I'm having trouble imagining a worse syntax and naming scheme for achieving that task.
Give me this:
stream = OpenVideoStream(device)
render1 = stream.surf()
render2 = stream.sift()
etc.
display(outDevice, stream)
- psykotic 15y agoThe infix @ operator is just right-associative application, so a @ b @ c is synonymous with a[b[c]]. It plays the same syntactic role as $ does in Haskell for writing pipeline-style code.