Uli's Web Site
[ Zathras.de - Uli's Web Site ]
Other Sites: Stories
Abi 2000
Stargate: Resurgence
Lost? Site Map!
     home | blog | moose | programming | articles >> blog

 Blog Topics

15 Most Recent [RSS]

 Less work through Xcode and shell scripts
2011-12-16 @600
 iTunesCantComplain released
2011-10-28 @954
 Dennis Ritchie deceased
2011-10-13 @359
 Thank you, Steve.
2011-10-06 @374
 Cocoa Text System everywhere...
2011-03-27 @788
 Blog migration
2011-01-29 @520
 All you need to know about the Mac keyboard
2010-08-09 @488
 Review: Sherlock
2010-07-31 @978
 Playing with Objective C on Debian
2010-05-08 @456
 Fruit vs. Obst
2010-05-08 @439
 Mixed-language ambiguity
2010-04-15 @994
 Uli's 12:07 AM Law
2010-04-12 @881
 Uli's 1:24 AM Law
2010-04-12 @874
 Uli's 6:28 AM Law
2010-04-12 @869
 Uli's 3:57 PM Law
2010-04-12 @867


Nice ideas for a future HyperCard...

Okay, so stumbling over that note on BASIC's fundamental design principles kind of got me reading Wikipedia, jumping from one link to the next. Here's a another interesting idea:

Program-by-example: Stagecast Creator (fka, KidSim/Cocoa) basically lets you define simple behaviors for objects (movement, for example). Then you just run the program, and every time something happens that might be interesting, it will ask you what to do. The page lists an example of how you can have several objects, have one walk from left to right, and when it collides with another object you'll be asked what to do, and you can e.g. tell it to "walk around" the other object. It's a very simple example, but I'm sure there's a way to use the general technique successfully in other programming endeavours. AppleScript's "record" feature kind of goes along similar lines... maybe one should combine these two?

A nice practical application of this is in CSSEdit's Preferences, where you edit a code sample and it automatically deduces from that whether you like your brackets on a line of their own, or on the opening line, or... Pretty simple to implement for the basics, because if you know your sample text, you can simply find the characters between the identifiers and then paste them into code when reformatting it.

Reader Comments: (RSS Feed)
No comments yet
Or E-Mail Uli privately.

Created: 2006-11-16 @942 Last change: 2006-11-19 @031 | Home | Admin | Edit
© Copyright 2003-2023 by M. Uli Kusterer, all rights reserved.