News for hackers. Stuff that matters.
Re:Decker: A fantastic reincarnation of HyperCard with 1-bit... by msephton on Wednesday May 08, 2024 @03:20AM (#40295233)
> On the Mac, the alternative to Hypercard was to layout UI widgets in code, with no GUI builder at all

Don't forget ResEdit, version 1.0 released December 1985.

Re:Decker: A fantastic reincarnation of HyperCard with 1-bit... by SeanLuke on Wednesday May 08, 2024 @03:33AM (#40295307)
ResEdit edited the resource fork, not code, right?
Re:Decker: A fantastic reincarnation of HyperCard with 1-bit... by msephton on Wednesday May 08, 2024 @03:44AM (#40295382)
Right, but... the resource fork could contain code, as well as window definitions, graphics, icons, dialog boxes, menus, language translations, strings, and more.

Of course, generally you'd write source code as text and hook up your interface. Resource definitions could be written as text or laid out using a GUI tool, of which ResEdit was just one. And everything would be compiled during development. But none of that was strictly necessary.

Interestingly, early Palm OS worked exactly the same way - using resources. They took the concept and implemented their own version based on how the classic Mac system worked.

So, you could fix a bug in an app using only a resource editor without having access to the source code. I've done this on both systems!

Re:Decker: A fantastic reincarnation of HyperCard with 1-bit... by kalleboo on Wednesday May 08, 2024 @09:57AM (#40298187)
Although as someone who recently developed a brand new System 7 program (for #MARCHintosh this year), I can't really recommend using ResEdit to create your dialogs. It is missing so many conveniences such as snapping that it's actually easier to lay out your dialogs in Rez files.