News for hackers. Stuff that matters.
Re:Discord is ditching Electron and its new app uses less RAM by eviks on Thursday November 05, 2026 @11:06AM (#50380873)
One improvement could be a better way to group and elide units, e.g.

Instead of

.border_1().border_color(rgb(0x0000ff))

You get

.border(1 0x0000ff)

(guess, this can only be in a macro)

Or at least have "color" which understands that it's allied to border instead of having to repeat "border"

> I don't think that it can be substantially better

Don't give up too early, there is no way it can't be, we don't really have any good systems optimized for ergonomics to reach anything great

Re:Discord is ditching Electron and its new app uses less RAM by c-smile on Thursday November 05, 2026 @03:04PM (#50383750)
> .border(1 0x0000ff)

After 10 or so of those you'll start dreaming of

   border-left: 2px solid rgb(0 0 100%);
right?
Re:Discord is ditching Electron and its new app uses less RAM by eviks on Friday November 06, 2026 @02:28AM (#50389258)
If you're dreaming, why would you stop at that when you could dream of much more visually compelling solid left thick border in a single symbol

┠

or more explicitly

├2

that'd be perfectly paired with a dream-like visual designer that doesn't exist?