Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cat racing under the influence of catnip
#8
Well, as the compiler progresses, bugs will be fixed, and other things may/will change from the last official release (version .17b already has loads of changes/additions from .16b). If you don't keep up with these changes, the code you write may not work properly in future official releases (FreeBASIC is still in beta, after all). For example, a few changes in .17b break code written for .16b; if you have alot of it, it's that much more code you have to rewrite/maintain (one of the reasons why the new -lang compiler switch was created). So in the end, it's a benefit to try and write code that will work with future versions.

OOP isn't about new FreeBASIC language constructs, it's just a method of programming. The new features being added to FreeBASIC can help with OOP, but in no way does using them mean that you are writing object-orientated code. Conversely, object-orientated code can be written without using these features, like in QuickBASIC or C.

OOP is not a silver bullet by any means, but there are some situations that greatly benefit from it, and by definition OO code is inherently more robust and easier to extend/modify than non-OO code (so just by following it do you gain more options in the code you design, because the principles of OOP force those options to be there). For more imformation, read this thread: http://www.gamedev.net/community/forums/...ID=2666170.
stylin:
Reply


Messages In This Thread
Cat racing under the influence of catnip - by stylin - 01-05-2007, 10:07 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)