Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Object Oriented programming

Author
Message
kramer
21
Years of Service
User Offline
Joined: 5th Feb 2003
Location:
Posted: 6th Feb 2003 06:59
I haven't purchased this software, so am just going off what I've seen in the demo, but it seems there is no support for OO design in DB - is this true?

I'm used to doing stuff like:
class LaserGun extends Weapon

laserGun1.fire()

The idea of writing anything more complex than a really simple game or a prototype without OO seems pretty daunting.
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 6th Feb 2003 12:44
Erm you're not going to get much joy from a basic language then. There is no support for OOP in DB (or many other basic languages I fear).

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
kramer
21
Years of Service
User Offline
Joined: 5th Feb 2003
Location:
Posted: 7th Feb 2003 01:28
VB has it, which is probably the most well known basic.

Rich, I don't suppose you've heard anything from the developers of DB about it having OO suport in the future?

Hockey07
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 7th Feb 2003 01:33
Erm, Rich is the developer... Or atleast, its him who works on it... Others may be involved

AlamDV, NHL, NHL 2K3....... The best combination ever!
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 7th Feb 2003 02:34
I don't work on the DB/Pro code directly, but I do work with Lee and Mike who do. There are no plans to add classes, inheritance, polymorphism or any of the other things that make-up OOP at this present time.

That doesn't mean we won't in the future, but it's not in the development map we currently have.

VB does support OOP (to a degree) but for a language designed for business applications that's not so surprising. All those poor VB developers getting jealous of their C++ peers (no offence to any VB programmers here, but try C#, I urge you).

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Kale
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: United Kingdom
Posted: 7th Feb 2003 04:16
i agree, no basic should incorporate OOP! User Defined Types are enough!

What the flame does not consume, consumes the flame.
------------------------------------------------------------------------
AMD XP2100+, Geforce4Ti 4400, 512Mb DDR, Abit KX7, WinXP Home

Login to post a reply

Server time is: 2024-11-23 23:17:35
Your offset time is: 2024-11-23 23:17:35