2017-06-25 12:13 GMT-04:30 Tobias Boege :
> PICCORO, read this mail at your own risk. I won't accept invoices for
> wasting your professional time.
>
you forgive it the EULA M$ license ;-)
Oh wow, that's a high footstool you're sitting on.
>
well its due there's only one source of A&Q for gambas
People gave you good correct answers. Gambas is not C, and you cannot fix
bad code structure by using goto.
Remember that people here are spending quite a lot of time to decrypt your
messages to be able to help you. And you don't even bother to use spell
checker.
Little bit respect towards others.
>
> On Sun, 25 Jun 2017, PICCORO McKAY Lenz wrote:
> > this are poor ilustrated to most of users here in the list due i think
> > nobody here know (in experience) code in assemble like me..
>
> Lenz, I think you should pay attention to what Tobi has said. Very
instructive and comprehensive (althoug
PICCORO, read this mail at your own risk. I won't accept invoices for
wasting your professional time.
On Sun, 25 Jun 2017, PICCORO McKAY Lenz wrote:
> due to many inconsistence responses i must spend time (again) to
> investigating..
>
> the problem of goto comes from C to object conversion compi
2017-06-25 6:31 GMT-03:00 Christof Thalhofer :
>
> > I never understood the religious cruzification of Goto.
>
> No doubt you can use a GOTO in a effective and understandable way.
Especially if you are just jumping a few lines downwards as you mentioned.
But my 40-year long experience with more t
due to many inconsistence responses i must spend time (again) to
investigating..
the problem of goto comes from C to object conversion compilation..
many goto's produce many labels and "jump"'s in assembler code translation
when a C program are compling.. so the resulting program will be more
slo
Am 22.06.2017 um 16:10 schrieb PICCORO McKAY Lenz:
> so i put
>
> if not isnull()
> goto codepiecelabel1
> endif
> ' amount of lines
>
> codepiecelabel1:
> ' here the 4000 lines
>
>
> i cannot use a sub procedures due manage some variables
I never understood the religious cruzification of
On Thu, 22 Jun 2017, PICCORO McKAY Lenz wrote:
> > i only use to avoid a similar to this:
> >
> > if isnull(value ) then
> >' amount of 4000 lines of code
> > else
> >' amount of other lot of lines
> > endif
> > if not isnull()
> > goto codepiecelabel1
> > endif
> > ' amount of lines
>
Sent: Thu, 22 Jun 2017 16:24:02 +0200
Subject: Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make
influence in
the code?
> Based on your example, I would not find the code using GOTO any more
> readable. Quite to the contrary, instead.
> And I don't understand
of course was a simple lines.. the code are around 3000 lines.. yes its
complicated..
i have vision . of course.. make the work as JAva works, in the future
maybe i make a framework based on my eforces
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
2017-06-22 10:24 GMT-04:00 Crist
Based on your example, I would not find the code using GOTO any more
readable. Quite to the contrary, instead.
And I don't understand why you cannot use a sub. What's the problem with
variables that cannot be solved by passing the needed variables or using
globals?
Anyway, coding style is a matter
On Thu, 22 Jun 2017, PICCORO McKAY Lenz wrote:
> 2017-06-22 10:00 GMT-04:00 Jussi Lahtinen :
>
> > Usually the problem with goto is that it can render the code hard to debug
> > or read.
> >
> AH OK, so in large complex dependences must be avoid..
>
> i only use to avoid a similar to this:
>
> i
2017-06-22 10:00 GMT-04:00 Jussi Lahtinen :
> Usually the problem with goto is that it can render the code hard to debug
> or read.
>
AH OK, so in large complex dependences must be avoid..
i only use to avoid a similar to this:
if isnull(value ) then
' amount of 4000 lines of code
else
'
Depends on situation. Usually goto is not needed, but it can be useful.
Impossible to say more without seeing the code.
Usually the problem with goto is that it can render the code hard to debug
or read.
Jussi
On Thu, Jun 22, 2017 at 4:21 PM, PICCORO McKAY Lenz
wrote:
> i have some GOTO to avo
Le 22/06/2017 à 15:21, PICCORO McKAY Lenz a écrit :
i have some GOTO to avoit large IF-ELSE code blocks and make readable the
code..
the usage of many GOTO instructions can be bad pracitce or make influence
in the code?
i remenber that in BASIC always tell me "dont use too much"
of course GAMB
i have some GOTO to avoit large IF-ELSE code blocks and make readable the
code..
the usage of many GOTO instructions can be bad pracitce or make influence
in the code?
i remenber that in BASIC always tell me "dont use too much"
of course GAMBAS IS NOT BASIC (umm that sound familiarr... ;-)
Len
16 matches
Mail list logo