Blogs

More readable code with less typing

How do you get back into your code after a week of doing something else?

  • Start reading and put comments to what you don't understand.
  • Add the categories you left out last week.

Both tasks involve a lot of typing, but that can be alleviated by using
features of your favorite text editor, vim in my case.

GtkLauncher is dead long live VisualGST

Hi,

I am working on the debugger for VisualGST :


imagik.fr

Now you can step, step into, run and inspect the stack.

http://visualgst.bioskop.fr/

Cheers

reboot required - a short tale

So here I am, happily hacking along at my first Iliad web application, when I get all fancy and want to set it up on a public server.

Heh ... a bit of fiddling required, since neither "my" Iliad nor "my" gst are out of the box anymore, but applying two patches is not too hard work.

Now I have everything ready: patched gst starts the REPL, gst-package builds OnlineTester.star, gst-load -viI ot.im OnlineTester ... throws an error, while starting Swazoo. Ah, yes, I think quickly, that port is already in use here. So I change, rinse and repeat ... and the error is still there. A FileError? When opening a socket. What?

DRY package description ... in Smalltalk

So here we go again ... this time using native Smalltalk code to describe package contents in a DRY way:

Eval [
  PackageBuilder new
    name: 'MyPackage';
    namespace: 'MyNamespace';
    prereq: 'Package1';
    prereq: 'Package2';
    ...
    testsBelow: 'Tests' matching: '*.st';
    filein: 'File1.st';
    filein: 'File2.st';
    ...
    buildXml
]

Iliad examples explained part II

Tagged:

In the previous part, I explained the basic concepts behind Iliad Applications and Widgets, through the simple counter example. This part will show how to use Magritte to automatically build views and editors with data validation.

Syndicate content

User login