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

[REBOL] Rebol Tech, please answer. Two questions. Re:(2)

From: petr:krenzelok:trz:cz at: 13-Sep-2000 11:20

[rebol--techscribe--com] wrote:
> Hi Keith, > > you wrote: > >blk: [11 22 33 44 55] > >print skip blk 3 > >44 55 > > > >Why not (print skip 3 blk) instead of (print skip blk 3)? > > My $0.02: Two related explanations. Because: > > 1. REBOL is a mind-mapping language. > 2. Consistency makes REBOL easier to learn and to remember. > > Somewhat longer explanations of what I mean follow: > > 1. skip 3 blk > > "skip 3 ..." > > Why 3? Because the element I'm interested in is in the third position. > > It is? How do I know that? Because I know what block blk contains, and > therefore I know that the element is in some position in that block, > namely, in the third position. >
OK Elan, I don't feel myself so experienced as you surely are, but how e.g. 'save fits your rebol language philosophy? save %where what ... It was the most confusing thingy once I first came to the language. Maybe just czech language mind mapping works a little bit differently :-), but imho we first think of what we want to save - as to save the content is on some purpose - e.g., prevent loosing data, and only then we decide, where to store it, as it is just secondary problem ... So? :-) Thanks, -pekr-