Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,281 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Sign in to follow this  
Kwabs

BASIC

Recommended Posts

Kwabs

Well, you all know what BASIC is I hope. It's the ancient programming language, invented in 1963. But recently, I downloaded DOSBox (a DOS emulator) to use QBasic and now I notice how much other coding languages look like BASIC. Of course BASIC has other tags (CLS, PRINT, GOTO, INPUT, etc) but the way it works seems to be the same. So I was wondering if it's still useful to learn some more programming in BASIC?

Share this post


Link to post
Share on other sites
Barguast

Not really.

 

Programming languages all evolved from each other, and BASIC was a fairly major stepping stone towards getting us where we are now. It helped make programming accessible to the masses (it was my first language), but it doesn't really offer anything these days in comparison to more modern languages. Even beginners could do better than to start with BASIC as it teaches a lot of bad habits. GOTO being the obvious example.

Share this post


Link to post
Share on other sites
K^2

QBasic doesn't rely on GOTO. It's there, but it's already considered bad tone to use it. QBasic to BASIC is what Fortran 90 is to FORTRAN 66.

 

That said, it's still a big waste of time to develop under QBasic. It's slow as drunken snails. The graphics output is basically pixel per frame, because of how graphics output works. And because of limitations of buffers, your ability to use sprites is also going to be very limited. I've actually written some simple 3D code under QBasic back in the day, and the kind of memory hacks that took was unreal.

 

If you are interested in writing something for DOS, try Digital Mars C++ compiler. Just use Mode 13h for graphics.

Share this post


Link to post
Share on other sites
Happyness

Sorry for bumping the topic and whatnot, but they teach me Basic at school... Jesus what a bunch of f*cktards. (Actually old school, I will hopefully finish school forever this summer!)

 

But err, they don't teach anything else. Just Basic.... (P.S. I am in Jordan not Romania)

Share this post


Link to post
Share on other sites
na89340qv0n34b09q340
But err, they don't teach anything else. Just Basic.... (P.S. I am in Jordan not Romania)

Educate yourself, homie. C is more simple than C++, but C++ does a lot of things that C doesn't do without extra libraries. If C/C++ is too tough you might try Python until you get the gist of how it works and then move on to C/C++.

 

Of course there are other languages out there too.

Share this post


Link to post
Share on other sites
Happyness

Thank you.

 

But, my point is. That in high school I chose the "I.T" profile, and when I went to school, bang, marketing, management, accounting, and some sh*t related to PC which teaches one capitol of BASIC which is a program launched in 1980s. Dumb f*cking ministry of education.

Share this post


Link to post
Share on other sites
K^2

To quote a Comp Sci professor in introduction to C++ lecture, "It's ok if you never programmed before. It's much worse if you know BASIC."

 

There was a time when learning BASIC was useful in about the same way learning JavaScript may be useful today. And if that's all you are ever going to use, you might never need to learn anything else. But if you are going to try for an actual career dealing with programming, learning BASIC or any derivative as the first language is probably more of a setback than anything.

 

The first experience I had with programming was with MSX BASIC on one of the Yamaha's MSX computers (CX5M, I think.). That influenced a rather warped perception of programming for me which took a while to rectify. Fortunately, I started rather early, so it wasn't a catastrophe. But I can completely understand why any competent programmer will caution against learning with BASIC.

Edited by K^2

Share this post


Link to post
Share on other sites
nightwalker83
To quote a Comp Sci professor in introduction to C++ lecture, "It's ok if you never programmed before. It's much worse if you know BASIC."

That I can agree with.

Share this post


Link to post
Share on other sites
Melchesorge

It helped make programming accessible to the masses

Share this post


Link to post
Share on other sites
DarrenC1888

I have a Commodore 64 and I would like to learn some so this thread is ideal.

Share this post


Link to post
Share on other sites
na89340qv0n34b09q340

 

I have a Commodore 64 and I would like to learn some so this thread is ideal.

No, probably not. C64 BASIC is very limited. Here's a C64 assembler tutorial from programmers who do it for a living. It's not complete, but it looks like a good starting place.

 

If you really truly want to learn Commodore BASIC there are a few tutorials that you can find by googling. Here's one.

Edited by zoo3891

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.