The Fine Print: The following comments
are owned by whomever posted them.
( Reply )
|
Re: KBasic
by Alain on Sunday 10/Jun/2001, @19:19
|
Thank you. But I know this site from several months, and I am surprised to see, today, that Fortran is suddendly coming, while nothing seems changing about KBasic... Always the same old screenshots... Although, yes, it seems there are some progress... many more slower than Gideon-Fortran...
I am wondering whether devopping Basic inside Gideon would not be better ??...
Also, there is PyKDE for Python. Is'nt it in duplication with the Python of Gideon ?
But, certainly, there are many things I don't understand...
|
[
Reply To This | View ]
|
Re: KBasic
by Bernd Gehrmann on Sunday 10/Jun/2001, @21:04
|
No. PyKDE is a library that allows you to access
the KDE API from a program written in Python.
KDevelop is an IDE. You can write programs using
PyKDE with the help of KDevelop. I think it'll
make a good combination :-)
|
[
Reply To This | View ]
|
Re: KBasic
by Carbon on Sunday 10/Jun/2001, @23:57
|
>Also, there is PyKDE for Python. Is'nt it in duplication with the Python of Gideon ?
Not really. PyKDE/PyQT allows _any_ python app, written in kdevelop or not, to create and use QT/KDE widgets, signals/slots, etc.
However, python support in kdevelop allows you to write python apps inside kdevelop, whether or not said apps use PyQT/PyKDE is up to the developer. The point is, you could and still can use kdevelop to develop non-KDE or KDE apps, and now you can do this with other languages then C++.
|
[
Reply To This | View ]
|
Re: KBasic
by Alain on Monday 11/Jun/2001, @02:48
|
Thank you, I understand about Python. And I see that KBasic is not similar to PyKDE, but is similar to Gideon/Python.
So, again, I don't understand about Basic. It is now possible to write Fortran, Perl and Python apps inside Gideon, and quickly. Why not Basic ?
Isn't is a better way than the slow KBasic ?
Perhaps my question is disturbing, sorry...
|
[
Reply To This | View ]
|
Re: KBasic
by Carbon on Monday 11/Jun/2001, @03:55
|
I really wasn't saying anything about KBasic in my post above, I was just blabbering about Python. I haven't used KBasic myself, and there's a reason for that : the Basic language itself is sucky. I have yet to seen it done properly, and the closest it ever came to being useful, Visual Basic, was so utterly proprietary, and the IDE was so utterly useless, it was silly.
Basic was designed as an introductory language before moving on to something more powerful and useful. In much the same way as the Athera widget set, it was taken beyond this model and people attempted to use it for useful stuff. The result was horrendously difficult to read and just plain stinky.
I guess my point is, if you want a language that's easy to learn and still useful, including GUI stuff, try (in the near future :-) KDevelop/Python/PyKDE. Attempting to have people write useful progs or even "Hello World" progs with Basic will just give them bad programming habits. Believe me, I started out on Visual Basic, and the minor inconsistencies with every other language out there (no semicolon at end of statement, '=' having two meanings) wreaked havoc for me . When I started out on PHP, I was constantly and annoyingly assigning variables instead of comparing them in 'if' clauses.
Your question isn't disturbing though! Believe me, although Basic specifically is bad, it's always good to have a simplistic, easy-to-learn, RAD-oriented programming language, as long as it's not too proprietary. But perhaps this would really be more suited toward (dun dun dun) Gideon/Python/PyKDE! :-)
|
[
Reply To This | View ]
|
Basic and KDE : what policy ?
by Alain on Wednesday 13/Jun/2001, @22:43
|
When I wrote my last posts, T was hesitating to say something like :
Please, I only want to have answers about my questions, please don't answer something like :
> the Basic language itself is sucky
> Basic will just give them bad programming habits
> Basic specifically is bad
and so and so...
Hmmm....
I don't want to answer about such things. Only I agree with the page ""Why is KBasic useful for the Linux community ?" : http://www.kbasic.org/1/manifesto.php3
I try an other way for my question :
Gnome has a policy about Basic (it is GBasic and screenshots show it is advanced). What is the policy of KDE ? Let the Basic only out of Gideon and the other languages (even some few used as fortran), or let work together Gideon and KBasic ?
|
[
Reply To This | View ]
|
Re: Basic and KDE : what policy ?
by Carbon on Wednesday 13/Jun/2001, @23:22
|
Well, that really was my answer : KDE's policy on Basic should be : "No Basic allowed".
On the other hand, this is only my opinion. If the majority of the KDE community disagrees with me, then I will bow (grumbling and griping all the way, but still bowing :-) to their vote. Bazaar development is never about a huge group of people, such as the large and wide-spread KDE development team, obeying the commands of only one person.
Also, please don't take my posts as a flame against KBasic. I'm absolutely fine with the objectives of KBasic, as long as it's not (IMHO) a language that shouldn't even exist in the first place. Moreover, I would be delighted if the KBasic team proved me wrong and built a Basic-oriented programming tool that knocked everyone's socks off I'm just highly doubtful that this can be done with Basic. Here's why :
1) There is not currently a significant existing Basic codebase, at least there isn't that I've ever heard of. Most Basic apps are either based on a proprietry, ultra-closed extension of Basic (i.e. Visual Basic), or are (for the most part) really, really old console apps. If I am wrong (and I might very well be) someone supply a URL to some sort of Open Source Basic-based project repository.
2) Basic teaches bad programming habits : Evil, old-fashioned things like GOTOs, which should never be used, and also auto-sensing of certain syntaxes to the point where certain methods become useless (such as what I mentioned earlier about the = sign).
3) There are better alternatives. I am aware of several languages that are much cleaner then Basic, but still easier to learn. For instance, Ruby or PHP (which has no KDE bindings currently, but it might be worth looking into).
|
[
Reply To This | View ]
|
Re: Basic and KDE : what policy ?
by Alain on Thursday 14/Jun/2001, @04:34
|
Mr Ayatollah said :
> KDE's policy on Basic should be : "No Basic allowed"
Now it is a bad answer, because KBasic exists.
Why is KBasic useful for the Linux community ? : http://www.kbasic.org/1/manifesto.php3
My question was :
> > What is the policy of KDE ? Let the Basic only out of Gideon and the other languages (even some few used as fortran), or let work together Gideon and KBasic ?
And I add :
Are some contacts existing between the Gideon team and the KBasic team ?
If no, I hope that such a communication will be open...
|
[
Reply To This | View ]
|
Re: Basic and KDE : what policy ?
by Carbon on Friday 15/Jun/2001, @04:31
|
No, you misunderstand : I'm totally for KBasic, and I'm totally for it's objective of easy RAD. It's just that the language Basic, is frankly awful!
I have read that manifesto, and (please don't take this as a troll, it's just my personal opinion) English-like _takes away_ from the usability of a programming language. First of all, not everyone knows English, and making use of a programming language totally or almsost totally dependent upon knowledge of a certain spoken language is restrictive to those who don't know that language.
Moreover, English is not a good language for logical constructs. The point at which someone can write code by simply typing in, in their native language, what they are thinking, it is no longer programming, it's automagical. It may be possible, but it certainly isn't with Basic in it's current form, because right now Basic isn't even close to a direct translation of English into machine-compilable form. The manifesto seems to imply this, but this is not true, Basic follows very specific syntax rules, just like any other language.
Also, (again IMHO) Basic teaching bad programming habits is not a non-issue. Even if you never use another langauge then Basic, it still makes it incredibly difficult to debug your code. Bad programming habits are not entirely about optimizations, as seems to be implied by the manifesto. Rather, it's about writing clean code that _makes sense_, not just to the compiler but to the writer 3 months later, and to other people wishing to understand the code.
What I would suggest for an easy language is (yeah, I've said this before, but I sure do enjoy driving my point home! :-) PHP. PHP is nice in that it borrows from what's good about languages such as C, perl, etc., but avoids low-level stuff as much as possible. PHP is already capable of a huge amount, it's a well established language that already has an inceredible userbase in the Open Source community. It's currently the most popular module on the most popular web server in the world!
Finally, I really wasn't trying to answer your question about Gideon/KBasic compatibality :-). I was just stating my personal take on the whole topic of Basic.
|
[
Reply To This | View ]
|
Re: Basic and KDE : what policy ?
by Damo on Monday 06/Aug/2001, @11:50
|
Basic Coding != Bad Programming Practice
It's a myth these days -- the language provides a GOTO..it doesn't force you to use it. :)
|
[
Reply To This | View ]
|
Re: Basic and KDE : what policy ?
by Derek on Friday 08/Oct/2004, @08:40
|
The "Goto problem" is a wrong problem : Other languages have it, including C.
Anyway, everyone should be free to use the language they like without being put in ghettos...
Have a nice week-end.
|
[
Reply To This | View ]
|
Re: Basic and KDE : what policy ?
by Ben on Monday 28/Jul/2003, @17:15
|
Looking down your nose at basic is exactly why Linux is not more successful. Most windows apps are developed with basic. Enabling this ability for Linux would kick off the biggest development spurt in the history of development spurts. It is petty and short sighted to take the attitude that basic is inferior. Make it superior. Bring those millions who develop things for work they do that keeps them using bill's junk. All the time I have to develop small apps to control some device or make some computation etc. I do this in vb because it is simple and quick. I have tried to make sense out of the socket wrench set plethora of compilers and environments. I don't have a life time to try and make something work. vb works now and fast and uses the c compiler so it executes plenty fast. Or you could just continue on believing the world will adopt what ever you decree. ms works because they try to fill markets like the one you are ignoring.
|
[
Reply To This | View ]
|
Re: Basic and KDE : what policy ?
by AC on Tuesday 29/Jul/2003, @04:02
|
Is this because Basic is such a brilliant language, or because Basic is just one out of many easy to use languages and the one Microsoft decided to use for its RAD tool?
|
[
Reply To This | View ]
|
Re: Basic and KDE : what policy ?
by Ben on Wednesday 30/Jul/2003, @15:09
|
It is because so many people/companies use it to develop real world applications. There is a large population of developers just waiting for this to happen. I don't know anyone these days that loves ms or wouldn't like to see Linux be successful. Linux developers have been so long concerned with the operating system, desktop and basic office tools that I don't think they are aware of the real world apps developed in vb. I am in radio and all the database software, which we use to analyze ratings, do traffic logs, accounting etc., are all developed with vb as are most other special purpose softwares. I write engineering programs in vb that are otherwise unavailable to me. While there are probably legitimate arguments regarding quality of these programs, there is the reality that vb brings the possibility of programming to professionals in disciplines other than programming, where their expertise is important. Gbasic set out to develop a vb compatible tool. Assuming it would work, that would instantly make available a huge number of programs. It, like all the others, seems to be dead in the water. Kbasic is dormant. Ybasic almost works has years to go. All these people are working alone and can’t seem to get together. Python with a rad environment like boaconstructor is the one most often put up as a replacement. I am learning that now but I don’t believe most people would go through what is necessary to find/install all the necessary programs then learn a completely new language. Can it really be that hard? Are Linux developers just biased against it? Reminds me of the old saying "cutting off your nose to spite your face". In other words somewhat self defeating. Someone explain this to me please.
|
[
Reply To This | View ]
|
Re: KBasic
by davcefai on Sunday 03/Oct/2004, @04:48
|
I have to disagree with the "Basic is bad" generalisation. Bad for whom? Bad for what?
Remember that BASIC started out as an 8K ROM on computers which had from 16 to 64 KB RAM and ran at 1MHz. I suspect that a lot of the initial features were dictated by these limitations. Since then the language has developed out of all recognition. I personally started with Sinclair (Timex in the US) Basic and worked up through IBM Basic, PBasic, CBasic under CP/M, TurboBasic and the Visual Basic from VB3 upwards. With every move (over 25 years) I have been able to port programs I wanted to.
Today, under Windows, I use VB6 and VBA in the MS Office suite. I can use MS Access or VB6 to access MySQL amd MS SQL Server databases with virtually no limitations. "Dave, we need to track the value of XXXX every minute and produce graphs accesible only by Production Managers" generally results in 10 minutes work on the Control System, 20 minutes on the Data Logging app (written in VB6) and another 20 in MS Access to produce the client module.
Unfortunately this type of functionality seems not to exist currently under Linux - AND I DESPERATELY WANT IT TO! There must be a whole horde of people out there with similar needs to mine. An elitist "who needs BASIC anyway" mindset is only going to slow down the takeup of Linux.
Take OpenOffice. They dumped BASIC in favour of a different language. It has made the migration from MS Office to OpenOffice EXTREMELY difficult. Yes you can migrate, but at the expense of dumping all the macros and custom code one had in MS Office. In other words, desirable as OpenOffice (and StarOffice) is, there is a serious hurdle to overcome in migrating. To my mind the problem is not "retraining" users - this is mostly necessary to stop the whining of "It's so different and not powerful enough for my needs" - but the rewriting of all the custom stuff in what appears to be a cumbersome and convoluted language, which is intended to be an "improvement" on BASIC.
My view: forget the linguistics, the purism and the elitist views. BASIC has worked well for years and is familiar to LOTS of people. You don't have to use it if you don't want to. On the other hand having it available will make Linux a lot more attractive to prospective migrants. Don't get me wrong, I prefer Linux to Windows and OpenOffice to MS Office but the lack of BASIC is a major handicap.
|
[
Reply To This | View ]
|
Re: KBasic
by not me on Monday 11/Jun/2001, @03:59
|
>Always the same old screenshots...
To me it looks like they are concentrating on the core language functionality right now, the interpreter, not the GUI tools such as the form designer. So there isn't anything new to take screenshots of. Althogh there doesn't seem to be much development of any kind going on anymore...
The reason Fortran is being added to Gideon and KBasic is not is that Fortran is a complete language and KBasic is still in the pre-alpha stages. When (if?) KBasic matures it could be added to Gideon, but won't it have its own integrated IDE and form designer?
>Also, there is PyKDE for Python. Is'nt it in duplication with the Python of Gideon ?
You seem to be confusing the language binding with the IDE. PyKDE is a language binding, a set of Python functions to access KDE features. Gideon's Python support is just a set of nice features in Gideon's editor and project manager to make it easier to edit python files and projects.
|
[
Reply To This | View ]
|
|
KBasic - fine by me!
by Esme on Wednesday 26/Jan/2005, @15:07
|
BASIC is a programming language; assuming use of a reasonably good version thereof, what makes a program good or bad is the programmer, not the language used. A bad programmer will generally find a way to write badly whatever the language they use to program in. True, some languages attempt to force good practice, but a truly (un)talented bad programmer will still be able to write bad code in them. Whereas a good programmer may be prevented from creating something uniquely wonderful by constraints imposed purely to try to force some particular style or methodology of coding.
Also, equating MS Visual BASIC with the BASIC I learnt on many moons ago seems a bit like comparing chalk and cheese to me. I found VB got in the way of letting one actually code so much that it infuriated me to the point where I simply gave up before ever having created anything of use in it! I well recall arguments way back for and against the strong typing of variables etc, and which language was "better" (BASIC, Pascal, FORTRAN, COBOL, Lisp, FORTH...). IMHO, it's to some extent a matter of personal preference, and to some extent a matter of suitability for the purpose at hand.
For simply giving those new to the whole idea of programming an idea of the basic concepts, old-time BASIC is wonderful. And it has its uses (I still have an old Sharp PC1211 handheld with 1.4k of RAM for BASIC programs, woo-hoo! Still use it now and then, too). Anyone wanting or needing what that kind of BASIC cannot deal well with (or at all) will look for another language that will do the trick. I know I will (I dream of one day giving the Gimp a more familiar front-end, if someone else doesnt do it first!)
Personally, after a gap of many years away and some events that badly hurt my confidence, I want to get back into programming, and I'd welcome something like a good old-fashioned BASIC for Linux, to help shake the rust off and rebuild my confidence. I know I'll probably want to use Perl and Python in the long run, but I havent the time to muck about learning a totally new language at the moment.
I look forward to seeing KBASIC, and hope to see FORTH and LISP one day, too!
Esme
|
[
Reply To This | View ]
|
Basic and Linux
by Eric on Thursday 01/Jun/2006, @22:52
|
To say basic is sloppy, well some are, but look @ RealBASIC. Really, take a good look at it. It is more structured then any other basic aside from ASIC (very old school, nevermind) and it is just a tip of the iceburg. A *BIG* reason Windoze beat OS/2 & Geos was that you could quickly and simply design applications with Visual Basic. OS/2 used Rexx and C/Pascal and Geos used C and an API only. Funniest thing is, NT kernel all the way until 4 had the "OS/2" string in it, and OS/2 Warp 4 was by far the most advanced O/S on the planet when it came out but it was not easy to program for, and died.
The first person who makes a viable COMPILED basic for Linux will usher in the next Operating system standard and make a ton of money. I know, I watched computers since they 8K. 8192 bytes. total. Over 65 Thousand TIMES less then what is standard today/ :)
|
[
Reply To This | View ]
|
|
Re: KBasic
by Alphy on Saturday 17/Jun/2006, @15:00
|
Having looked at the KBasic website just now, I would have two points to make:
First, looking at the syntax KBasic supports made me cringe. I firmly believe that BASIC in any carnation is bound to be evil. (I would certainly suggest using Python as your first language! or one of the many of the other available scripting languages besides BASIC.)
Second, this doesn't matter, because (from what I've seen, at least) KBasic is out to liberate Visual Basic users, rather than provide a useful language. They certainly aren't out to win over Python, PHP or Perl users! In this sense, KBasic is the most wonderful thing available to those stuck with lots of VB code! If successful, those who programmed in VB will be able to get away from it, and even port their code to an alternative OS. This is very good.
Perhaps those making the transition will someday buckle down and learn a new language, like Python. If they do so, however, they can make the transition smoothly, still being productive in KBasic while learning a real language like Python.
So KBasic certainly has my stamp of approval, whatever that is worth!
|
[
Reply To This | View ]
|
The Fine Print: The previous
comments are owned by whomever posted them.
( Reply )
|
|