Email or username:

Password:

Forgot your password?
7 comments
dotemacs

@nikitonsky good article.

About adding the diagrams, nice idea.
Emacs can sort of do that via easydraw: github.com/misohena/el-easydra

It's a full blown diagram editor.
But I guess the down side is that it's not cross-editor supported.

shikanoko nokonoko

@nikitonsky Emacs can do this ootb!

It's called iimage-mode

Gleb Voropaev 🐍

@nikitonsky

Interesting. It’s pretty clear that in case of ‘level 3’ code must be able to declare dependency on diagrams in order to be able to use them.

But could diagrams be dependent on code too? For example, this feature could be useful for declaring handlers for processing state transitioning.

But I can’t wrap my head around how UI for editing such diagrams would look like 🫢

Niki Tonsky

@gvoropaev yes, dependencies both ways. Just think of a diagram as another module

Zaͩnͦsͤt̀́rͤa̅̆̈

@nikitonsky Nice writing about visual programming. One open door (since you also work on HumbleUI): I always liked the .nib-files (NeXTStep/Mac/iOS) as a way to draw your user interface visually. Now this has been replaced by SwiftUI. That's going the opposite direction. Or is it?

Niki Tonsky

@doekman never worked with them (that’s from interface builder, right?), so I can only guess.

Drawing your screen visually is fine until you have dynamic parts in it, I guess. If most of your UI is dynamic, drawing it must be painful. If most is static, then sure

Zaͩnͦsͤt̀́rͤa̅̆̈

@nikitonsky To be honest, I haven't used it extensively... I used some dynamic stuff like tab-bars, but I guess in more complex layouts there might be problems on the way…

Go Up