RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Jay Blanchard
[snip]
Yes i think java would be the best to learn proper OO, i've nevr done
it,
but coming the other way knowing php OO, java became more familiar to
me,
i'm gonna do it this year.
[/snip]

Why not start with the king of OOP, C++? Currently C++ is the most
robust implementor of OOP design issues. From there it is easier to come
to grips with PHP, JAVA and any other language in which you may need or
want to use OOP. I heartily recommend that JAVA is NOT the way to learn
OOP.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Justin Patrin
Jay Blanchard wrote:

[snip]
Yes i think java would be the best to learn proper OO, i've nevr done
it,
but coming the other way knowing php OO, java became more familiar to
me,
i'm gonna do it this year.
[/snip]
Why not start with the king of OOP, C++? Currently C++ is the most
robust implementor of OOP design issues. From there it is easier to come
to grips with PHP, JAVA and any other language in which you may need or
want to use OOP. I heartily recommend that JAVA is NOT the way to learn
OOP.
Hehe, and here is where we start a holy war.

I would have to disagree. While it may be possible to implement good OOP 
in C++, it does not nearly implement OOP as well as many other 
languages. It also has many other design problems that hinder the 
learning of OOP.

However, if you know C++ already it may be easier to learn good OOP in 
C++ (it has much more full OOP than PHP4).

--
paperCrane Justin Patrin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Jay Blanchard
[snip]
Hehe, and here is where we start a holy war.
[/snip]

Bring it.

[snip]
I would have to disagree. While it may be possible to implement good OOP
in C++, it does not nearly implement OOP as well as many other
languages. It also has many other design problems that hinder the
learning of OOP.
[/snip]

I respect your opinion and all, but how do you come to this conclusion?
Which of the many other languages implement OOP better? And what other
design problems do you speak of?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Chris Boget
 Which of the many other languages implement OOP better? 

Smalltalk, for one.

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Kelly Hallman
On Fri, 30 Jan 2004, Jay Blanchard wrote:
  I would have to disagree. While it may be possible to implement good
  OOP in C++, it does not nearly implement OOP as well as many other
  languages. It also has many other design problems that hinder the
  learning of OOP.
 
 I respect your opinion and all, but how do you come to this conclusion?
 Which of the many other languages implement OOP better?

Python, Ruby...?

Of course, I've never done any OOP in C++. My guess is part of the reason 
he said this is because you've got to learn C++ before you're going to do 
much successful OOP with it. Not exactly a small learning curve.

Other languages dispense with a lot of the formalities found in C++ (a 
good or bad thing, depending on your perspective). I found Python to be a 
great language to learn OOP, since it forces good habits on you.

-- 
Kelly Hallman
// Ultrafancy

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Ajai Khattri
On Fri, 30 Jan 2004, Kelly Hallman wrote:

 Other languages dispense with a lot of the formalities found in C++ (a
 good or bad thing, depending on your perspective). I found Python to be a
 great language to learn OOP, since it forces good habits on you.

C++ is a very large unwieldly language - it has too many constructs and
too much syntax. Experience has chown that smaller simpler languages are
easier to learn and apply than larger ones. This is why C is still the
language of choice for a lot of systems coding (among other reasons).

While purists will no doubt damn me to hell, I know a lot of people would
put C++ at the bottom of their list of OOP coding languages of choice.

-- 
Aj.
Sys. Admin / Developer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Jay Blanchard
[snip]
Experience has chown that smaller simpler languages are easier to learn
and apply than larger ones.
[/snip]

Obviously.

:)

I'd be curious as to how many cam to PHP from a programming background?
Likewise, how many start with PHP and go on to other languages? And what
those languages are either direction?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Chris Garaffa
On Jan 30, 2004, at 2:19 PM, Jay Blanchard wrote:
I'd be curious as to how many cam to PHP from a programming background?
Likewise, how many start with PHP and go on to other languages? And 
what
those languages are either direction?
Probably a strange mix, but...
I came to PHP from an AppleScript/JavaScript/very-basi-C background. 
While I was beginning to learn PHP, I took 2 C++ classes at college 
(this was beginning over a year ago), and have since moved on to 
Objective-C.

--
Chris Garaffa
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Kelly Hallman
On Fri, 30 Jan 2004, Jay Blanchard wrote:
 I'd be curious as to how many cam to PHP from a programming background?
 Likewise, how many start with PHP and go on to other languages? And what
 those languages are either direction?

I started serious coding in perl. When I found PHP, I realized I was 
killing myself trying to do CGI with perl, and quickly migrated. That 
transition was easy, and my life got better.

After a couple of years coding in PHP I made a foray into Python. I
learned OOP with Python and was able to work that knowledge into my PHP
programming easily. Using OO with PHP simplified a lot of problems I'd had
trying to do more complex tasks with a procedural/functional approach.

I still use perl to whip up a sysadmin script here and there, but after 
using Python I began to regard perl as a syntactic mess.

-- 
Kelly Hallman
// Ultrafancy

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread Justin Patrin
Jay Blanchard wrote:

[snip]
Experience has chown that smaller simpler languages are easier to learn
and apply than larger ones.
[/snip]
Obviously.

:)

I'd be curious as to how many cam to PHP from a programming background?
Likewise, how many start with PHP and go on to other languages? And what
those languages are either direction?
Here's my progression: BASIC - Turbo Pascal - C - C++ - PHP. Yes, I came 
to PHP from C++, having learned OO in C++. But honestly, I've learned a 
lot more good OO practices in PHP than I ever did in C++.

--
paperCrane Justin Patrin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] OOP methodology{O|T} kinda'

2004-01-30 Thread electroteque
Ok sorry, c++ then, yes thats another kettle of fish, i'm going to be doing
some c++ to learn how to make vst plugins :D

-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 10:51 PM
To: electroteque; [EMAIL PROTECTED]
Subject: RE: [PHP] OOP methodology{O|T} kinda'


[snip]
Yes i think java would be the best to learn proper OO, i've nevr done
it,
but coming the other way knowing php OO, java became more familiar to
me,
i'm gonna do it this year.
[/snip]

Why not start with the king of OOP, C++? Currently C++ is the most
robust implementor of OOP design issues. From there it is easier to come
to grips with PHP, JAVA and any other language in which you may need or
want to use OOP. I heartily recommend that JAVA is NOT the way to learn
OOP.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php