Updates
#7
(07-07-2015, 08:44 AM)bbjimmy Wrote: You were probably thinking of this:
using objects in yab

The beauty of yab IMO is the way it takes an OO environment and makes it available in a completely procedural language. As Jim points out in that link, you are using objects in every GUI program written in yab. Create a TEXTEDIT widget. It gets cut and paste facilities (via right-click) thrown in without you having to do anything. That is OO all over. But you don't have to think of it in that way.

yab is classical in nature. You have an interpreter and a text editor and that's all you need to start writing programs. That's not to put down all the work that's been done on the IDE, but I've tried some of the BASICs available on other platforms and without an IDE, you can't even get started. I like the fact that libraries can be used in yab, but that they are optional. Everything is self-contained in that one binary that is the yab interpreter.

I don't want to see classes, polymorphism, inheritance, overloading and huge collections of external libraries in yab. If I could bend my mind around those, I would have learned C++ by now. There may well be a market for a more explicitly OO kind of BASIC on Haiku, and good luck to anyone who wants to create this. But it wouldn't be yab. Maybe call it yab++ and leave yab for those of us who love it just as it is.
Reply


Messages In This Thread
Updates - by HaikuForever - 07-06-2015, 10:41 PM
RE: Updates - by bbjimmy - 07-06-2015, 11:01 PM
RE: Updates - by HaikuForever - 07-07-2015, 06:24 AM
RE: Updates - by bbjimmy - 07-07-2015, 08:44 AM
RE: Updates - by HaikuForever - 07-07-2015, 10:14 AM
RE: Updates - by clasqm - 07-08-2015, 04:18 AM
RE: Updates - by clasqm - 07-07-2015, 07:37 AM
RE: Updates - by HaikuForever - 07-08-2015, 06:33 AM
RE: Updates - by bbjimmy - 07-08-2015, 12:53 PM
RE: Updates - by HaikuForever - 07-08-2015, 04:38 PM
RE: Updates - by lelldorin - 07-13-2015, 01:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting