4 ms·
What we need is better tooling. First of all, stop pretending that structured (one of world's most complex structured) description of commands and expressions i
by wruza 10y ago
What we need is better tooling. First of all, stop pretending that structured (one of world's most complex structured) description of commands and expressions is "just a text". If programming environments stored sources as structured items, it would be easy to give an entity many names (e.g. human description, full qualified name, short name in current module, and shortest scope/mind-local alias). And then switch modes from 'first time reading' to 'familiar development' (or 'lawyer style', where descriptive names appear only in appropriate places and assertions are visible). Similar issues we have with formatting, ridiculous tabs-vs-spaces wars, encodings, even with line endings.
Try to open raw html/css instead of using browser to view modern website. Hard to get the picture? Yeah, and that's where we are in programming today.
- alistproducer2 10y agoupvote for the interesting idea. To your knowledge is there any IDE out there with such a feature?
- wruza 10y agoNope. At least my annual efforts to dig into that direction always fail. It seems, that there is something: literal programming, html-based prolog posted here recently (someone please help to recall its name). But it is not exactly that. And it always contains esoterics under the hood. I want C, C++, Perl, Java, anything mainstream; not Prolog. I'm too busy and too single to make prototype on my own (and more related ideas on top of that in thoughts.txt). I've posted this in forum comments for years, and sometimes got critics that made me temporarily think it is just another view on existing techniques (as of company-wide, not person-wide). Now I run the company and this got only more demand. Honestly, maybe I'm just doing existing things wrong, idk.
- alistproducer2 10y agoI could see this being an eclipse or notepad++ plug in.
- ilaksh 10y agohttp://projectured.org http://projectured.org https://www.jetbrains.com/mps/ https://www.jetbrains.com/mps/ https://en.m.wikipedia.org/wiki/Structure_editor https://en.m.wikipedia.org/wiki/Structure_editor https://en.m.wikipedia.org/wiki/Intentional_programming https://en.m.wikipedia.org/wiki/Intentional_programming https://martinfowler.com/bliki/ProjectionalEditing.html https://martinfowler.com/bliki/ProjectionalEditing.html https://news.ycombinator.com/item?id=12205757 https://news.ycombinator.com/item?id=12205757
- wruza 10y agoWord 'Jetbrains' in this list looks very promising, I'll definitely give it a try on spare time. Thanks!
- MarisaKirisame 10y agoThe html based prolog thing you mention is probably eve.
- wruza 10y agoRight, http://witheve.com/ http://witheve.com/
- gohrt 10y agoCharles Simonyi has been trying for over 20 years https://www.microsoft.com/en-us/research/publication/the-death-of-computer-languages-the-birth-of-intentional-programming/ https://www.microsoft.com/en-us/research/publication/the-dea... http://www.intentsoft.com/us/ http://www.intentsoft.com/us/ <-- in "stealth mode" for 10 years!
- TeMPOraL 10y agoClosest aspects I saw that touch this idea: - automatic refactors in Java IDEs, especially "rename" - they understand what you mean by "this variable" or "this function", at least most of the time - Paredit mode in Emacs, for working with Lisp code; if you learn it, you start feeling you're actually working with a tree, and not its textual representation
- tacostakohashi 10y agoThis isn't a million miles from what you get with Javadoc + Eclipse, where if you hover over an item you see the snippet of Javadoc attached to it where it was defined (i.e., in some other sourcefile, or jar). A few key points that make this useful: The documentation snippets are attached to specific methods, parameters, classes, etc - like in Javadoc or Doxygen. You don't have to wade through stuff you care about to find out about the the thing you care about (under your mouse).