5 ms·
Something I see missing from computers these days (and lots of days previous) is a programming language designed for non-programmers. The likes of Ruby and Pyt
by colechristensen 12y ago
Something I see missing from computers these days (and lots of days previous) is a programming language designed for non-programmers.
The likes of Ruby and Python are _approachable_ but everything is a mess of libraries, RVM and lookalikes, dependancies, and a whole lot of complication. This is great for the target audience but less so for your average user.
Excel and the Microsoft like are currently filling the role, and doing so poorly.
The scientific community has things like R and MATLAB which do a good job for scientists.
Everybody else _can_ learn a language, but it can be daunting and it's definitely geared towards hackers and professionals.
In an ideal world all computers would ship with a native programming language, a big fat manual for users, and a set of software that's core design allows for and is meant to be programmed for everyday usage.
This language would have to be relatively simple, stable over time, and more monolithic than most. It would have to sacrifice speed and functionality for approachability, but if it were done well it could be world-changing.
Sadly the market is moving in the opposite direction (but in some sense the same direction too) Everybody these days is using an app with simple buttons which doesn't do much at all. It's successful because it's so approachable, but scary because it's so controlled by the vendor.
- vezzy-fnord 12y agoThe languages aren't the problem. It's the ecosystem around them. The software that we use nowadays is highly complex, multifaceted and nested under tons of layers of abstraction. There's only so much languages can do about this. Programming these days requires a lot of domain-specific knowledge like never before, if you intend on doing something larger than text adventure games.
- Tyr42 12y agoIt's a bit dead now, but there is a great little Pascal derived language called Turing used in Ontario schools. It is shipped as this one exe which is a text editor as well as running the code with F1, and docs on F8-10. It made it super simple to get stuff on the screen and start making a simple game. It made our high school programming classes awesome. There were no libraries by third parties or anything, but we could implement everything for a 2-D game ourselves and it was pretty great. There was never any setup problems or pain like that, which was also awesome. Also a code-formatter was on F2, so everyone's code looked sane.
- jamii 12y agoWe're working on that at the moment. We had a post on HN recently with some thoughts about tooling - https://news.ycombinator.com/item?id=7760790 https://news.ycombinator.com/item?id=7760790 . Our goal is to make something that is as approachable as Excel or VB6 to begin with but has a smooth learning curve into a general purpose language with sane tooling.
- gcv 12y agoTake a look at Racket.
- frik 12y agoLua: simple syntax like Basic, powerful and conceptually similar to Javascript, used as scripting language in many video games (from World of Warcraft to Crysis) similar to VBA/Office, has a state-of-the-art and very fast JIT virtual machine "LuaJIT" like JS V8, JavaVM
- scriptproof 12y agoThat is the description of Python, Ruby, Scriptol and some others. But programmers moving from Python to Go, shows that experienced programmers are often more concerned about execution speed, even at the cost of work time.
- randallsquared 12y agoExecution speed is important for some, but simplicity seems like it's a larger part of the Go adoption story.
- keithpeter 12y agoAudio/music: puredata [1] is pretty visual to start with and you can play around with things, gets away from the REPL completely. ChucK [2] and supercollider [3] require typing code into a terminal, but are feasible perhaps because of the minimal complexity of most live coding sessions. Graphic artists have Processing [4]. REPL but with simplified grammar. Perhaps the end-user programming future is in domain specific programming environments (R like but for different disciplines?) [1] http://puredata.info/ http://puredata.info/ [2] http://chuck.cs.princeton.edu/ http://chuck.cs.princeton.edu/ [3] http://supercollider.sourceforge.net/ http://supercollider.sourceforge.net/ [4] http://www.processing.org/ http://www.processing.org/
- bglazer 12y agoProcessing is a wonderful library/programming environment. An intro to programming class taught in Processing would be cool.
- gmac 12y agoIn an ideal world all computers would ship with a native programming language, a big fat manual for users, and a set of software that's core design allows for and is meant to be programmed for everyday usage. AppleScript? In practice it's kind of awful — glaring omissions and nasty ambiguities abound — but it is on a lot of computers, and the ambition is pretty much in line with your request. And with a bit of persistence it does let you automate a load of stuff pretty well (e.g. I have a part-AppleScript, part-Ruby script to back up my iPhoto library to Flickr). Plus, of course, there's Automator, for the real non-programmers. :)
- mst 12y ago> In an ideal world all computers would ship with a native programming language, a big fat manual for users, The Archimedes I grew up with had BBC BASIC (with its assembler) and more of the machine's user's guide was programming language manual than anything else. python is sort-of close given it's designed as a teaching language. many of my fellow perl hackers came from a humanities background and say they found the human-language-ness to make perl more approachable than anything else. I wonder whether an analysis of what python and perl do and don't have in common with BASICs might help answer the question of how to make a language as accessible as possible ...