4 ms·
"...unscripted programming language..." Is that like impromptu programming?
by ndonnellan 11y ago
"...unscripted programming language..."
Is that like impromptu programming?
- slater 11y agoJust in time!
- zachrose 11y agoIt's when your program is a bag of values and side effects, with one interface that does something.
- ForHackernews 11y agoMalbolge? https://en.wikipedia.org/wiki/Malbolge https://en.wikipedia.org/wiki/Malbolge
- logicallee 11y agoNo, but you just assigned a name to a programming paradigm that has been on my mind for ten years. EDIT: since two of you asked. it's not a big deal, just that you should be able to use "it", "this" or "that" with your IDE and interactively (unscripted, or impromptu) get it to name your long variables. Likewise for what you mean by functions and so forth. Then you could say somethinhg like, "Siri, double the value before you pass it to the function, then take what it returns and if it is greater than zero...." and it should be able to make some guesses as to which C++ block you meant. (i.e. present you 4-8 variations or interactively ask you, "Did you mean if the first value is greater than zero, or if the value the function returns is greater than zero?" Then after all that your impromptu session is not saved, only the one you ended up selecting is. It's sort-of like Googling for code, but with the difference that the machine makes all sorts of different guesses, and you just pick the one you mean. (When you Google for code you're doing practically the same thing, entering a tree where you descend first by which link you click in the search results, and next by which answer you select on the page...) I still think it must be faster than typing, but until there is an unscripted/impromptu programming environment we'll just have to wait to see....
- PhasmaFelis 11y agoI'm curious now.
- EC1 11y agoGo on..
- klipt 11y ago> "Siri, double the value before you pass it to the function, then take what it returns and if it is greater than zero...." y = 2x; if (y>0)... Seems way faster to type (or say), and much less ambiguous than using "it", "this" or "that" ;-)
- logicallee 11y agoy equals sign 2x semicolon if open parentheses y greater than zero close parantheses, open braces... of course it seems easier to you, after you've taken the time to learn a language and know the syntax by heart. Now do the same thing in a language and framework whose features you want to use but which you haven't learned yet.
- cbsmith 11y agoWhen you think about what it has done for television, it's hard not to be excited about what unscripted programming might bring.