Fuel for you OOP non-believers...
As it's posted on MSDN I don't think it "busts" the .NET myth ... but it is an article on the .NET myth!Straker wrote:Interesting. Now where is a link for busting the ".NET" myth? That's what I'd like to see!

http://msdn.microsoft.com/library/defau ... 012004.asp
Thanks! I like it! Almost sounds like a plug for Mono, because if you follow his logic, why stay bound to even a specific platform/OS? Mono takes .NET to other platforms.
He was right on the money with regard to CTOs.
He was right on the money with regard to CTOs.
Classic. and sadly, so true.I've heard it said by many a CTO in many a technical briefing that, "We're planning to port our whole system to .NET." Why spend 18 months converting your application, so you can arrive at the endpoint you're already at?
Here's a 7 minute view showing off dabble db:
http://dabbledb.com/utr/
Written in Smalltalk, it shows what OO can do.
http://dabbledb.com/utr/
Written in Smalltalk, it shows what OO can do.
I find he has good criticisms, but his alternative approach is awful.
Take his SQL example.
http://www.geocities.com/tablizer/sqlcrit.htm
He is right to criticise this:
But his 'superior' alternative is this!
Personally I find the first solution much better. The awkward sub query in the where clause wouldn't be needed if the table was properly normalised.
Take his SQL example.
http://www.geocities.com/tablizer/sqlcrit.htm
He is right to criticise this:
Code: Select all
select name, lodging, age from worker w where age =
(select max(age) from worker where w.lodging = lodging)
order by lodging
Code: Select all
prev = "[init]"
open "worker" as w
addTempColumn(w, "mark", "") // add a temp, empty column called 'mark'
scan w order by lodging, age desc // traverse each record with a loop
if w.lodging != prev then w.mark = 'X' // Mark 1st in new group
prev = w.lodging
endScan
select * from w where mark = 'X'
undecided
Yeah, my original post was more of an FYI for those folks here who don't buy into the whole notion of OOP.
Personally I think both have their place depending on the application, team size, project size, etc. In my "real" day job I develop applications with an OOP language on a team with 10+ developers and OOP has it's place there but unfortunately, without a lot of discipline on proper OOP usage, I'm not convinced we're reaping all of the OOP benefits ... I wonder how many large projects actually do...?
Most folks here just try to get their stuff done ASAP and at that point OOP becomes just so much more overhead...
Personally I think both have their place depending on the application, team size, project size, etc. In my "real" day job I develop applications with an OOP language on a team with 10+ developers and OOP has it's place there but unfortunately, without a lot of discipline on proper OOP usage, I'm not convinced we're reaping all of the OOP benefits ... I wonder how many large projects actually do...?
Most folks here just try to get their stuff done ASAP and at that point OOP becomes just so much more overhead...
As stated many times before OOP can already be implemented in PureBasic. Its primarily a technique anyway. You are already dealing with objects in PB anyway. Isn't a window an object? Aren't width and height object attributes? Aren't HideWindow() and CloseWindow() methods to be acted upon a given object instance?
// starts flame war and runs for cover...

// starts flame war and runs for cover...
Well, sorta, kinda, maybe ... actually, not really ...Straker wrote:As stated many times before OOP can already be implemented in PureBasic. Its primarily a technique anyway. You are already dealing with objects in PB anyway. Isn't a window an object? Aren't width and height object attributes? Aren't HideWindow() and CloseWindow() methods to be acted upon a given object instance?
![]()
Ha, you got that right!Straker wrote:// starts flame war and runs for cover...
