Live data from Hacker News

Ask HN: More “experimental” UIs for editing/writing code?

news.ycombinator.com

21–30 of 137 posts

Re: Ask HN: More “experimental” UIs for editing/writing code?

#21

Have you heard of the Unison Codebase Manager (ucm)? In Unison ( https://www.unison-lang.org/ ) all code is stored as its AST and then you can 'chat' with ucm asking it for specific type signatures for example. Also the text you write as code really is just an intermediate representation and theoretically ucm could give you all sorts of different views on your code.

So it's Lisp with uglier syntax?

I’m sure a lisp-like frontend could be made for unison.

Re: Ask HN: More “experimental” UIs for editing/writing code?

#22

Those who cannot form a complete sentence resort to grunting and body language. When you learn to code, you'll have many fine text editors to choose from.

I’d argue that dance is at the very least able to express a _different_ set of concepts than language, often times more directly. Example: intimacy of dancing with a romantic partner offers a different and valuable form of expression than verbalizing the emotions.

Formal language is certainly the most effective mode of communication for some things, but don’t discredit the value of other forms.

Also, this comment seems to discount the spirit of the post without offering any real reasons why.

Re: Ask HN: More “experimental” UIs for editing/writing code?

#24
Here's a nice document with many programming interfaces by Johnathan M. Edwards

    1948 Plugboards
    1949 Keypunch
    1963 Teletype
    1970 VT05
    1980 Symbolic Lisp
    1980 Smalltalk
    1986 Boxer
    1987 Self
    1987 HyperCard
    1987 Alice Pascal
    1991 Visual Basic
    1991 AgentSheets
    1994 SK8
    1996 Squeak/eToys
    2001 Eclipse
    2003 Flash MX
    2005 Scratch
    …
    
https://docs.google.com/presentation/d/e/2PACX-1vSPuf3eQ2tlC...

Re: Ask HN: More “experimental” UIs for editing/writing code?

#26

Have you heard of the Unison Codebase Manager (ucm)? In Unison ( https://www.unison-lang.org/ ) all code is stored as its AST and then you can 'chat' with ucm asking it for specific type signatures for example. Also the text you write as code really is just an intermediate representation and theoretically ucm could give you all sorts of different views on your code.

So it's Lisp with uglier syntax?

in lisp, you don't know what a given symbol means out of context (i.e. imports/macros in the environment). in unison, all functions are content-addressed so you can literally send code over the wire and dependencies are automatically resolved. it's a really cool system!

Re: Ask HN: More “experimental” UIs for editing/writing code?

#27
I one time did a project entirely in notepad. Not notepad++. But the standard notepad that comes with Windows. It was a time when I got tired of frameworks and IDE's that come and go and try to offer things more conveniently. Again having to learn about some new kid on the block. Having to depend on 3rd parties. I wanted everything to be vanilla.

What's interesting is how this forces you to think carefully about structuring your files, folders and code. It also allows you to leverage the Windows files explorer and have your code opened in multiple windows.

I'm now using VS Code. I hate how the file explorer jumps around when closing a tab (because it tries to select whatever other tab becomes visible). VS Code also doesn't allow me to easily open my files in multiple windows. Meanwhile we have browsers that allow us to freely open windows or tabs.

Re: Ask HN: More “experimental” UIs for editing/writing code?

#28

Have you heard of the Unison Codebase Manager (ucm)? In Unison ( https://www.unison-lang.org/ ) all code is stored as its AST and then you can 'chat' with ucm asking it for specific type signatures for example. Also the text you write as code really is just an intermediate representation and theoretically ucm could give you all sorts of different views on your code.

How different is this from a language server?

Re: Ask HN: More “experimental” UIs for editing/writing code?

#29
I recently discovered the Apple Numbers formula editor UI. It’s surprisingly minimal and nice, it does a good job blending text editing and visual blocks. It’s somewhat reminiscent of scratch or blockly IMO.

Edit: adjust autocorrect spelling choices

Re: Ask HN: More “experimental” UIs for editing/writing code?

#30
post #26

Earlier quoted context omitted.

So it's Lisp with uglier syntax?

in lisp, you don't know what a given symbol means out of context (i.e. imports/macros in the environment). in unison, all functions are content-addressed so you can literally send code over the wire and dependencies are automatically resolved. it's a really cool system!

Sounds interesting, but considering it is content addressed, I think by sending code over the wire you are also sending its dependencies as well? Otherwise the recipient can't figure out the dependencies when they encounter hash mismatch (assuming some dependencies aren't in the web). If dependencies are sent as well, how difference is this from the lock file approach used by other languages?
Post reply on HN