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

[REBOL] Blocks outside the box

From: Carl::rebol::com at: 12-Jul-2003 2:35

Interesting title, don't you think? I don't want to start religion wars, but the correct way to write REBOL blocks is: [ item1 item2 ] Not: [ item1 item2 ] The reason is that the container (the box) is not the contents. Both the [ and the ] belong to the higher layer of the structure, not one to the higher layer and the other to the lower layer. That's why we wrote a style guide from the start. It's here if you've not seen it: http://www.rebol.com/docs/core23/rebolcore-5.html#sect5.1. Please no flames, no religion. I've been around the block too many times. (Hey, good pun, but not intended.) Yes, you are free to do it however you want in your own code, but the standard is what we use at RT. -Carl