...and Java.
You know you've got it bad when you start thinking about your allergies, and how you could make an applied solution, and then start using Java syntax to script yourself a specific servitor -- then you stop, because you realize that you'll need to make a base class for little HypoAllergen ...
I'm not done scripting the Servitor class for myself yet. I'm overloading the constructors so the Servitor will be a safe construct -- no Sorcerer's Apprentice -- no matter how I specify the parameters. Properly initially scripted, it should be a safe basis for even the inexperienced Worker to start off from.
I am of course taking some rather extreme syntax liberties, this not being runnable Java code at all, just a framework for the Java-speaking mind to wrap itself around.
Cleaned up a little from my original journalscribblings. I think it an interesting concept, one worth investigating a little more.
You know you've got it bad when you start thinking about your allergies, and how you could make an applied solution, and then start using Java syntax to script yourself a specific servitor -- then you stop, because you realize that you'll need to make a base class for little HypoAllergen ...
I'm not done scripting the Servitor class for myself yet. I'm overloading the constructors so the Servitor will be a safe construct -- no Sorcerer's Apprentice -- no matter how I specify the parameters. Properly initially scripted, it should be a safe basis for even the inexperienced Worker to start off from.
I am of course taking some rather extreme syntax liberties, this not being runnable Java code at all, just a framework for the Java-speaking mind to wrap itself around.
public class Servitor
{
protected body Form;
protected will Purpose;
protected bool Purpose.complete;
protected energy Juice;
protected scope Duration;
public Servitor()
{
Form = sphere(dia=3in);
Purpose = null;
Juice = sparkle(1);
Duration = hour(24);
}
public Servitor(body Bod, will Mot, energy En, scope Dur)
{
Form = Bod;
Purpose = Mot;
Juice = En;
Duration = Dur;
}
public Servitor(will Mot, Energy En)
{
Servitor();
Purpose = Mot;
Juice = En;
Duration = while(Purpose.complete == false);
}
.
.
.
.
}
Cleaned up a little from my original journalscribblings. I think it an interesting concept, one worth investigating a little more.