On May 11, 9:53 am, Adam Gaskins agaskins...@kelleramerica.com
wrote:
Hi all,
-- Non critical info--
I am a fairly seasoned PHP developer (don't shoot, I'm changing teams!:) who
is admittedly behind the curve with OOP. Like most who learned PHP, I
started doing web app backend stuff, but I
Adam Gaskins wrote:
Long story short, I'm tired of doing things in such a hackish manner
and want to write applications that are cross platform (I'd like to
get our production dept on linux eventually) and truely object
oriented.
Adam, there is one notion here that I seriously dislike: you
Mike Driscoll wrote:
I've never used (or heard of) the Abstract type...and the guy who
wrote the FAQ was being a jerk.
Who, Peter Norvig?
(from wikipedia)
Peter Norvig is an American computer scientist. He is currently the
Director of Research (formerly Director of Search Quality) at
Any idea why I didn't see this reply on my ng? I only see the reply from
Marco. Can't help but wonder if there is more that is not getting through
here.
Would someone mind forwarding me any other replies?
FWIW I'm using news.east.cox.net.
Thanks,
-Adam
Mike Driscoll wrote:
I've never used
Adam Gaskins agaskins...@kelleramerica.com wrote:
I am a fairly seasoned PHP developer (don't shoot, I'm changing teams!:) who
is admittedly behind the curve with OOP. Like most who learned PHP, I
started doing web app backend stuff, but I have moved to full blown windows
apps in the
Adam Gaskins wrote:
So I was beginning to learn OOP for PHP, and it seemed to me that abstract
classes were just right for my application. In my application I must
communicate with several peices of test equipment that communicate via
RS-232. Most use SCPI instructions, some do not and
Wow, thanks Nick! This is just what I was looking for!
Thanks to Peter as well. And as for your suggestion that I probably
shouldn't mess with things I don't understand and learn the basics first...
well, that is probably sound advice, but I figured out years ago that I
learn things best by a)
Adam Gaskins wrote:
Wow, thanks Nick! This is just what I was looking for!
I agree that Nick's semi-abstract class is what you need.
After doing some subclasses, you may discover that there is more common
code that you can factor out and push to the base class. You may also
find it
On May 12, 1:22 am, Mike Driscoll kyoso...@gmail.com wrote:
I've never used (or heard of) the Abstract type...and the guy who
wrote the FAQ was being a jerk. It looks like he was just throwing in
an undefined variable name just to make his Python program break while
taking a pot shot at people