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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Microsoft Small Basic

163 点作者 livinglist将近 2 年前

24 条评论

vijayer将近 2 年前
Hey all, creator of Small Basic here. I made this back in 2008 as a side project when I used to work at Microsoft. My belief was&#x2F;is that you can get more kids interested in programming when the IDE (language + runtime + libraries) encourages iterative coding with simple gratification loops built in.<p>You can see a bunch of decisions influenced by .Net which I was working with back then. I had been meaning to go back and revisit some of those decisions, but haven&#x27;t had a chance yet. I have changed my stance around scoping and argument passing in functions, for instance.<p>(What is really neat is that 15 years later, my son is learning coding with Small Basic. And I hired an engineer for my current startup who had started coding with Small Basic as a kid in Brazil.)
评论 #35942760 未加载
评论 #35944358 未加载
chabad360将近 2 年前
Wow, this really brings back memories. Small Basic was the first actual programming language I learned back when I was 10 years old. I remember getting my dad to print the language manual so I could read it on the plane ride to my grandparents.<p>The editor they shipped had some neat features for the time like Intelisense and built-in docs, it even had support for third-party libraries with DLLs. One really neat feature I also remember was that you could turn a SB project into VB with a click of a button, it would create the VS solution and vbproj for you. I&#x27;m not quite sure how it worked with the language itself cause VB looks quite a bit different and it wouldn&#x27;t change your code (no transpiling or stuff like that, just a wrapper).<p>Funnily enough, I didn&#x27;t actually move to VB from that, I went to C# (which I have since forgotten). But it definitely got me quite a bit further in my developer journey (now I work with Go at a small org).
评论 #35941465 未加载
WillAdams将近 2 年前
There&#x27;s an effort at a &quot;Visual&quot; version of this:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;VBAndCs&#x2F;sVB-Small-Visual-Basic">https:&#x2F;&#x2F;github.com&#x2F;VBAndCs&#x2F;sVB-Small-Visual-Basic</a><p>Which I&#x27;ve been trying to determine if I should try.<p>For a while I thought Livecode (formerly Runtime Revolution), a rebooted HyperCard was going to be a good fit for small, graphical interface projects, but that&#x27;s not looking so good since they closed the source and changed the license.<p>I&#x27;d really like to find something which is as straight-forward to use as Blockly, but which had a stand-along desktop app&#x2F;IDE.
评论 #35958137 未加载
评论 #35939759 未加载
dang将近 2 年前
Related:<p><i>Microsoft Small Basic</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9981557" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9981557</a> - July 2015 (87 comments, some from the creator)<p><i>Microsoft Small Basic</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1172519" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1172519</a> - March 2010 (26 comments)<p><i>Small Basic: Programming Is Fun</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1171383" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1171383</a> - March 2010 (27 comments)<p><i>Introducing Small Basic - Microsoft releases yet another programming language</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=358050" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=358050</a> - Nov 2008 (6 comments)
themodelplumber将近 2 年前
Speaking of Small Basic, I found that SmallBASIC was a really fun discovery:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;smallbasic&#x2F;SmallBASIC">https:&#x2F;&#x2F;github.com&#x2F;smallbasic&#x2F;SmallBASIC</a><p>There are lots of examples to work from, a very functional Android app, and Linux users can use the AppImage releases to get up and running fast.<p>Back when I was comparing BASIC distros for scripting&#x2F;programming, this one was by far my favorite for day-to-day use cases.<p>(BTW, does anyone know if the MS Small Basic software runs in Wine?)
ok123456将近 2 年前
&gt;Likewise, your program can use any variables defined in your subroutines. In computer talk, we say all variables in a Small Basic program have global scope.<p>Is scope really that big of a hurdle for beginning students? Also, in the examples I saw there are no formal functional arguments. This seems like a big step backwards as a teaching language compared to Racket&#x2F;Dr Scheme. Copying the same bad design decisions from 70s BASICs because of nostalgia doesn&#x27;t seem that helpful for actual education.
评论 #35943082 未加载
评论 #35939056 未加载
评论 #35958192 未加载
评论 #35941219 未加载
tpmx将近 2 年前
I quite like this modern reimplemention of GW-BASIC:<p><a href="https:&#x2F;&#x2F;robhagemans.github.io&#x2F;pcbasic&#x2F;" rel="nofollow">https:&#x2F;&#x2F;robhagemans.github.io&#x2F;pcbasic&#x2F;</a>
pwdisswordfishc将近 2 年前
Is this actually Microsoft-made? Everything about the webpage design screams knock-off.
评论 #35937524 未加载
评论 #35937480 未加载
jonplackett将近 2 年前
Still think QBASIC was the perfect way to start coding.
评论 #35938129 未加载
评论 #35944899 未加载
chkas将近 2 年前
&gt; Small Basic is the only programming language created specially to help students transition from block-based coding to text-based coding.<p>Not the only one: <a href="https:&#x2F;&#x2F;easylang.dev&#x2F;ide" rel="nofollow">https:&#x2F;&#x2F;easylang.dev&#x2F;ide</a>
评论 #35937883 未加载
评论 #35939117 未加载
评论 #35958205 未加载
评论 #35939992 未加载
评论 #35939996 未加载
svb_2023将近 2 年前
Hi @vijayer Thanks for the amazing language. I&#x27;d like to tell you that I&#x27;ve eveolde SB by adding a form designer and a mini winforms lib, in addition to many modification to the compiler itself. For more details: <a href="https:&#x2F;&#x2F;github.com&#x2F;VBAndCs&#x2F;sVB-Small-Visual-Basic">https:&#x2F;&#x2F;github.com&#x2F;VBAndCs&#x2F;sVB-Small-Visual-Basic</a> I also provided a 750 pages reference book for sVB: <a href="https:&#x2F;&#x2F;drive.google.com&#x2F;file&#x2F;d&#x2F;1pCnB4_7pEBc_wT2u258MmutYCuXwpvjN" rel="nofollow">https:&#x2F;&#x2F;drive.google.com&#x2F;file&#x2F;d&#x2F;1pCnB4_7pEBc_wT2u258MmutYCuX...</a><p>Thanks.
评论 #35961704 未加载
Daunk将近 2 年前
I still think BlitzMax NG is the way to go if you want something similar to BASIC - <a href="https:&#x2F;&#x2F;blitzmax.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blitzmax.org&#x2F;</a>
Dalewyn将近 2 年前
&gt;For ages 7 to 107, Small Basic is one of the easiest ways to learn to code.<p>I really miss programmer sense of humor, we used to have more of this back in the day.<p>Everything is so bland and serious now.
TrashHeap64将近 2 年前
I didn&#x27;t care much for Small Basic when it came out. It did lead me to QB64 which I had a lot of fun with
tomcam将近 2 年前
&gt; For ages 7 to 107, Small Basic is one of the easiest ways to learn to code.<p>I’m 109 and I feel I’m not being seen
im_down_w_otp将近 2 年前
I’m over here pining for Apple to give the revival treatment to HyperCard with iOS as a “Stack” target, so my kids can make apps for the iPad and share them with their friends.
评论 #35940732 未加载
评论 #35940088 未加载
int_19h将近 2 年前
I really wish someone would revive ABC:<p><a href="https:&#x2F;&#x2F;homepages.cwi.nl&#x2F;~steven&#x2F;abc&#x2F;programmers&#x2F;handbook.html" rel="nofollow">https:&#x2F;&#x2F;homepages.cwi.nl&#x2F;~steven&#x2F;abc&#x2F;programmers&#x2F;handbook.ht...</a>
rbanffy将近 2 年前
It’s fun, but isn’t the effort similar to learn, say, Python, with a lot less market value?<p>If you start from nothing, C can be as easy as BASIC. You can do a lot without ever touching malloc&#x2F;free.
评论 #35939080 未加载
评论 #35958226 未加载
评论 #35944429 未加载
keithnz将近 2 年前
I really liked it when my eldest son was playing with it years ago, but not being able to build your own functions was really unfortunate.
protoster将近 2 年前
NSFW, this is some serious domain name gore.
teddyh将近 2 年前
At that point, you might as well just start with Python.
UberFly将近 2 年前
Learn to code with these creepy turtle-faced humanoids.
FourthProtocol将近 2 年前
Top comment here is how many I interact with react when they discover my love of VB. net. Some food for thought, then:<p>I wrote my first complete computer program in 1986. Since then I&#x27;ve programmed (or scripted) in Assembler, BASIC, C, C#, C++, COBOL, F#, HTML, Java, JavaScript, LOGO, Pascal, SQL, VBA and XAML. I don&#x27;t mind C#. Or Java. The majority of the code I&#x27;ve written in my career was written in C#. And yet my preference remains VB.NET because -<p>VB.NET supports both static and dynamic typing.<p>VB.NET is a functional language, supporting local type inference, anonymous functions, monads, and language integrated comonads (even Lisp can be more complex and verbose than VB.NET with LINQ).<p>VB.NET does project-wide namespace imports. C# doesn&#x27;t.<p>VB.NET is no more or less verbose than C#. Haskell and F# however, are indeed a lot less verbose.<p>There are also readability issues in Java and C# that VB.NET doesn&#x27;t have (braces, == and =, ! instead of Not, seperate keywords for inheritance and interface implementation, and so on). I learnt Pascal before learning C (and prefer Pascal to C). The fact that Pascal and VB.NET share syntactical smilarities (type declarations follow variable and function names, the Not keyword) is probably not an insignificant factor.<p>Lastly, Microsoft announced that evolution of the VB.NET language has concluded, (although it will support .Net 5). This is welcome because it makes things predictable -- modernising legacy codebases takes ages.
评论 #35940759 未加载
评论 #35939276 未加载
评论 #35939101 未加载
codeflo将近 2 年前
&gt; when you graduate to Visual Basic<p>Please don&#x27;t. I don&#x27;t mind Microsoft pushing .NET languages, that&#x27;s sort of expected, but why VB? Getting started with modern Visual Basic isn&#x27;t actually all that much easier than with C# -- both target the .NET runtime, and the deeper semantics are actually largely the same. And C# is infinitely more relevant in the job market.
评论 #35938140 未加载
评论 #35938477 未加载
评论 #35938421 未加载
评论 #35938741 未加载
评论 #35938913 未加载
评论 #35938339 未加载
评论 #35938766 未加载
评论 #35938821 未加载
评论 #35940704 未加载