4 ms·
We need better, approachable routes into programming. I love Python and in many ways it's an ideal introductory language but it's roots are in the command line
by andybak 12y ago
We need better, approachable routes into programming.
I love Python and in many ways it's an ideal introductory language but it's roots are in the command line and you have to learn a lot of Unix cruft that shouldn't be strictly necessary to get started.
Processing (or maybe Nodebox and it's kin) are the spiritual heirs to Logo but don't help bridge the gap from fun to useful.
HTML+CSS+JS are available on every single machine with nothing but a text editor needed to get started but - oh the cruft you have to imbibe to get anything useful done...
Someone once said that Excel is the dark matter of the software universe. It probably accounts for most running software in the world that any other environment/language and has a lot going for it:
1. it's immediately practical and positioned well to help people solve real problems.
2. The transition from "I'm not coding" to "This is pretty much coding" is gradual and imperceptible
3. It has a very visual environment with lots of immediate feedback
However - it doesn't help you get from the final stage of "amazing feats of wonder that should never have been done in Excel" to "a real program in a sane environment". Many people who construct those amazing feats of wonder don't even realise that what they are doing IS programming.
- JulianMorrison 12y agoYou can write Android apps in Processing, FWIW. So it may be more useful than you think.
- pavlov 12y agoMany people who construct those amazing feats of wonder don't even realise that what they are doing IS programming. Maybe that should be the goal? For thousands of years, scribes were a separate profession. Today everybody can write. When you make post-it note or shopping list, you probably don't think to yourself: "Hmm, I'm being a scribe here, I wonder what real scribes use to make high-quality notes..."
- brudgers 12y agoProgramming without knowing it is at the core of the spreadsheet. And Spreadsheets require programming in assembly language.
- Retra 12y agoI'm confused. How do spreadsheets require programming in assembly in a way that's different from other software?
- brudgers 12y agoUsing formulas in a spreadsheet is like assembly language programming: explicit memory addressing, jump as the primary control structure, etc. It's all place based. The nice library of subroutines doesn't change how low level the design of a spreadsheet has to be.
- Retra 12y agoOk, that makes sense. It may not be a very clean analogy, but I see what it is getting at.
- RodgerTheGreat 12y agoProcessing _is_ Java. If you learn Processing, the only things holding you back from writing "real" programs in Java are making a main() entrypoint, learning a few new APIs (depending on what you're making) and applying a few more access modifiers than you're used to. I use it regularly to ease beginners into programming with Java and the transition has always been a snap.
- pbhjpbhj 12y agoJust to put some context on "you have to learn a lot of Unix cruft that shouldn't be strictly necessary to get started" (andybak; my emphasis. I just did an intro course on Python - it's not my first programming and I'm pretty familiar with Linux command lines. That said after much trial and error I settled on PyCharm - installation can be done using GUI tools (it's in Ubuntu repos) and you don't need to leave the PyCharm interface to run interactive programs. Then there are things like iPython, IDLE (part of raspbian I believe). The whole course used a purpose-made browser based interpreter so one didn't have to install if you didn't want to. I actually took the course as I was seeing Python crop up in educational contexts and wanted a jump start on my children. Python, and a ton more programming languages are available in repls, eg http://repl.it/languages/Python http://repl.it/languages/Python.
- copsarebastards 12y ago> However - it doesn't help you get from the final stage of "amazing feats of wonder that should never have been done in Excel" to "a real program in a sane environment". Many people who construct those amazing feats of wonder don't even realise that what they are doing IS programming. And sometimes if they do realize it's programming, they use that as a reason to pass the buck to a developer. At my first job, I inherited a number of Excel "codebases" in this way.