3 ms·
- You can have an always-on debugger while still factoring common code out of varying data. Subtext does this. - You can give things names after you create th
by kragen 5y ago
- You can have an always-on debugger while still factoring common code out of varying data. Subtext does this.
- You can give things names after you create them instead of before, and it's not clear that argument names are necessarily either necessary or sufficient for code reuse. Subtext makes it easy to change argument names whenever you want.
- It's reasonable to describe Subtext as a programming-by-example environment, and it does support nesting—in fact, it's rather pervasively nested. An alternative approach is to solve your problems without hierarchical, nested structures. SQL and co-dfns are two interesting directions there. I wrote an overview of this kind of thing five years ago: http://canonical.org/~kragen/memory-models/ http://canonical.org/~kragen/memory-models/
- hathawsh 5y agoGreat responses. Thank you. Subtext does seem like an interesting attempt to expand the kinds of problems spreadsheets can solve.
- kragen 5y agoSubtext isn't a spreadsheet, so I don't think it's fair to describe it as an "attempt to expand the kinds of problems spreadsheets can solve".
- TuringTest 5y agoIt works to solve the same space of problems, so at least it's fair to compare it as an alternative. As I said elsewhere, it's a pity that its chosen license works directly against widespread adoption. I may take a look at how it's done to gather some implementation ideas, but I would never depend on it for any project that have a chance of growth.
- kragen 5y agoIt doesn't work to solve the same space of problems as spreadsheets either, nor is it fair to compare it as an alternative, except in the sense that any programming language is an alternative to spreadsheets. The thing here that's licensed in a not-very-useful manner is a prototype of a prototype, less complete than some previous iterations of Subtext, and in particular without implementation ideas.
- TuringTest 5y agoThe author explicitly says that it "is searching for the missing link between spreadsheets and programming", so I gather form that that JonathanMEdwards actually thinks of this as fulfilling the role of spreadsheets in "build[ing] simple custom apps without learning to program". Other programming languages are not alternatives to spreadsheets in that sense.