On Monday 17 November 2008 20:54:42 Jose A. Ortega Ruiz wrote:
> Here's an initial attempt at proper indentation, according to my
> understanding of Ed's and Slava's guidelines. I haven't tested it
> thoroughly yet (it's getting a bit late here), so please play a bit with
> it if you have a little
Here's an initial attempt at proper indentation, according to my
understanding of Ed's and Slava's guidelines. I haven't tested it
thoroughly yet (it's getting a bit late here), so please play a bit with
it if you have a little time. Thanks!
---
The following changes since commit a9a28a3
"Slava Pestov" <[EMAIL PROTECTED]> writes:
> The correct indentation is "like C".
>
> The following is not idiomatic Factor, and people should not indent
> their code like this:
>
> { 10 20
> 40 50 }
Just to be sure: does that mean that people should always write a
newline after an opening br
On Monday 17 November 2008 16:26:53 Jose A. Ortega Ruiz wrote:
> Yes... except maybe when there're words before the opening brace?:
>
> a swap {
> 10
> 20
> } ! <- here (like C)
> } ! <- or here?
>
> Similar problems seem to exist for multiline []...
On Mon, Nov 17, 2008 at 4:26 PM, Jose A. Ortega Ruiz <[EMAIL PROTECTED]> wrote:
> Yes... except maybe when there're words before the opening brace?:
>
> a swap {
> 10
> 20
> } ! <- here (like C)
>} ! <- or here?
The correct indentation is "like C".
The
Eduardo Cavazos <[EMAIL PROTECTED]>
writes:
> Jose,
>
> If I start typing an array:
>
> {
> 10
> 20
> 30
>
> All the indentation is happening automatically. However, when I type the
> closing '}' it remains at the same indentation as the numbers. Perhaps it
>
Jose,
If I start typing an array:
{
10
20
30
All the indentation is happening automatically. However, when I type the
closing '}' it remains at the same indentation as the numbers. Perhaps it
should vertically align with the opening brace?
Ed
-