I just got access to a computer and started programming stuff, but that was a lot easier to do back then. My first experience was a timeshare mainframe system, so you just sat down at a terminal (teletype or early CRT) and typed in BASIC code line by line, then ran it to see what came back. I think the first thing I ever wrote was a four function calculator that prompted for input and printed the answer. I saved it on punch tape and had it up in my closet for years after there was no longer any way for me to read it.
Later I got a micro and continued with BASIC, writing simple games and playing with the hardware through peeking and poking memory addresses. After that came assembler, Turbo Pascal, Turbo C, Borland C++, etc.
We have often talked here about what the easiest path to start on is, but I don't think we have agreed on an answer. When I started on micros you just wrote for DOS text mode, and eventually perhaps learned to put the adapter in EGA or VGA mode and write graphics code. Now right up front you have to chose between: windows console, linux terminal, windows gui, web page, android, etc. You've got all these platform choices, and whichever one you pick the path to get something up and running on screen isn't anything like as clear as it used to be.
Thank you for the answer. I guess I understand how programming was perhaps more "accessible" early on due to the fact that it was much more connectable to a physical output. It seems like there was a much more concrete and graspable "line," if you will, between input and output because the technology was in it's earlier stage. Nowadays, seems like you can write lines and lines of code and the results can be very abstract because so much is running in the machine.
I'm thinking perhaps one way is to get familiar with setting up virtual machines and perhaps working in "simplified" environments. It seems fun and accessible to do so, and if I could set up a DOS machine or something I could build smaller and easier programs from the beginning.
Do you think that's a good idea, or am I missing something? Thank you.
I think you're overthinking things here. If you want simple, install some flavor of Linux (fedora is my preferred distro) and just jump into python on the command line.
Web Browser - check!
Notepad - check !
Javascript
Big difference between Java and Javascript; unfortunate that they're named similarly.
The divide between an "app" and a "webpage" is so blurred... Windows 8 is making it moreso.
Javascript is the lingua-franca of the interwebs - it's absolutely a useful language to learn.
The great thing about it is that it's so quick and easy to see stuff happening on the screen; plus there are tremendous resources for it online.
Alright, great. I'm going to look into JavaScript. Thanks for the tip CM!
JavaScript is absolutely a very useful language, but personally I'd recommend starting with a more traditional language that you can get a solid foundation on (e.g. Java - note: very different from JavaScript).
JavaScript is a relatively "light" and browser-targeted language that also does certain things differently (object system). First of all you are gonna have to learn some HTML to do things with JavaScript (unless you do Windows scripting or something, which isn't what we are talking about here). Your hands are also gonna be tied somewhat due to browser limitations (file operations, lengthy operations).
Nevertheless, JS is useful to know and if web programming is your thing, it's a must.
I always wanted to write a javascript BASIC interpreter where you had a code window and above it a 80x25 text display, and you could just play.
Hi,
It is normal, that everybody favors program language he knows best.. I mean, he wouldn't used it otherwise. So, here's my take
In short (if interested): I've started with Basic on Sinclair Spectrum, where I also learned Z80A assembler. Then I got Atari ST where fantastic Motorola CPU was built in (Intel was several years behind it at that time, IMO). There I used Basic compiler and I really enjoyed coding in assembler. After that I got a "real" PC and you can't imagine how disappointed I was... anyway, I start learning Borland Turbo Pascal, which was the closest to the GfA basic on Atari ST (btw. being interpreter only, Basic on PC was crap). And after Turbo Pascal came Delphi.. which I'm still using (Delphi XE2, right now).
Now, what is important when choosing program language for hobby programming?
1. Visit sites/forums, where examples of various program languages can be seen, so you have a chance to "read" them. And read what kind of programs programmers are making by using particular language. If you can't "connect" with particular language, drop it -no matter how "great" that language might be for "others".
2. When you decide on language, don't give up on it too fast. At beginning, many things will look impossible to make with "this" language.
3. Don't ask yourself what program to write to make money on it -ask yourself, what kind of program you wish to have or need! Because, you're doing that for hobby, right?
4. You can't know if you like programming (for hobby), if you haven't programmed yet -it comes (or not) with time.
Finally, I don't say what language you should pick.. simply because I think Delphi (Pascal) is the bestOk, my next choice would be C (which I don't know at all).
Greetings,
Bogdan
I started off with batch files, and html. I know those arn't programming language, but that's what got me to understand the basic concept behind "coding" in general. Then I learned about C++ and teached myself, and I'm always trying to learn more of it. I never really jumped into the MS languages. I do have a project that's coded in C# that has half a million lines of code but I only rewrote a lot of it, I did not write the whole thing from scratch. C# is really easy to pickup.
Really to start on the right foot you almost need a good book though. I never really read a C++ book, I just learned from tutorials and stuff, and often I feel I don't know as much as I should by now, so I've been taking a step back and looking at finding some good ebooks. I did take a C++ course in college but it was basic C++. It would have been perfect if I did not know anything about it at all, but I did and it covered more or less what I already knew.
Neat. That's a bigger project than I had in mind.
I'm sure it was. One upside though to using an emulator of an old system vs a new system is that there is TONS of books and sample code out there for the legacy systems already, with all the quirks well tested and documented. There was also a mountain of shareware for those old commodores. #nostalgia
