Hacker News new | ask | show | jobs
by lynaghk 2932 days ago
Thanks for trying it out, and I 100% agree with you that it's helpful to "think through all the states that the application can be in".

I'd consider Sketch.systems a huge success if the only thing it achieves is teaching UX designers how to think of behavior in terms of states. (And reminding programmers, since coding sometimes makes easy to skip thinking about states and just keep nesting callbacks =P)

Re: Syntax --- the spec language does support comments: all characters following an octothorpe (`#`) will be ignored.

See this "egg timer" sketch for an example: https://sketch.systems/lynaghk/sketch/32bb376ee5c9dc9bf26012...

I'll add comments to the default spec so that they're more discoverable.

Can you be more specific about what else you'd like to see "fleshed out" in the syntax? Thanks for the feedback, I appreciate it!

1 comments

The transition names aren't scoped.

Typing breaks the diagram until you've correctly typed the line. It should ignore the line if it's not syntacticly correct, or you could have the diagram show an error.

It needs functions, or at least function names, that lead to different states.

Interesting though.