00:00:00 --- log: started retro/10.09.11 05:53:00 docl: looks good so far 05:54:39 no_list dups it? 05:54:52 also what's sz and fr 05:55:28 z_tp eh?! 05:55:45 foucist: it's just a prototype 05:55:48 tp_fr_my_bng_holio 05:55:53 yeah 05:56:40 i'm just being a word naming police 06:07:36 ok :) 06:28:16 I cleaned it up a bit: http://gist.github.com/575177 06:54:05 --- join: docl (~luke@97-120-241-117.ptld.qwest.net) joined #retro 06:54:17 hi docl 07:50:48 crcx: you made it worse lol 07:50:56 camelcase is harder for me to type than underscores 07:59:20 --- quit: docl (Ping timeout: 240 seconds) 08:02:02 foucist: how so? it's one less key to hit :) 09:53:17 crcx: shift and - is consistent across the board 09:53:24 easier to read as well 09:58:36 readability is a matter of opinion :) 09:59:37 the easiest workaround is to add make names case insensitive and ignore _'s... which is easy enough to do 10:00:11 work day is done at last. a waste of 5 hours (very slow today) 10:01:38 crcx: what do you mean make case insensitive and ignore _'s ? 10:01:55 the _ adds the same thing that the capitalization adds, but does a better job of it anyways 10:02:06 that is, separation 10:02:31 _ is a far more efficient separator, you have to admit that 10:02:39 it's much more consistent 10:02:45 and much more noticeable 10:05:47 more noticeable because of the _ spacing it gives 10:06:04 more consistent because you're not dealing with reading different capitalized letters 10:06:18 S vs C vs D vs U vs A etc 10:07:53 crcx: my perspective about programming languages is very UX oriented because of my backgrounds in forth and ruby, one is notoriously write-only and the other is the total opposite :P 10:08:36 matz is a genius, just like chuck moore 10:09:14 except his genius revolved way more around how to make a programming language fun to read and write 10:09:40 he took the best of perl, lisp, etc and came up with ruby 10:14:24 i am not currently aware of any programming language that is as readable, as writeable, and as powerful (relative to the other qualities) as ruby 10:14:36 i mean, it is the most humane programming language that i'm aware of currently 10:15:11 it is incredibly terse and still readable & writeable, easy to understand and hack etc.. programmer velocity is pretty high w/ ruby 10:16:18 imo, forth is powerful, low-level, fully extensible, and has some similarities to ruby anyways 10:42:05 --- join: zachk1 (~geisthaus@unaffiliated/zachk) joined #retro 11:30:52 crcx: http://gist.github.com/575421 11:30:55 how's that? 11:31:11 i'm not entirely comfortable with buffer.add_to 11:31:21 but i think list.size is actaully a decent word name 11:31:33 instead of something as awkward as size_of_list 11:32:32 crcx: also i changed ifTrue to just if.. it makes sense that it would normally act like ifTrue.. you could also name it if.true 11:32:42 i guess using _ doesn't always work 11:33:04 a period is good for those situations where you're trying to talk about hte first aspect 11:33:07 i.e. list, buffer, if 11:33:39 if_true, list_size, buffer_add_to would be a little incongruous 11:37:12 crcx: if.true would be the default behavior of if right? 11:37:28 if.false == unless 11:37:44 --- join: docl (~luke@97-120-241-117.ptld.qwest.net) joined #retro 13:34:39 yes, the default behavior of a standard if is: if ...true... then 13:37:55 I suppose underscores can work ok, depending on font choice. Some fonts have very thin underscores, which makes the code harder to read quickly 13:41:07 regarding case sensitivity and ignoring underscores; I could have retro treat getLength and get_length the same, by ignoring case and underscores; but I'm not so sure that's a good idea 13:52:00 crcx: yeah i'm not advocating that.. be better to just call it get_length from the get go and stop using weird fonts ;) 13:52:25 _ shows up great in monospaced fonts anyways 13:52:30 do you not use monospaced fonts? 13:52:50 I use monospaced fonts most of the time 13:55:06 the antialiasing settings may be having an impact on the visibility though 13:55:19 are you using an IDE or something? 13:55:27 where's your java influence coming from 13:55:39 what java influence? 13:56:32 C# influence? 13:56:42 where's the camelcase influence coming from 13:57:01 and the dislike for _ :P 13:57:40 oberon and smalltalk 14:04:28 both use camelcase; smalltalk uses it with the lowercase first, uppercase in middle like I've been doing in retro lately 14:05:27 foucist: as a _ hater myself, for me it comes from reading bell labs code 14:05:31 underscores are more noticable with antialiasing turned off in the terminal 14:05:52 you won't find variables with underscores in the old unix or plan9 sources, and i really like how they look 14:35:09 well, what else is underscore supposed to be good for? 14:36:02 having the first letter be lowercase but sprinkling uppercase letters in there seems inconsistent to me. 14:36:46 docl: it's only inconsistent if you have CamelCase and camelCase words :) 14:37:21 camelCase drives me crazy. much prefer CamelCase :) 14:38:19 the camelCase comes mostly from my work on smalltalk on and off over the last couple of years 14:39:06 yeah if I actually had experience using it I probably wouldn't be complaining 14:39:40 but it seems out of place in forth when most of your words are little three to five letter symbols 14:40:58 I'd rather see something like strlen instead of getLength 14:41:09 : strlen getLength ; 14:41:17 :) 14:49:11 : alias: create dup @last !d->xt xt->d @d->class @last !d->class ; 14:49:32 err, wrong one 14:49:33 with quotes' 14:49:33 : alias d' dup @d->class [ @d->xt : , ` ; ] dip reclass ; 14:49:33 without 14:49:39 alias getLength strlen 15:04:51 crc: what terminal program/font are you using? 15:05:05 Terminal.app; monaco 9pt 15:05:06 i'm using osx Terminal.app w/ antialiasing and it looks fine i think 15:05:07 hmm 15:05:40 i'm using panic sans, it's a derivative of bit vera or some such 15:06:27 monaco looks pretty good with antialiasing off 15:07:41 crc: try this http://www.foucist.com/files/Panic%20Sans.dfont 15:08:00 monaco is pretty good though 15:08:15 i don't recall any toruble with _ in monaco 15:09:19 crc: i use 16pt btw, 110x34 for the terminal window 15:09:26 on my 13" macbook monitor 15:10:05 I'm using 9pt, 115x35 on a 19" monitor 15:10:29 I can't open the Panic Sans.dfont 15:10:34 hmm 15:10:37 lemme check again 15:12:21 crc: do you have Coda ? it's in Coda.app/Contents/Resources/Panic Sans.dfont 15:12:29 no coda 15:12:40 i don't know why my copy wouldn't work for you does it show up as a font file for you? 15:13:03 crc: try renaming the end of it to .ttf 15:13:07 I'm wondering if something isn't configured right... hold on 15:13:11 or maybe just load it up in fontbook 15:13:18 Font Book 15:14:35 got it 15:16:05 font forge stole the file association 15:21:57 docl: http://gist.github.com/575616 and retro'll convert all strings to lowercase before doing comparisons 15:34:20 crc: do you like the panic sans font? 15:34:29 it looks nice 15:34:44 designed for coders i reckon 15:34:52 spacing of stuff is a little better than monaco 15:35:35 yiyus: what did bell labs code look like? was _ abused in some way? :P 15:36:17 crc: did you turn antialias back on 15:36:37 on for the tab with panic sans, off for the tabs with monaco 15:37:05 crc: i recommend a higher pt too.. why not ? :P 15:37:08 why strain the eyes too much ;) 15:37:19 11pt on a big monitor ftw ;) 15:37:32 11 or 12 15:42:30 10pt 15:42:47 panic sans sucks with antialias off 15:48:12 foucist: not at all, they did not use it, they use really good name conventions 15:48:25 see http://www.lysator.liu.se/c/pikestyle.html 15:55:51 * docl is using Terminus font 15:56:04 yiyus: I agree, that looks like good style to me. 16:00:24 crc: I agree with the decision to use ' after the name of a chain to visually clarify what it is. 16:03:53 docl: thanks; it seemed like a good idea to me 16:20:39 Terminus is nice. I hadn't realized how much I missed it. 16:50:29 --- quit: zachk1 (Ping timeout: 276 seconds) 17:09:42 --- quit: docl (Ping timeout: 245 seconds) 18:13:18 --- join: docl (~luke@97-120-241-117.ptld.qwest.net) joined #retro 18:16:18 docl: i have terminus but panic sans looks better to me for some reason 18:16:22 less blocky i guess 18:16:39 hmm. I can't get panic sans to work on putty. 18:17:25 docl: in windows? it needs .ttf / 18:17:27 ? 18:17:57 foucist@macbook library/Fonts % file Panic\ Sans.dfont 18:17:57 Panic Sans.dfont: MS Windows icon resource 18:17:57 foucist@macbook library/Fonts % file Terminus.ttf 18:17:57 Terminus.ttf: TrueType font data 18:30:59 I wonder if I can find a ttf version of it 18:31:44 oh, it's a clone of deja vu sans mono 18:32:12 hmm, not bad 20:10:26 http://gist.github.com/575798 20:10:43 playing around with the capitalizations 20:11:09 the accept word doesn't work though. not sure why. 20:13:22 ooh, loop needs a number 21:01:47 docl: don't do 0; in a [ ] loop 21:02:24 docl: loop and loopi are built around for/next, they have indexes, etc tucked away on the address stack 21:03:38 ahh 21:15:52 I'll add notes on this to the documentation tomorrow 21:21:03 is there a non-counted loop for quotes? 21:28:43 http://gist.github.com/575798 21:29:18 working :) 21:36:17 --- quit: crc (Ping timeout: 240 seconds) 21:36:41 --- join: crc (~charlesch@184.77.185.20) joined #retro 22:30:46 http://gist.github.com/575873 23:03:37 --- quit: yiyus (Ping timeout: 265 seconds) 23:09:41 --- join: yiyus (~124271242@67.202.106.57) joined #retro 23:26:52 --- quit: yiyus (Ping timeout: 272 seconds) 23:26:54 --- join: yiyus (~124271242@67.202.106.57) joined #retro 23:52:55 --- quit: crc (Ping timeout: 240 seconds) 23:53:27 --- quit: docl (Ping timeout: 245 seconds) 23:54:53 --- join: crc (~charlesch@184.77.185.20) joined #retro 23:59:59 --- log: ended retro/10.09.11