Re: [fpc-pascal] Re: Declaration of arrays

2013-06-18 Thread Rainer Stratmann
On Tuesday 18 June 2013 22:28:44 you wrote: > On 18 Jun 2013, at 22:22, Rainer Stratmann wrote: > > Yes that is with all kind of information if you don't have backgrund > > knowledge. > > Minimising the amount of required background knowledge and making > everything self-explanatory is a fundamen

Re: [fpc-pascal] Re: Declaration of arrays

2013-06-18 Thread Jonas Maebe
On 18 Jun 2013, at 22:22, Rainer Stratmann wrote: > Yes that is with all kind of information if you don't have backgrund > knowledge. Minimising the amount of required background knowledge and making everything self-explanatory is a fundamental part of the Pascal philosophy. > As reading your

Re: [fpc-pascal] Re: Declaration of arrays

2013-06-18 Thread Rainer Stratmann
On Tuesday 18 June 2013 22:10:51 you wrote: > Am 18.06.2013 22:02, schrieb Rainer Stratmann: > >> As for easy migration from C, do you really > >> think removing "0 .." (approximately 4 characters) is a benefit? > > > > Yes of course. In large programs it is helping you to be correct all the > >

Re: [fpc-pascal] Re: Declaration of arrays

2013-06-18 Thread Florian Klämpfl
Am 18.06.2013 22:02, schrieb Rainer Stratmann: >> As for easy migration from C, do you really >> think removing "0 .." (approximately 4 characters) is a benefit? > > Yes of course. In large programs it is helping you to be correct all the time > when migrating code. See also the statement of Alb

Re: [fpc-pascal] Re: Declaration of arrays

2013-06-18 Thread Rainer Stratmann
> As for easy migration from C, do you really > think removing "0 .." (approximately 4 characters) is a benefit? Yes of course. In large programs it is helping you to be correct all the time when migrating code. See also the statement of Alberto. > anyway, a change in the converter should be m

Re: [fpc-pascal] Re: Declaration of arrays

2013-06-18 Thread Alberto Narduzzi
On 18/06/13 18:42, leledumbo wrote: well, to be honest, int hahaha[10] -> hahaha: array[0..9] of integer; it is not just adding "0.." anyway, a change in the converter should be more adequate, IMHO, that by default translates [X] into [0 .. X-1] just my 2c I think this was requested a lo

[fpc-pascal] Re: Declaration of arrays

2013-06-18 Thread leledumbo
I think this was requested a long time ago but was rejected. I forgot what was the reason, but I myself don't really like it despite it's upward compatible with Oberon. As for easy migration from C, do you really think removing "0 .." (approximately 4 characters) is a benefit? -- View th