[fpc-pascal] Re: using exceptions

2012-01-04 Thread Lukasz Sokol
On 04/01/2012 12:49, Bernd wrote: > 2012/1/3 Lars : > >> But that just a goto statement going to the except label.. Exceptions in a >> way are actually forcing you to write your code in a GOTO way. > > I would see Exceptions as being more like the fabled COMEFROM, the > legendary counterpart of

Re: [fpc-pascal] Re: using exceptions

2012-01-04 Thread Marcos Douglas
On Wed, Jan 4, 2012 at 9:56 AM, Lukasz Sokol wrote: > On 04/01/2012 12:47, Marcos Douglas wrote: > > [i see I hit on the obvious so: cut] > >> >> I agree with you! But I was discussing the possibility do not using >> Exceptions. ;-) Another point is when and where uses Exceptions... >> that's what

[fpc-pascal] Re: using exceptions

2012-01-04 Thread Lukasz Sokol
On 04/01/2012 12:47, Marcos Douglas wrote: [i see I hit on the obvious so: cut] > > I agree with you! But I was discussing the possibility do not using > Exceptions. ;-) Another point is when and where uses Exceptions... > that's what they were discussing. > > Marcos Douglas Well I think the

Re: [fpc-pascal] Re: using exceptions

2012-01-04 Thread Marcos Douglas
On Wed, Jan 4, 2012 at 9:18 AM, Lukasz Sokol wrote: > On 04/01/2012 11:50, Marcos Douglas wrote: > >> Ok, I expressed myself poorly. >> When I said: "If we could return more than one value, ok we (maybe) do >> not need Exceptions." >> I mean: "If we could return more than one value, using a better

[fpc-pascal] Re: using exceptions

2012-01-04 Thread Lukasz Sokol
On 04/01/2012 11:50, Marcos Douglas wrote: > Ok, I expressed myself poorly. > When I said: "If we could return more than one value, ok we (maybe) do > not need Exceptions." > I mean: "If we could return more than one value, using a better way > than 'out arguments' or 'array of const', ok we (mayb

Re: [fpc-pascal] Re: using exceptions

2012-01-04 Thread Marcos Douglas
On Wed, Jan 4, 2012 at 8:35 AM, Lukasz Sokol wrote: > > On 04/01/2012 00:31, Marcos Douglas wrote: > [...] > >> Another interesting article is: > >> http://www.joelonsoftware.com/items/2003/10/13.html > > > > Very interesting and I agree when he say: > > "I think the reason programmers in C/C++/Ja

[fpc-pascal] Re: using exceptions

2012-01-04 Thread Lukasz Sokol
On 04/01/2012 00:31, Marcos Douglas wrote: [...] >> Another interesting article is: >> http://www.joelonsoftware.com/items/2003/10/13.html > > Very interesting and I agree when he say: > "I think the reason programmers in C/C++/Java style languages have > been attracted to exceptions is simply bec