TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Neon Programming Language

44 pointsby silasdbover 4 years ago

11 comments

karmakazeover 4 years ago
&gt; Neon syntax is not sensitive to whitespace, and does not have statement separators. Neon source code is case sensitive, but there are no requirements on the case of user-defined identifiers.<p>What&#x27;s with the uppercase keywords? It was fine in BASIC and okay in SQL but I don&#x27;t want to hold down my shift key that much while coding.
评论 #24794716 未加载
评论 #24795186 未加载
评论 #24795067 未加载
评论 #24798428 未加载
评论 #24793605 未加载
dTalover 4 years ago
For a language that doesn&#x27;t mention BASIC anywhere in its influences, it looks an <i>awful</i> lot like BASIC.
stevefoltaover 4 years ago
Not to be confused with the earlier language named Neon, which was an object-oriented Forth.
评论 #24794896 未加载
评论 #24794864 未加载
msoucyover 4 years ago
Most of the samples don&#x27;t show anything for me... Maybe a description of what it&#x27;s supposed to be, at most. No code or files.
评论 #24793450 未加载
评论 #24793462 未加载
bsderover 4 years ago
I actually really like that somebody finally used <i>decimal floating point</i> as the default.<p>The problem is that <i>any</i> small language <i>must</i> have a way to reliably manipulate integers properly, or it&#x27;s just not getting anywhere. It&#x27;s okay for that to not be the default, but it must exist.
braindongleover 4 years ago
If I&#x27;m teaching young&#x27;ns per se using a toy language, I&#x27;d reach for Scratch. It&#x27;s history and Google&#x27;s embrace of it seem like strong endorsements. Are there other good candidates in that space?<p>If I&#x27;m teaching an intro class using a general purpose language, it&#x27;s Ruby or Python. My heart lies with Ruby, but having basic Python chops is such a bigger win downstream.<p><pre><code> for i in range(1, 101): if i % 15: print (&#x27;FizzBuzz&#x27;) elif i % 3 == 0: print (&#x27;Fizz&#x27;) elif i % 5 == 0: print (&#x27;Buzz&#x27;) else: print (str(i)) (1..100).each do |i| if i % 15 == 0 puts &#x27;FizzBuzz&#x27; elsif i % 3 == 0 puts &#x27;Fizz&#x27; elsif i % 5 == 0 puts &#x27;Buzz&#x27; else puts i end end</code></pre>
评论 #24795023 未加载
评论 #24795021 未加载
评论 #24796306 未加载
Konohamaruover 4 years ago
It&#x27;s a very pretty language. It&#x27;s Pascal if Pascal were made perfect. Because it seems amenable to Hindley-Milner Type Inference, if it had that, it would be perfect. Imagine having beginners program in a Pascal-like language without having to worry about typing out types!
评论 #24803044 未加载
评论 #24794127 未加载
评论 #24793745 未加载
hhas01over 4 years ago
“Neon is a high-level, statically typed, garbage collected, imperative programming language intended for teaching and learning the craft of programming.”<p>and:<p>“TODO: Tutorial goes here”<p>Says it all, really.<p>..<p>Pascal is [thataway](<a href="https:&#x2F;&#x2F;www.freepascal.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.freepascal.org&#x2F;</a>) for those that care.
mastrsushiover 4 years ago
I dont understand this unspoken contest to make new programming languages look like archaic ones from the 1960&#x27;s. No beginner programmer wants to see := or upper case keywords.
评论 #24798262 未加载
khazhouxover 4 years ago
Why are new languages compelled to show you how to print to console??<p>&gt; print(&quot;Hello, World.&quot;)<p>Literally the least interesting thing about any language.
评论 #24798393 未加载
评论 #24806569 未加载
marethyuover 4 years ago
The syntax is ugly.