Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: PDF Maker

From: max:ordigraphe at: 16-Jul-2001 17:51

Isn't the human brain a nice thing.... it categorises stuff differently from people to people....
> > s> 'box > > s> 'box/solid > > s> 'box/line/width > > s> 'line > > s> 'line/width > > > > Hmm... these would be harder to parse, and I don't think > > "box/solid" would be more readable than "solid box"... Anyway I'll > > think about it. What do others think?
I prefer "USING" a line of code like: solid box boxsize vertical arrowed line here to there bold text "Title" normal Text "hey" rather than: box/solid boxsize line/arrowed/vertical here there text/bold "title" text/normal "hey" BUT when LEARNING code, I find the later IS easier to structure and seems easier to "try-out" as it is VERY clear that bold is a property of text and "theoretically" ;-) any other thing which has a "text" should also have the bold attribute... its also clear how you supply arguments (if it stays in line with REBOL's optional arguments scheme). in the former example, its a little bit confusing to try out new code and sometimes a little bit harder to edit, because it can become unclear as to what attributes are attached to what. imagine if REBOL's function all supplied their optional args as space-delimited parameters.. "@@@@AAAAAAAAAHHHH" that would be insanely hard to maintain. BUT, IMHO, I do think that for a rather conscice dialect such as a printing language... the former is more fun to use... as long as the tags stay very clear and the options aren't overwhelmingly numerous for each tag (which I don't really see being possible). just my two cent's worth. ;-) -Max << Don't rush me Sonny - you rush a miracle man, you get lousy miracles
>>
Miracle Max (Princess Bride) ------------- Maxim Olivier-Adlhoch