10 INPUT "What is your name: "; U$
20 PRINT "Hello "; U$
30 REM
40 INPUT "How many stars do you want: "; N
50 S$ = ""
60 FOR I = 1 TO N
70 S$ = S$ + "*"
80 NEXT I
90 PRINT S$
100 REM
110 INPUT "Do you want more stars? "; A$
120 IF LEN(A$) = 0 THEN GOTO 110
130 A$ = LEFT$(A$, 1)
140 IF (A$ = "Y") OR (A$ = "y") THEN GOTO 40
150 PRINT "Goodbye ";
160 FOR I = 1 TO 200
170 PRINT U$; " ";
180 NEXT I
190 PRINT
It is said that computer languages are a lot like religion. The one you learn first is always the most comfortable, the one most people prefer. Unless a person has studied/used several languages in depth he lacks the ability to make a sound judgment regarding the merits of any language.Mike said:Anyone who generalizes about one language being better than another is pretty much a moron.
.They all have their advantages and disadvantages
Mike said:I wish I could have put it so elegantly. Of course that's what I meant. When you become proficient in several languages you gain valuable knowledge and experience that helps you decide when it's appropriate to use one over another. BTW, my first language was Apple ][ Integer BASIC and Applesoft BASIC (1979). I did however have to write the real-time operating system firmware for the EPG and EPG-II character generators in 1984 (the earliest versions of the current "TV Guide Channel") using 6502 assembly language.
In a way I suppose having limited funds forced me to become proficient in Microchips free assembler and C18 tools and I'm very thankful that both are "main stream" and shouldn't dissappear anytime soon. If Swordfish BASIC could somehow become Microchip BASIC they (Microchip) would have a pretty well rounded toolsuite offering. And if was a 'free' tool, man, that would be sweet.
Which brings up a question. Why doesn't Microchip have a BASIC language offering? Do they not consider it a viable language? Or, were they happy with the commercial BASIC offerings?
gramo said:There's an overwhelming amount of support out there for PIC Basic over C, the same trend runs right across the board from PIC's to PC's.
I do not claim they are the last word but it looks about right regarding popularity. I do not expect to find many people programing a micro in Java.The TIOBE Programming Community index gives an indication of the popularity of programming languages. The index is updated once a month. The ratings are based on the world-wide availability of skilled engineers, courses and third party vendors.
The ratings are calculated by counting hits of the most popular search engines
After reading this, I decided to try a manual comparison myself. I ran a test using Google and the query string provided in the TIOBE explanation (+"<language> programming" -tv -channel). Here are the results:
Java 13,600,000 hits
PHP 12,800,000 hits
Basic 7,810,000 hits
C 5,760,000 hits
Perl 5,610,000 hits
C# 4,660,000 hits
C++ 4,610,000 hits
Python 1,120,000 hits
Ruby 236,000 hits
Cobol 192,000 hits
Hmmm. This does not feel quite right. I'm sure Cobol has a bigger web presence, so maybe the query of "Cobol Programming" as a phrase match is too limitting as that may not be how Cobol people talk? Maybe they say "Programming in Cobol" instead? Or "Cobol Portal for Programmers". When removing the "Programming" part of the query, Cobol has 16,400,000 results. Wowzers. PHP jumps to 5,030,000,000. MEGA-WOWZERS! Let's look at the more raw hits and see where they stand, then we can come up with a revised query. This is the hits based on the query +<language> -tv -channel just to keep it similar:
PHP 5,030,000,000 hits
Basic 1,550,000,000 hits
Java 917,000,000 hits
Perl 328,000,000 hits
Python 231,000,000 hits
C++ 215,000,000 hits
Ruby 135,000,000 hits
C# 114,000,000 hits
Cobol 16,400,000 hits
The ratings are based on the world-wide availability of skilled engineers, courses and third party vendors.
BASIC may be popular with hobby types but the real market for language tools and chips are professionals.Mike said:Which brings up a question. Why doesn't Microchip have a BASIC language offering? Do they not consider it a viable language? Or, were they happy with the commercial BASIC offerings?
Do you know any language as well as you do BASIC ?
3v0 said:If I did not already have 16F chips and the CCS compiler I would buy all 18F chips and use microchips free C compiler. Better to spend a few extra dollars on the chips then the compiler in this case.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?