Skip to main content

Search

Items tagged with: interfaces


So, folks who build web sites, I just added this conditional syntax to Kitten HTML template strings. Thoughts?

(See third code example. The is().yes().no().endIs() function chaining. My goal is to provide an alternative to the JavaScript ternary operator that’s easier to read. Does this succeed? Any suggestions?)

https://codeberg.org/kitten/app#how-many-kittens-are-too-many-kittens

#interfaces #code #design


E-Ink Design Principles for Web and Applications
... I’ve looked for existing sets of guidelines without luck, so apparently I get to draw my own line in the sand. An earlier version of this post proved popular on Mastodon, I’m expanding it here. This is a first effort and some of my suggestions may not hold up, though I hope most will. Further discussion on that point at the end of this post....
  • Persistence is free
  • Pixels are cheap
  • Paints are expensive ...
(more at link)

https://diaspora.glasswings.com/posts/638a8d10e041013afba8448a5b29e257

This is based off an earlier toot as part of a longer thread, here:

https://toot.cat/@dredmorbius/108595472904617729

I felt this needed and deserved a post-length treatment and so it has one.

I'd very much like to hear criticisms / improvements.

# # # # # # # #