3 ms·
This gives me an great idea. What if we put these variables into a grid displayed on the screen? Then you will be able to enter some values into some of the cel
by kazinator 12y ago
This gives me an great idea. What if we put these variables into a grid displayed on the screen? Then you will be able to enter some values into some of the cells, and the dependent ones update themselves automatically. The elements of the grid could be regarded as array elements indexed by coordinate, and use relative or absolute addressing to refer to each other's coordinates, making it easy to replicate dependency rules across rows and columns, to generate entire tables which update themselves.
- throwaway283719 12y agoSounds excellent.
- meowface 12y agoClever.
- seanmcdirmid 12y agoScaling would be quite difficult. I'm sure you could hack maybe a Turing machine out of this paradigm, but it would be ugly and mostly an esoteric exercise.
- pjc50 12y agoThe spreadsheet, the one "graphical programming language" to make it into widespread use by nonexperts.
- VLM 12y agoAnd in practice "use relative or absolute addressing" is resolved via random number generation. Any later problems resulting from confusing the two can just be fixed by filing tickets with IT. Also used as the corporate standard database management system and as what boils down to a mail merge client, and although this appears to outsiders as bad standup comedy, it is unfortunately merely factual. Possibly one of the quickest ways to measure the dilbertian level of rot of an organization is to propose a small database and ask what tool they'd use to hold that information. Mysql, OK. Postgresql, eh, OK. Oracle, ummm. Excel, find the exit door and start running. Microsoft Word, Cthulhu take us to end the agony. I've seen all of the above. And survived. Barely. Perhaps not with my sanity intact. edited: spreadsheets fit into the design pattern of jokes where you got a problem to fix, so you try to implement a spreadsheet to fix it, now you got two problems to fix. This is probably funnier in its original regex and perl and web framework variants.
- kyllo 12y agoWhat a novel idea! Seriously though, Angular gives you the ability to do this in the browser, here's an example of how to implement an Excel-like spreadsheet using Angular: http://thomasstreet.com/blog/legacy/spreadsheet.html http://thomasstreet.com/blog/legacy/spreadsheet.html
- sehr 12y agoIt's not really unique to Angular is it?
- kyllo 12y agoNo, I think the other major client-side MVC frameworks (Backbone, Ember, React) are also geared toward this reactive paradigm.
- kazinator 12y agoKenny Tilton's "Cells" project (Common Lisp) implements CLOS slots that are linked to other slots and automatically update. I believe this precedes the reactive programming fad by many years.
- taylodl 12y agoThat's what Lotus Improv did, twenty years ago. It was too radical for users at the time and so sales were pretty much nonexistent. https://en.wikipedia.org/wiki/Lotus_Improv https://en.wikipedia.org/wiki/Lotus_Improv
- kazinator 12y agoThat's also what VisiCalc did; released in 1981 on Apple II machines: https://en.wikipedia.org/wiki/VisiCalc https://en.wikipedia.org/wiki/VisiCalc