Re: Re: if elseif elseif elseif....
| From: | haliphax | Date: | Fri, 06 Mar 2009 14:38:23 +0000 |
| Subject: | Re: Re: if elseif elseif elseif.... | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289460@lists.php.net to get a copy of this message | ||
On Fri, Mar 6, 2009 at 8:19 AM, Daniel Brown <danbrown@php.net> wrote:
> On Fri, Mar 6, 2009 at 09:15, Robert Cummings <robert@interjinn.com> wrote:
>>
>> I remember the internals debate about 2 or 3 years ago. I was on the pro
>> goto side... it does have uses when used properly.
>
> I wholeheartedly concur. The first programming language I taught
> myself was BASIC about 23 years ago. We may never see the inclusion
> of GOSUB in PHP, but GOTO is certainly worthwhile.
>
>
> Side note: I wrote a BASIC interpreter in PHP about two weeks ago.
> Talk about fond memories.
QuickBasic (actually QBasic, and then later QuickBasic when my mom
shelled out the money for me to buy it) was my first language. I
remember being completely flabbergasted when I found out they packaged
an interpreter with DOS, and it had been under my nose the whole time.
I think my first "finished" program was a D&D character generator.
Basically, just colored and formatted text with the output of 6 or so
random number generations.
Meeeeeemoriiiieeeeees... :D
--
// Todd