On 01/08/2017 05:38 PM, Spork Schivago wrote:
Daniel,

I'm sorry for butting in here, but is there no easy to way to write the
code without using the goto statements?   I seem to remember using
goto's was frowned upon by some programmers back in the day, at least
with the C programming language.  I don't mean any offense by this and
you probably know the code best.   If goto's are the only way, I
understand.   I was just curious if there was another way.

You may be going all the way back to the days of Pascal wherein, yes, a
goto was not only frowned upon but considered very poor code. However if
a "goto" a label sorts out a simple problem without the creation of some
nasty spagetti then no, it isn't a big issue.  Overuse of anything is.

Dennis


-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to