Page 4 of 11
Posted: Mon Aug 06, 2007 4:53 am
by Fluid Byte
My ideas is to have OOP right in PB.
Well, you have to wait to eternity then. This issue have been discussed one billions times already and I'm sorry to disapoint you but the answer is
no. There never was, is and won't ever be OOP support for PB in the near future.
OOP is useless anyway because it's mostly requested by programmers using C++ or languages with a similar syntax. It just overcomplicates things for the regular BASIC / Indie developer.
Posted: Mon Aug 06, 2007 5:01 am
by ts-soft
I still use other BASIC dialects, the OOP support and it very helps
Posted: Mon Aug 06, 2007 5:06 am
by Fluid Byte
Well, not for me and Fred already declined it. I guess he has his reasons...
Besides, how many BASIC dialects support OOP?
Posted: Mon Aug 06, 2007 6:07 am
by ts-soft
Fluid Byte wrote:Well, not for me and Fred already declined it. I guess he has his reasons...
Besides, how many BASIC dialects support OOP?
The most
For example:
VB, Blitzmax, XProfan, Emergence Basic, FreeBasic and so on
Posted: Mon Aug 06, 2007 7:31 am
by pdwyer
That's not most
Freebasic has some object support in the last beta. the docs say things like
Object-related features such as functions declared inside Type blocks are supported only with the -lang fb option since version 0.17b
and
CLASS: We would have put something useful here (honest) except this feature isn't implemented in the compiler yet. But since it will get added in future, and there are several other document pages that need to link here, we thought it safe to include in anyway.
I think if you get a full listing of all the basics around
most will not be oop
Other than VB, I've never heard of a professional OOP Basic compiler (I haven't searched too hard but I have looked around in the past. I'd be interested to know of one)
Posted: Mon Aug 06, 2007 9:33 am
by srod
Depends what you mean by 'professional' I guess. There's RealBasic for example (many would argue that this is 'professional' - though not my cup of Earlgrey!), HotBasic, Emergence Basic. I reckon for as many non-oop basics there are as many oop ones.
I use both these days and I reckon I'm better off for it.
Posted: Mon Aug 06, 2007 10:32 am
by GeoTrail
srod wrote:Depends what you mean by 'professional' I guess. There's RealBasic for example (many would argue that this is 'professional' - though not my cup of Earlgrey!), HotBasic, Emergence Basic. I reckon for as many non-oop basics there are as many oop ones.
I use both these days and I reckon I'm better off for it.
Do you mean that because of the price of €400?
Posted: Mon Aug 06, 2007 3:39 pm
by srod
GeoTrail wrote:srod wrote:Depends what you mean by 'professional' I guess. There's RealBasic for example (many would argue that this is 'professional' - though not my cup of Earlgrey!), HotBasic, Emergence Basic. I reckon for as many non-oop basics there are as many oop ones.
I use both these days and I reckon I'm better off for it.
Do you mean that because of the price of €400?
No, but now that you mention it...
Posted: Mon Aug 06, 2007 3:47 pm
by bembulak
Once again:
http://basic.mindteq.com/
But most of them are half-baked.
Posted: Mon Aug 06, 2007 3:57 pm
by ts-soft
Posted: Mon Aug 06, 2007 10:03 pm
by fsw
HotBasic is oop-like, not real oop. The outcome of this is that sometimes the syntax (keywords) is somewhat strange that doesn't look like thought through, but looks like a workaround that is here to stay.
On the other side if you need a fast math, the FPU object is faster than other math libs in other languages I've tested (except hand optimized asm

...).
Posted: Tue Aug 07, 2007 12:48 am
by jack
Posted: Tue Aug 07, 2007 1:09 am
by pdwyer
Posted: Tue Aug 07, 2007 1:26 am
by JCV
pdwyer wrote:Not sure why purebasic isnt' there
Its there.

Posted: Tue Aug 07, 2007 2:11 am
by fsw
Well HotBasic's online docs says:
Objects
...
FPU HotBasic exclusive
...
Thanks to Raymond Filiatreault for permission to use two of his FPU routines: conversion of string to FPU value and FPU value to string.
(As can be seen at:
http://mypages.cwdom.dm/keenej/hot/contents.html)
So HB is only using 2 functions of Raymond's lib...