Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
srivastm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
srivastm
6y ago
I worked on gwbasic in early 90s and I turned lack of Docs/resources to my advantage. I used to spend time thinking about different ways to solve a problem. Basic does teach some bad habits, but it also teaches basic control structures
2.
▲
by
srivastm
6y ago
I agree. I had access to no other language in early 90s. I made tons of graphics games in gwbasic back then. I recently wrote a game in PuffinBASIC as well to relive old days: https://github.com/mayuropensource/PuffinBA
3.
▲
by
srivastm
6y ago
Line numbers are optional in PuffinBASIC now, introduced labels, e.g. https://github.com/mayuropensource/PuffinBASIC/blob/master/s...
4.
▲
by
srivastm
6y ago
For teaching in present time, I would start with Python, and may be for CS oriented students go to functional languages, e.g. scheme.
5.
▲
by
srivastm
6y ago
LOGO is very easy to implement. My son loves secret coders books and they are full of turtle graphics code. I myself never used logo. If I get more spare time, I will go for it.
6.
▲
by
srivastm
6y ago
After writing the PuffinBASIC interpreter and a game, here are my initial comments on the BASIC language: 1. Drop line numbers and use Labels 2. Needs multi-line IF-THEN 3. Needs switch 4. Needs named subroutines with local scope, much like
7.
▲
by
srivastm
6y ago
BASIC was my first programming language. Back in 90s I made tons on graphics game in it. It is also very close to assembly and can be made really fast. As a programming language, I agree it is not a good choice anymore. I was learning antl
8.
▲
by
srivastm
6y ago
I learned gwbasic as my first programming language in 90s. After that I switched to C. So, I never made the transition to qbasic. The main reasons for this choice are love and familiarity. Now, that I look back at the language, I would clea
9.
▲
by
srivastm
6y ago
I wasn’t aware if this. I will do. Thanks!
10.
▲
by
srivastm
6y ago
:)
11.
▲
by
srivastm
6y ago
Btw, I totally agree with you. I should have said a minor improvement to gwbasic data types. Your comments made me also think about adding a few data types, specially decimal, dict and set.
12.
▲
by
srivastm
6y ago
I am comparing with gwbasic types which was limited to in16, float, double and string. The only type from gwbasic I did not implement is decimal. This is an active project and I plan to add dict/set types soon. I may also add decimal t
13.
▲
Show HN: PuffinBASIC – A cross-platform modern BASIC interpreter written in Java
36 points
by
srivastm
6y ago
|
28 comments