I'll see if I can port this "Vi" to this flavor of BASIC.
Building my own Vi text editor in BASIC
11–20 of 53 posts
Re: Building my own Vi text editor in BASIC
#12In BASIC ? Why? Why would you do that to yourself? Don't get me wrong, if he enjoys writing code in BASIC, I'm not going to tell him to stop having fun. It would be silly to tell some random stranger "You're having fun wrong !" (Even if I totally think he's having fun wrong. Grin ). If he's having fun with it, go for it. But man, I looked at the code and got flashbacks. The bad kind. BASIC was the first language I le…
By the standard of getting kids started it’s an amazing and wildly successful language.
By any other standard, it is absolutely terrible! It commits every famous programming sin! Stay away! Do not learn from this language! LOL
Re: Building my own Vi text editor in BASIC
#13There's a little BASIC resurgance now. I've been having fun with this https://github.com/ReuvenSwirsky/erlbasic "Erlang BASIC" which implements a mini-computer style time sharing BASIC system in Erlang. There's a beta of it online now, running a more advanced version than the branch on GitHub I’ve been using. I'll see if I can port this "Vi" to this flavor of BASIC.
Re: Building my own Vi text editor in BASIC
#14Earlier quoted context omitted.
I haven't written BASIC since I was a teenager! The more "modern" basics, without line numbers, were a definite improvement. I went from AppleSoft to AmigaBasic and QuickBasic.
> The more "modern" basics, without line numbers, were a definite improvement. Never used them, and yet I can unquestioningly agree. The way you had to number each line in increments of 10 so that you could insert a line 15 later in between lines 10 and 20 was, looking back at it, insane. I can understand why they did it. In the era of no full-screen text editors, where you just typed each line one at a time into a R…
Re: Building my own Vi text editor in BASIC
#15In BASIC ? Why? Why would you do that to yourself? Don't get me wrong, if he enjoys writing code in BASIC, I'm not going to tell him to stop having fun. It would be silly to tell some random stranger "You're having fun wrong !" (Even if I totally think he's having fun wrong. Grin ). If he's having fun with it, go for it. But man, I looked at the code and got flashbacks. The bad kind. BASIC was the first language I le…
Re: Building my own Vi text editor in BASIC
#16Re: Building my own Vi text editor in BASIC
#17In BASIC ? Why? Why would you do that to yourself? Don't get me wrong, if he enjoys writing code in BASIC, I'm not going to tell him to stop having fun. It would be silly to tell some random stranger "You're having fun wrong !" (Even if I totally think he's having fun wrong. Grin ). If he's having fun with it, go for it. But man, I looked at the code and got flashbacks. The bad kind. BASIC was the first language I le…
"It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration." -- Edsger Dijkstra
Re: Building my own Vi text editor in BASIC
#18In BASIC ? Why? Why would you do that to yourself? Don't get me wrong, if he enjoys writing code in BASIC, I'm not going to tell him to stop having fun. It would be silly to tell some random stranger "You're having fun wrong !" (Even if I totally think he's having fun wrong. Grin ). If he's having fun with it, go for it. But man, I looked at the code and got flashbacks. The bad kind. BASIC was the first language I le…
Re: Building my own Vi text editor in BASIC
#19In BASIC ? Why? Why would you do that to yourself? Don't get me wrong, if he enjoys writing code in BASIC, I'm not going to tell him to stop having fun. It would be silly to tell some random stranger "You're having fun wrong !" (Even if I totally think he's having fun wrong. Grin ). If he's having fun with it, go for it. But man, I looked at the code and got flashbacks. The bad kind. BASIC was the first language I le…
Laughing agreement. I’m very sentimental for BASIC. By the standard of getting kids started it’s an amazing and wildly successful language. By any other standard, it is absolutely terrible! It commits every famous programming sin! Stay away! Do not learn from this language! LOL
10 PRINT "THIS IS FINE"
20 GOTO 10