4 ms·
Yup, I remember how easy it was to just get started on programming with BASIC. Just fire up the computer and start typing. Learn as you go. Few years later, pro
by Geee 14y ago
Yup, I remember how easy it was to just get started on programming with BASIC. Just fire up the computer and start typing. Learn as you go. Few years later, programming in C for DOS was also much easier than nowadays. I could make simple graphical games in C in a couple of days as a kid, and nowadays I'm not even sure where to start. Just setting up the environment in most languages requires a CS degree. Kids have it hard these days.
- alan_cx 14y agoAnd that is why I fear the Raspberry Pi chaps missed the whole point, if they expect the Pi to be the next BBC Micro. Programming back in the day was simple. From that simple beginning you could easily and naturally progress. The problem now is that the entry bar is so damned high. I mean, I'm 40, been in to computing since I was 8 ish. I even built my own from components on bread boards. Yesterday, I looked at the Torque Engine, I gave up. I couldn't even set it up to use. And I've got a damn degree in Computer Science!!!!! Heh, I almost think any kid who gets in to development of any kind right now deserves some sort of award. But, I do think that on the other hand, people should lay off this idea that "everyone" should know it all, and stop giving mere users a hard time for not knowing or wanting to know all the insane abstracts we know.
- DanBC 14y agoIn theory Raspberry PI solves some of the problems that youngsters face. Without RPI: You don't know anything. You go to a tutorial. You have to download some stuff. There are win32, x64, OS X, linux, etc versions. There's python 2.x, 3.x, etc versions. There is pygame etc. And editors. (All of this is sort of fixed by Learn X the hard way). With RPI: Hopefully it's all included in a distro. You can go to the tutorial and just start. What would be useful is some python version of the type-it-in and run it listings that appeared in magazines. I found these particularly useful for learning - especially bugfix afterwards. And then tinkering the software to produce different effects. Starting with something and modifying it was a much easier introduction that just creating it all from scratch.
- Jare 14y agoHTML5 is a beginner programmer's best friend! Nest a html, body and script tags, slap something like this inside, and off you go: canvas = document.createElement("canvas"); canvas.width = 320; canvas.height = 480; canvas.style.background = "#F0F"; context = canvas.getContext("2d"); document.body.appendChild(canvas); playerX = 100; playerY = 100; keyboard = []; window.onkeydown = function(e) {keyboard[e.keyCode]=true}; window.onkeyup = function(e) {keyboard[e.keyCode]=false}; setInterval(function() { if (keyboard[37]) playerX--; if (keyboard[39]) playerX++; if (keyboard[38]) playerY--; if (keyboard[40]) playerY++; context.clearRect(0, 0, canvas.width, canvas.height); context.fillStyle = "#0F0"; context.fillRect(playerX, playerY, 20, 20); }, 16);
- ygra 14y agoThe beginning programmer me from more than a decade ago would have run away, screaming.
- randallsquared 14y agoReally? Because I remember typing hundreds of lines into terrible keyboards for not much more result than this, and then hoping, hoping, hoping that nothing went wrong when saving it to cassette tape, or I'd have to type it all in again. If kids today are not getting sucked into programming, then in my opinion the reason is more to do with all the things online competing with programming for their time.
- ygra 14y agoOh, sure. Things used to take a lot of code back then and heck, I've written hundreds, if not thousands of lines of crappy beginner's code while learning, be it BASIC, Turbo Pascal or later VB¹. The point you make about so many things competing for at-the-computer time may be valid, indeed. But still, thinking back I remember disliking Delphi compared to VB because I thought it to be too complicated. “Why do I need a class just to have a window? And what's all that stuff I don't know from Pascal? Eek! Back to VB.” In retrospect that sounds silly, but when you're a beginner with no formal education in the field the priorities are perhaps different. At least they were for me. I ended up writing Object Pascal code years later and learned a lot more languages, but I guess most of my initial fiddling and writing fun things was with QB and TP. No forced OOP, not too many concepts to learn before starting (I stayed away from PEEK and POKE because I didn't understand what they did). Javascript doesn't really feel like a beginner-friendly language to me, actually. To grasp that snippet above you have to figure out at least parts of the DOM and events. I probably wouldn't have done that back then. ______ ¹ Yes, I already had hard drives in my day. The one time I sat at a computer with a cassette tape drive was when I was three and my father never let me use it again afterwards – randomly mashing buttons was not very appreciated, I guess.