![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Check this out. I downloaded the test version and it looks pretty good to me. Price is exceptionally competitive as well. http://www.basic4ppc.com/ Steve |
#3
| |||
| |||
|
|
Big kahuna wrote: Check this out. *I downloaded the test version and it looks pretty good to me. *Price is exceptionally competitive as well. http://www.basic4ppc.com/ Steve I saw basic4ppc a while back and was going to recommend it, but it seemed to me that there were a few issues for this specific community - YMMV: 1) The BASIC is VBA and it's object-oriented. *If you're working with object-oriented code, you might as well use Java which is a tiny stretch from VBA (add curly braces and semicolons) and more capable. |
#4
| |||
| |||
|
|
1) The BASIC is VBA and it's object-oriented. If you're working with object-oriented code, you might as well use Java which is a tiny stretch from VBA (add curly braces and semicolons) and more capable. |
|
Another offering similar to basic4ppc is the free "App Inventor" from |
#5
| |||
| |||
|
|
This permits both the elegance of working with objects with the elegance of duck-typing (loose typing). |
#6
| |||
| |||
|
|
On 2011-07-18 17:56:36 -0400, dawn <dawnwolth... (AT) gmail (DOT) com> said: This permits both the elegance of working with objects with the elegance of duck-typing (loose typing). Please elaborate on how QM supports Duck typing. |
|
-- Kevin Powick |
#7
| |||
| |||
|
|
On Jul 18, 6:27*pm, Kevin Powick <nos... (AT) spamless (DOT) com> wrote: On 2011-07-18 17:56:36 -0400, dawn <dawnwolth... (AT) gmail (DOT) com> said: This permits both the elegance of working with objects with the elegance of duck-typing (loose typing). Please elaborate on how QM supports Duck typing. I put "loose typing" in parens because my use of "duck typing" could be questioned (and it was, funny that). I have not used QM OO and was not using any OO-specific meaning for "duck typing." I am comfortable classifying all MV BASIC as "duck-typed" as an alternative to calling it "loosely typed" because everything is a string and can be treated as such. If it looks like a string and acts like a string, MV BASIC can treat it like a string, doing ICONVs and OCONVs and such. We are not tied to some permanent "strong" typing. If you do not like this use of "duck typing" then feel free to replace it with "loose typing". *--dawn -- Kevin Powick- Hide quoted text - - Show quoted text - |
#8
| |||
| |||
|
|
I am comfortable classifying all MV BASIC as "duck-typed" as an alternative to calling it "loosely typed" |
|
If you do not like this use of "duck typing" then feel free to replace it with "loose typing". |
#9
| |||||||||
| |||||||||
|
|
On 2011-07-19 17:30:41 -0400, dawn <dawnwolth... (AT) gmail (DOT) com> said: I am comfortable classifying all MV BASIC as "duck-typed" as an alternative to calling it "loosely typed" As long as you're comfortable, I guess that's what's important. |
|
While duck typing can be considered a form of loose/dynamic typing, it actually has a specific meaning wrt OO languages. |
|
Of the MV products I know of that support OO, I can only speak about QM, and it does support duck typing. *In QM, an object can be passed as part of a parameter list to a receiver, and as long as the receiver acts only on methods/properties that exist within the passed object, regardless of other methods/properties that may also exist within the passed object, then those methods/properties will operate as expected. * Type and structure compatibility is not checked at compile time. *A hallmark of duck typing. |
|
While duck typing is neat and useful in some areas, it does have its downside. *Debugging can be more difficult and unexpected behaviour can happen when conceptually different objects that share some identical methods/properties are passed to the "wrong" routine. *Imagine a "camera" object and a "gun" object passed to a routine that executes the object's "shoot" method. If you do not like this use of "duck typing" then feel free to replace it with "loose typing". It was the vague use, likely due to vague understanding, |
|
that prompted me to request for elaboration. |
|
*Your response to my request for elaboration included none, |
|
and reinforced my suspicion that you were just throwing the term around without really understanding how it applied to OO in MV, |
|
or perhaps any OO language. |
|
-- Kevin Powick |
#10
| |||
| |||
|
|
On 2011-07-19 17:30:41 -0400, dawn <dawnwolth... (AT) gmail (DOT) com> said: I am comfortable classifying all MV BASIC as "duck-typed" as an alternative to calling it "loosely typed" As long as you're comfortable, I guess that's what's important. |
![]() |
| Thread Tools | |
| Display Modes | |
| |