Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2.fluke 9/24/84; site fluke.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxb!houxm!vax135!cornell!uw-beaver!ssc-vax!fluke!kurt From: kurt@fluke.UUCP (Kurt Guntheroth) Newsgroups: net.lang Subject: Good Things About BASIC Message-ID: <401@vax2.fluke.UUCP> Date: Mon, 25-Feb-85 16:17:16 EST Article-I.D.: vax2.401 Posted: Mon Feb 25 16:17:16 1985 Date-Received: Thu, 28-Feb-85 20:07:59 EST Reply-To: kurt@fluke.UUCP (Kurt Guntheroth) Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 35 Keywords: BASIC Lets think about BASIC. What things make people want to use BASIC. Simplicity: a minimum number of concepts to learn so you may begin to solve simple problems in the language immediately. I learned enough BASIC to program in BASIC in 45 minutes and it was my first programming language. Sure the I/O isn't wildly powerful, but it is easy to use and understand. And, for a variety of programs, it is quite powerful enough to get the job done. Sure the single scope makes big programs a hassle, but for small (and I don't mean toy) programs the power is sufficient. How much of Unix is programs with less than 500 lines? Strings as a fundamental type: Try to write simple programs in C or Pascal that manipulate string data, search arrays of strings, catenate, find substrings etc. You can't because these languages don't provide any support for strings. Virtually all BASIC's have dynamically allocated strings provided. You don't mess with the allocation, you don't mess with defining the string type, you don't write your own string handling library. It's all in the language. I mostly use C. I write compilers and embedded software for test instruments. I have to say I wish I had a tool more powerful than C. I also use BASIC. BASIC is neat for not-too-demanding financial calculations, printing charts and tables from data, prototyping little things like sorts. It is arguable that there is another tool that would do the simple things I want to do better than BASIC, but not a lot better. Logo is nice, I guess, but where is the implementation? I like B too. Same question. BASIC is a USEFUL LANGUAGE TO SOLVE CERTAIN IMPORTANT CLASSES OF PROBLEMS and anybody who categorically refuses to recognize its usrfulness has condemned themselves to a life of working too hard on that class of problems. (Or else is one of the lucky few who has at his disposal one of the tools which is actually better than BASIC for such tasks.) -- Kurt Guntheroth John Fluke Mfg. Co., Inc. {uw-beaver,decvax!microsof,ucbvax!lbl-csam,allegra,ssc-vax}!fluke!kurt