Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Straying to C++
#16
You can't do OO in QBasic, just strutured programming. It is different. Bot OO and SP have types and sets of SUBs with related functionality, but only OO leaves you to have pieces of executable code embedded in those objects, and things like hierarchy and software abstraction, things impossible to achieve in SP (you can use any FUNCTION anywhere, and this could be dangerous when working on a large project where many people is involved). Also QB lacks pointers, and that feature makes it very lame, IMHO.

The Java feature of having each class in a separate file is not a problem as long as you use a good IDE. With such a facility, your project will look like *exactly* as your QB program in the QB IDE where you have each SUB/FUNCTION in a separate "screen" or section.

I like storing each object definition in a separate file, just to be tidy. It is easy to copy some files to the new folder where you are gonna start your new project rather than having to do hours of copy and paste skimming thru' a bunch of untidy files full of both code and declarations.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Messages In This Thread
Straying to C++ - by fox - 02-12-2003, 07:11 PM
Straying to C++ - by SJ Zero - 02-12-2003, 08:21 PM
Re: Straying to C++ - by Piptol - 02-12-2003, 10:52 PM
Straying to C++ - by Agamemnus - 02-13-2003, 04:22 AM
Pset, print is easy!! - by fox - 02-13-2003, 05:19 AM
Straying to C++ - by Hexadecimal Disaster - 02-13-2003, 08:31 AM
hmm.... - by fox - 02-13-2003, 09:21 AM
Straying to C++ - by Hexadecimal Disaster - 02-13-2003, 09:48 AM
Straying to C++ - by relsoft - 02-14-2003, 10:57 AM
Straying to C++ - by LooseCaboose - 02-15-2003, 10:28 AM
Straying to C++ - by na_th_an - 02-15-2003, 07:18 PM
Straying to C++ - by Piptol - 02-15-2003, 08:32 PM
Straying to C++ - by toonski84 - 02-15-2003, 09:02 PM
Straying to C++ - by na_th_an - 02-15-2003, 09:43 PM
Straying to C++ - by Agamemnus - 02-15-2003, 10:53 PM
Straying to C++ - by na_th_an - 02-16-2003, 12:14 AM
Straying to C++ - by LooseCaboose - 02-18-2003, 04:09 AM
Straying to C++ - by na_th_an - 02-18-2003, 09:05 AM
Straying to C++ - by Hexadecimal Disaster - 02-18-2003, 09:30 AM
Straying to C++ - by LooseCaboose - 02-20-2003, 04:08 AM
Re: Straying to C++ - by fox - 05-25-2009, 06:13 AM
Re: Straying to C++ - by Ninkazu - 06-26-2009, 05:24 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)