
Gadget?!!... GADGET!!!???? Did I just enroll in pre-school?
-
- Addict
- Posts: 991
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
I think this post from Fred explains everything:aaron_at_work wrote:Randy, go to here to login:
http://www.purebasic.com/securedownload/Login.php
If you didn't get that email, they you likely didn't get the payment confirmation, which means that your payment didn't go through for some reason.
viewtopic.php?t=11851
Seems I happened to place my online order the very day Fred planned his vacation.


- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
Randy is right, Gadget is a goofy word, but everyone else is right too, its too late to change it.
My background includes HiSoft Basic on Amiga, so I am familiar with Gadgets, but when I imported my GetGadget routine to PowerBasic, I renamed it to MsgBoxPlus for the very reasons Randy mentioned. I didn't think customers would take GetGadget seriously enough.
BTW Randy, PowerBasic does have a relatively professional look and feel, and does create somewhat faster executables, but it is a relatively low level language which gives you a more direct access to the Windows environment, but also requrires you to program at a low C level.
But you pay for that stability with long slow update cycles, and while they listen to what we have to say, they are tight lipped about what they plan to release, and don't necessarily take the path some of use would like.
PureBasic seems to lean a little more on pleasing everybody, and doing so sooner rather than later.
Perhaps, when someone develops a good macro pre-compiler, then Randy and anyone else can write macros to rename some commands to something more suitable.
My background includes HiSoft Basic on Amiga, so I am familiar with Gadgets, but when I imported my GetGadget routine to PowerBasic, I renamed it to MsgBoxPlus for the very reasons Randy mentioned. I didn't think customers would take GetGadget seriously enough.
BTW Randy, PowerBasic does have a relatively professional look and feel, and does create somewhat faster executables, but it is a relatively low level language which gives you a more direct access to the Windows environment, but also requrires you to program at a low C level.
But you pay for that stability with long slow update cycles, and while they listen to what we have to say, they are tight lipped about what they plan to release, and don't necessarily take the path some of use would like.
PureBasic seems to lean a little more on pleasing everybody, and doing so sooner rather than later.
Perhaps, when someone develops a good macro pre-compiler, then Randy and anyone else can write macros to rename some commands to something more suitable.
-
- Addict
- Posts: 991
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Well actually, I was using the words professional and unprofessional, but I'm glad to see someone is willing to at least concede my point - Thanks!ivory wrote:Randy is right, Gadget is a goofy word, but everyone else is right too, its too late to change it.
As for being too late to change. The word "irony" comes to mind. Humans like to pride themselves on being the most adaptive creatures on Earth, yet the threat of change often smothers any means for improvement. (Genericly speaking.)
Aside from all that, all things considered, I think it is best to leave well enough alone. Too many are content with it as it is and none of my comments were aimed at causing trouble.
In case any are intersted, here is what I wrote to one who contacted me outside this forum.
My declared response at the forum is partially due to writing philosophy taught in English class: Never use vague terms when specific or more specific terms are available. The term "thing" should never be used! The term gadget, by my schooling, is unacceptable in any professional literary field for the same reason - - it is non-descript. Replace all the nouns in this paragraph with the word "thing" and it becomes quite evident why such practice is unacceptable in professional writing. The terms gadget and thing are virtualy synonomous, except gadget implies a mechanical thing. Excuse me, I meant "mechanical apparatus.Granted, the term "control" is not entirely appropriate. It does however have a more distinct meaning and thus far more applicable than gadget in professional literary terms. So the question one has to ask here is: Should a professional programmer be concerned that he is indeed a professional writer, and should he also be concerned about addressing his audience in a professional, "intelligible" manner?
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
-
- Addict
- Posts: 991
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Auugh??! I need Windows 32 bit functions which is why I settled on PureBasic. It appeared to offer me access to that part of Windows, so...ivory wrote:BTW Randy, PowerBasic does have a relatively professional look and feel, and does create somewhat faster executables, but it is a relatively low level language which gives you a more direct access to the Windows environment, but also requrires you to program at a low C level.
what do you mean by "requires you to write in C"?
I don't like sitting on promises I've made only to find I am unable to keep them. Personally I would rather be in the dark than wait for a promise that can never come to pass. Fortunately for me, PureBasic seems to meet 99.9% of my demands already, and I'm not a professional programmer so I doubt my needs will change much. The one thing I have seen where I would like to see change is a more sophiticated sort function. I did find a work around that will get me by so I'm not real concerned. As long as I can follow the logic, I'm not ascared... I can adapt.But you pay for that stability with long slow update cycles, and while they listen to what we have to say, they are tight lipped about what they plan to release, and don't necessarily take the path some of use would like.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.
PowerBasic is low level in the same way that Assembler and C are low level. You interface directly with the Windows API's whenever you want to do anything. Visual Basic did a wonderful job of shielding us from the obscure intricacies of Windows programming (the callback's mostly). With Powerbasic, you are given some very powerful tools to interface with Windows, but you must still program with windows callbacks just like you would with C.
Powerbasic has a fairly steep learning curve.
Purebasic (which I am still quite new at) provides a lot more high level commands (built in and in libraries) which provide a different interface to the windows system. Instead of creating a callback procedure for windows to call, there are instructions to wait for events and proceed after an event occurs. I think the learning curve is somewhat softer here.
The powerbasic development roadmap is agonizingly painfully slow. A Linux version has been rumored for years. The rumors have been confirmed, yet no release date is offered. It's a good product, and there are some very excellent third party products that can make it quite similar to VB in terms of productivity and ease of use.
One thing PB & PB have in common, good peer support. You can't go wrong with either product. I now have both, and am prepared to combine them whenever it suits my needs. (Although, if purebasic can provide a platform to easily port applications between the 4 platforms, I don't see how any other product can help).
Powerbasic has a fairly steep learning curve.
Purebasic (which I am still quite new at) provides a lot more high level commands (built in and in libraries) which provide a different interface to the windows system. Instead of creating a callback procedure for windows to call, there are instructions to wait for events and proceed after an event occurs. I think the learning curve is somewhat softer here.
The powerbasic development roadmap is agonizingly painfully slow. A Linux version has been rumored for years. The rumors have been confirmed, yet no release date is offered. It's a good product, and there are some very excellent third party products that can make it quite similar to VB in terms of productivity and ease of use.
One thing PB & PB have in common, good peer support. You can't go wrong with either product. I now have both, and am prepared to combine them whenever it suits my needs. (Although, if purebasic can provide a platform to easily port applications between the 4 platforms, I don't see how any other product can help).
I just wanted to say that neither PowerBasic nor C are low-level languages.. (neither is PureBasic for that sake)
AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
Randy, you'll have to forgive us Amigans (Once an Amigan, always an Amigan in your heart). We come from a platform that marched (marches?) to a different drummer. With AmigaOS-related names like
KickStart (Core OS, first on disk then in ROM),
Intuition (Gui layer between Kickstart and WorkBench - Similar to MS's GDI),
WorkBench (The user-interface GUI over top of everything),
Guru Meditation (System crash like the 'blue screen of death'),
Agnes, Portia, Cooper (support chips)
it's no wonder that Amiga would choose Gadget as the name for it's, um, gadgets. But no stranger, I might say, than Windows insisting that EVERYTHING is a window (contrary to the actual definition of a window)...
Gadget is a generic term that can apply to anything that is part of the GUI.
Having said that, I do agree that some of the commands could be shortened (ChangeListIconGadgetDisplay(#Gadget, Mode) for example) or renamed (Is Translucide even a word?). This is where Macros would be great. You could rename all of the ones you don't like without having to wrap them in a function.
Russell
KickStart (Core OS, first on disk then in ROM),
Intuition (Gui layer between Kickstart and WorkBench - Similar to MS's GDI),
WorkBench (The user-interface GUI over top of everything),
Guru Meditation (System crash like the 'blue screen of death'),
Agnes, Portia, Cooper (support chips)
it's no wonder that Amiga would choose Gadget as the name for it's, um, gadgets. But no stranger, I might say, than Windows insisting that EVERYTHING is a window (contrary to the actual definition of a window)...
Gadget is a generic term that can apply to anything that is part of the GUI.
Having said that, I do agree that some of the commands could be shortened (ChangeListIconGadgetDisplay(#Gadget, Mode) for example) or renamed (Is Translucide even a word?). This is where Macros would be great. You could rename all of the ones you don't like without having to wrap them in a function.
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
Im agree that the use of Gadget is not very afortunated...
Look at the purebasic.com ranking acording to Alexa... its very low.
One important reason is because the keywords in PB are different than VB and WinAPIs.
I dont think much people looks for ButtonGadget or SetGadgetText in Google... im positive sure that if at the beggining of PB Fred has choosen more standard names, now he should have much more sales. Believe me that Search Engines are the best way to drive people here (forums) and to the main site.
Now there are nothing to do except when choosing new names try to use more standard names, just for letting people find PB, not for any other reason.
My 2 cents.
Im not sure if its inofensive to have all those 'Gadget' keywords...No offense, but it seems you're the only one who feels this way. The end
user of your product doesn't see the command set, so what's the big deal?
You're complaining about nothing.
Look at the purebasic.com ranking acording to Alexa... its very low.
One important reason is because the keywords in PB are different than VB and WinAPIs.
I dont think much people looks for ButtonGadget or SetGadgetText in Google... im positive sure that if at the beggining of PB Fred has choosen more standard names, now he should have much more sales. Believe me that Search Engines are the best way to drive people here (forums) and to the main site.
Now there are nothing to do except when choosing new names try to use more standard names, just for letting people find PB, not for any other reason.
My 2 cents.
ARGENTINA WORLD CHAMPION
what's missing is NOT function names that are more or less standard, but a sort of built in / working visual designer that allows rad style devving
even if you're not a fan of such an approach, it's what sells
even if you're not a fan of such an approach, it's what sells

( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
On this topic, perhaps PB 4.0 will take the OOP approach to make these calls easier.
For example, wouldn't it be nice to just create a button (or any other gadget) like this:
and then later on you can change the text, for example, like this:
Sure makes the code a lot more readable, I think. Of course, I've taken some liberties with the way the values are assigned. I seem to remember that the Amiga version of Blitz Basic allowed you to define several fields at a time by listing them one after another similar to how I've done in the example above.
Russell
Russell
For example, wouldn't it be nice to just create a button (or any other gadget) like this:
Code: Select all
button1.btn = (GadListHandle,x,y,w,h,text$,flags)
Code: Select all
button1\text$ = "Changed"
Russell
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
-
- Enthusiast
- Posts: 145
- Joined: Tue Mar 01, 2005 8:41 pm
- Location: Near a Computer
I like that idea, it would make the code more readable.Amiga5k wrote:On this topic, perhaps PB 4.0 will take the OOP approach to make these calls easier.
For example, wouldn't it be nice to just create a button (or any other gadget) like this:and then later on you can change the text, for example, like this:Code: Select all
button1.btn = (GadListHandle,x,y,w,h,text$,flags)
Sure makes the code a lot more readable, I think. Of course, I've taken some liberties with the way the values are assigned. I seem to remember that the Amiga version of Blitz Basic allowed you to define several fields at a time by listing them one after another similar to how I've done in the example above.Code: Select all
button1\text$ = "Changed"
Russell
Russell
Thanks
Truth Seeker
Truth Seeker
Re: Gadget?!!... GADGET!!!???? Did I just enroll in pre-sch
> Lets look professional... loose the gagets!!!
And now the irony: Windows Vista will have "gadgets" as a common term:
"Sidebar is a small panel at the side of the monitor that can be used to view
photo slide shows, RSS (Really Simple Syndication) feeds and other small
programs, dubbed gadgets."
Source: http://news.com.com/Sidebar+on+display+ ... =nefd.lede
Looks like PureBasic's choice of terminology was years ahead of Vista!
And now the irony: Windows Vista will have "gadgets" as a common term:
"Sidebar is a small panel at the side of the monitor that can be used to view
photo slide shows, RSS (Really Simple Syndication) feeds and other small
programs, dubbed gadgets."
Source: http://news.com.com/Sidebar+on+display+ ... =nefd.lede
Looks like PureBasic's choice of terminology was years ahead of Vista!

I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.