TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What are your opinions on modern BASIC dialects?

29 点作者 obdev超过 3 年前
I’ve been programming professionally for over a decade with both “business” and “hacker” languages.<p>Although I’m not unhappy with what I’ve been using, I have developed an interest in BASIC after I was introduced PureBasic and AppGameKit (DarkBASIC).<p>I’m wondering about your experiences and feelings about today’s BASIC languages.

24 条评论

silisili超过 3 年前
I started in BASIC, and loved it. I was profilic, even. C and such were so ugly and hard in comparison.<p>Once I grew and learned other languages, I only then realized why BASIC is&#x2F;was weird and &#x27;bad&#x27;, as people say.<p>I love that BASIC existed for me, and I learned a lot, but I don&#x27;t think it has much value today.<p>I think Python is a similarly easy language, and one people can immediately be more productive in.
gsliepen超过 3 年前
I grew up with many versions of BASIC, the best ones I used were Locomotive BASIC and GFA BASIC. Today&#x27;s BASIC languages, like FreeBASIC, don&#x27;t feel like the old BASICs anymore. Furthermore, the power of BASIC in the 80s was that it was on almost every home computer, but that is no longer the case. I think today&#x27;s equivalent of BASIC is Python.
评论 #28569345 未加载
chkas超过 3 年前
I have made an easy programming language, which is not BASIC, but has some similarities with the old home computer BASIC variants. Variables don&#x27;t have to be declared, you can draw on the screen with simple commands, you don&#x27;t have to install anything and you can start right away, etc.<p><a href="https:&#x2F;&#x2F;easylang.online&#x2F;ide&#x2F;" rel="nofollow">https:&#x2F;&#x2F;easylang.online&#x2F;ide&#x2F;</a>
评论 #28578975 未加载
评论 #28569322 未加载
yjftsjthsd-h超过 3 年前
Have you looked at <a href="https:&#x2F;&#x2F;freebasic.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;freebasic.net&#x2F;</a> and <a href="https:&#x2F;&#x2F;www.qb64.org&#x2F;portal&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.qb64.org&#x2F;portal&#x2F;</a> ? It&#x27;s been ages since I actually wrote code in BASIC, but there do appear to be nice open-source options in the modern world
评论 #28569888 未加载
jhallenworld超过 3 年前
I&#x27;ve been playing with classic BASICs recently, especially dialects for pocket calculators. Here are some random thoughts from this exercise:<p>&quot;PRINT USING&quot; is terrible (vs. C&#x27;s formatted strings).<p>&quot;INPUT A&quot; is not versatile enough. I should be able to prompt with the current value of A, so user can hit enter to keep the current value. None allow you to print the current value of A (INPUT STR$(A)+&quot;&gt;&quot;,A does not work anywhere). Some dialects allow you to retain A: TRS-80 BASICs do it. MS-BASIC sets A to zero if user just hits Enter.<p>Pocket computer BASIC allows you to enter an expression as a response to INPUT, such as A+1.<p>Modern calculators allow you to enter equations in textbook format. I kind of think modern BASICs should support this- no reason to be stuck in the early 60s teletype world.<p>Pocket computer BASIC allows you to bind programs to keys (or at least entry points to keys: you can have a key jump to a line with a key-label).<p>Pocket computer BASIC allows you to read the last entered value (AREAD command in Sharp).<p>Here is a benchmark which shows why these things can be important, at least in the realm of pocket computers and calculators:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jhallen&#x2F;calculator&#x2F;wiki" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jhallen&#x2F;calculator&#x2F;wiki</a>
replwoacause超过 3 年前
The problem with PureBasic is the executables it compiles are flagged aggressively by antivirus software. Have a look at their forum, it is a major issue for developers who have invested a lot into building software with the language.
kumarsw超过 3 年前
I&#x27;ve been using Xojo for a little while, which is kind of like a cross-platform Visual Basic. It&#x27;s pretty nice other than a fairly limited standard library (json is supported but not zip files, no object serialization and limited file&#x2F;path manipulation functions). Also there&#x27;s no &quot;community edition&quot; or similar so you have to be pretty sure you want to use it before paying up the $300 for a license.
评论 #28568829 未加载
azhenley超过 3 年前
BASIC is how I got started, and I&#x27;m always tinkering with making BASIC compilers (<a href="https:&#x2F;&#x2F;web.eecs.utk.edu&#x2F;~azh&#x2F;blog&#x2F;teenytinycompiler1.html" rel="nofollow">https:&#x2F;&#x2F;web.eecs.utk.edu&#x2F;~azh&#x2F;blog&#x2F;teenytinycompiler1.html</a>). I&#x27;m open to trying a &quot;modern&quot; dialect, and I think novices could benefit from it as well.<p>Are there any <i>big</i> efforts towards a modern BASIC?
评论 #28569099 未加载
7thaccount超过 3 年前
It seems like the poster is asking about PureBasic and it&#x27;s competitor (PowerBasic). These are modern Basic languages that run very fast and compile into small executables with solid library support. I believe the two front runners are both commercial products, but pretty cheap (a lot less than an annual subscription for most IDEs).<p>I don&#x27;t think they were referring to QBasic or VB6 or anything like that.
klaussilveira超过 3 年前
DarkBasic was all the rage in the 2000s and it is open source now:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;TheGameCreators&#x2F;Dark-Basic-Pro" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;TheGameCreators&#x2F;Dark-Basic-Pro</a>
tenebrisalietum超过 3 年前
My favorite BASIC of all time was QBasic.<p>FreeBASIC was interesting - a portable implementation and extension (including OOP concepts) of the original PC QBasic and I enjoyed playing with it a long time ago.
评论 #28569318 未加载
orionblastar超过 3 年前
VB.Net is like Basic meets C or Java.<p>I still like Visual BASIC 6.0 for older machines.
评论 #28568266 未加载
Aardwolf超过 3 年前
I really liked QBasic in the 90&#x27;s. Its help, debugging functions, and example games you could modify, were amazing to learn programming as a kid.<p>I also tried some Visual Basic back then, but didn&#x27;t like it because I loved drawing things with pixels in QBasic (using PSET, CIRCLE, etc..., in e.g. Mode 13h) and VB couldn&#x27;t do that (at least not any way I knew), only create GUI windows with radio buttons and such, which really disappointed me.
mrozbarry超过 3 年前
I was pretty heavy into the QBasic community in the 2000s, and move into the FreeBASIC community once it was stable.<p>I&#x27;d highly recommend FreeBASIC, especially if you enjoy C-style programming. Lots of good libraries and good C library support (give or take writing the headers by hand or translating)<p>I tried QB64, but I&#x27;d only recommend that if you want nostalgia. By default, it gives that classic QBasic IDE interface, and feels very self contained.
评论 #28569101 未加载
rikroots超过 3 年前
My first programming language was (I think) BBC Basic. Later on I used AMOS Basic which was tailored to do amazing stuff using the Amiga hardware.<p>AOZ studio[1] is (I believe) a modern descendant of AMOS (but without the Amiga). Every now and again I visit the language&#x27;s homepage but I haven&#x27;t downloaded and played with it yet.<p>[1] - <a href="https:&#x2F;&#x2F;www.aoz.studio&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.aoz.studio&#x2F;</a>
Bostonian超过 3 年前
I notice each month the high positions of Visual Basic (#6 in Sep 2021) and &quot;Classic Visual Basic&quot; (#11) in the Tiobe Index <a href="https:&#x2F;&#x2F;www.tiobe.com&#x2F;tiobe-index&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.tiobe.com&#x2F;tiobe-index&#x2F;</a> . Is Tiobe exaggerating the popularity of these Basics or are they really so popular but rarely discussed?<p>I liked VBA when I used it within Excel.
rzzzt超过 3 年前
RapidQ was a friendly dialect that I have dabbled in: <a href="http:&#x2F;&#x2F;rapidq.phatcode.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;rapidq.phatcode.net&#x2F;</a><p>For something more modern, take a look at QB64 that is aiming for QBasic compatibility on recent platforms: <a href="https:&#x2F;&#x2F;www.qb64.org&#x2F;portal&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.qb64.org&#x2F;portal&#x2F;</a>
junon超过 3 年前
I used Liberty Basic back when I was about 9. It was one of my first languages and I held it very dear. I also dabbled a bit in VB, but C# became somewhat popular(&#x2F;created? I don&#x27;t remember) around the same time so that took over.<p>Overall, if you like it, use it! Can&#x27;t hurt. I wouldn&#x27;t recommend it for any serious, large projects that would require a team of collaborators, though.
johnklos超过 3 年前
BASIC can be quite powerful. The version on the Sinclair QL was ahead of its time, for example.<p>For modern BASIC, you have some interesting choices such as EndBASIC, which is written in Rust and which has some very cool features:<p><a href="https:&#x2F;&#x2F;jmmv.dev&#x2F;software&#x2F;endbasic.html" rel="nofollow">https:&#x2F;&#x2F;jmmv.dev&#x2F;software&#x2F;endbasic.html</a>
pan69超过 3 年前
Others have already shared their opinions on BASIC past and present. I agree with most.<p>In the event you are willing to explore another language I might suggest to have a look at Lua.<p><a href="https:&#x2F;&#x2F;www.lua.org" rel="nofollow">https:&#x2F;&#x2F;www.lua.org</a>
chikega超过 3 年前
Another very popular Basic language under very active development is B4X. It must have one of the most vibrant forums I&#x27;ve seen.
sys_64738超过 3 年前
Commodore BASIC V2 taught me 6502 ML.
Torwald超过 3 年前
I want to suggest to you that you research AMOS which was a BASIC for the Amiga with very interesting concepts.<p>I think &quot;spaghetti&quot; is in the eye of the beholder. Alternatively you could argue that GOTO&#x2F;GOSUB puts BASIC near ASM and that is cool.
mseepgood超过 3 年前
VB.NET is a decent programming language.
评论 #28569993 未加载