big stupid newbie questions

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

:lol: The smiley looks like it's holding up the wrong finger,.. :P
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
Guest
Veteran
Posts: 128
Joined: Sun Aug 14, 2005 8:33 pm
Location: Forest Lake, MN
Contact:

Post by Guest »

No kidding...
m2j

Post by m2j »

It's like going from BASIC to C...many will tell you that "ZOMG C IS TEH POEWRFULLEST" and maybe it is more powerful than BASIC...but to make use of that power, there's a steep learning curve you have to get over that has chewed up and spit out many a hopeful programmer. FB is similar...it is a powerful language, but to use its power, you have to tackle its learning curve.
Even though to use FB to its maximum potential you have to go through an equivillant learning curve to C, it is not nessesary to do that to get started in coding FB (as you said), so I'd argue that that means FB's learning curve becomes a hell of a lot less steep, because you can bring advanced features into your familiar code one by one, at your own pace, where as C requires a working knowlage of everything for anything to work, which means by the time you get anything to work in C, your good enough to code anything in it.

Basicly your best to think of FB as QB8. The differences between it and the previous versions are little more then the improvements the previous versions had on each other.

Of course it came out maybe 15 years after the last version of QB, so it might be better to think of it as QB 14 or something...

But whatever, this has all been said already.

matt
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

m2j wrote:Even though to use FB to its maximum potential you have to go through an equivillant learning curve to C, it is not nessesary to do that to get started in coding FB (as you said), so I'd argue that that means FB's learning curve becomes a hell of a lot less steep, because you can bring advanced features into your familiar code one by one, at your own pace, where as C requires a working knowlage of everything for anything to work, which means by the time you get anything to work in C, your good enough to code anything in it.
You just restated what I had said in the first place...you realize that, right? :D
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Lol nek... but yeah, C is like made for the unmoron.
Image
Guest
Veteran
Posts: 128
Joined: Sun Aug 14, 2005 8:33 pm
Location: Forest Lake, MN
Contact:

Post by Guest »

C was made for OSes(particularly UNIX) unlike Pascal and Basic(made for applications)... All of them have dramatically different syntaxes... here is a $$$ fo them...

C:

Code: Select all

#include <stdio.h>

int main(void)
{
    printf("Hello, world!\n");
    getchar();
    return 0;
}
Pascal:

Code: Select all

program hello;
{This of course, has none of the sections needed to declare anything}

Begin
       writeln('Hello, World!');
       readln();
End
BASIC:

Code: Select all

Print "Hello, world!"
sleep
I won't even go into assembly...
matt

Post by matt »

You said

C_learning_curve = FB_power_learning_curve

I was trying to propose that...

C_learning_curve >= FB_power_learning_curve




Come to think about it I probably should have just said it like that...

matt - on a serious PR salvaging mission...
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

matt wrote:matt - on a serious PR salvaging mission...
And PR is...
Image
DrV
Veteran
Posts: 63
Joined: Thu Jun 02, 2005 9:44 pm

Post by DrV »

Public Relations, in this case.

Nek will tell you it's also Puerto Rico, among other things. :)
moneo
Veteran
Posts: 451
Joined: Tue Jun 28, 2005 7:00 pm
Location: Mexico City, Mexico

Post by moneo »

Captainlazy wrote:.....
on my desktop i now have freebasic, qbasic 1.1, quickbasic 7.1 and qbasic 4.5. To be honest i'm more confused than ever.....
im getting back into it because i just enjoy programming and want to make progs for my own use (that satisfaction of completing your own program).....

The general feeling however seems to be that freebasic is fantastic, wonderful and great, while qbasic in all its versions is dead. There must be drawbacks though - or am i wong? I'm happy using qbasic BUT at the same time i dont want to miss out! i suppose i just want to be convinced - or maybe i dont know what i want?!!? AAARrrggghh!!!
I have some suggestions:
1) Forget about QBasic 1.1. It's too old and has limitations.

2) Forget about QuickBasic 7.1. It's a monster that doesn't offer much beyond QBasic 4.5, unless you're enamored with ISAM, which in my opinion is a mess.

3) Keep your QBasic 4.5 and Freebasic. Keep your FB updated to the latest version and use the latest FBIDE.

4) Write and debug your new "self-satisfying" programs in QB 4.5. Afterwards, compile it with FB. You may need to make some minor adjustments, but this will give you a better feeling for FB. Also, you may find some extra goodies that you couldn't find a way to do them in QB, and now you can explore FB to find out how to do these things.

5) The end result is that you will have both the QB and FB versions of your programs plus have a good feel for FB. Now, at this stage, you will have become aware of any FB drawbacks that affected you, and you can make your own decision whether to stay with QB or move on to FB for future programs.

What do you think?
*****
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

what drawbacks of fb?
Image
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

Nathan1993 wrote:what drawbacks of fb?
It lacks afew keywords that are most commonly used in company applications. For game making FB is clearly superior, for app making it's pretty much tied unless you need the extra speed, stability, and libraries that FB provide
I have left this dump.
marzec
Newbie
Posts: 7
Joined: Sat Jun 25, 2005 9:23 am

Post by marzec »

/me puts on troll mask

c++ is superior to you all!
________
HOW TO ROLL A BLUNT
Last edited by marzec on Fri Feb 11, 2011 2:55 am, edited 1 time in total.
Kevin

Post by Kevin »

MystikShadows wrote:To err is human, but to really screw up you need C++
I think that's how it went, that is going to be next month's quote...
C++ has a -5 star computer crash safety rating in consumer reports...
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

No...

C++ is to mess up.

ASM is to really screw up your whole machine.
Image
Post Reply