Urban75 Home About Offline BrixtonBuzz Contact

Beginning Programming - Advice Required

peppery

Whats Your Price?
I want to start to learn to program but I don't have a clue where to start. Do any of the programmers out there have any advice about what language I should start with, what software to use, what the best books are??

What did you use when you were starting out?
 
Z80 Assembler.

Definitely late for that, unless you're going into heating and venitlation hardware.

Pascal. Stood me in good stead for anything vaguely procedural. Just write it pretending it's Pacal, and it works sooner (and, I think, often faster) than if you write it in native style.

If you want to learn good habits that make working programs that you can read three days later and understand what you were on about, it's that. Or Java if you want to be modern; but to me at least there's a much steeper learning curve coming to grips with this "object" malarkey.
 
peppery said:
I want to start to learn to program but I don't have a clue where to start. Do any of the programmers out there have any advice about what language I should start with, what software to use, what the best books are??

What did you use when you were starting out?

Welcome to the real world - the world of the code :D

Programming is just a way of converting thoughts into instructions that a machine can follow - much like raising children. Forget one minor instruction and all hell breaks loose.

I would very strongly suggest that you take a course or make friends with a programmer. One language is pretty much like the other, but you have to understand the basic concepts of looping, logic tables, searches and the like.

When I want to learn a new language, I use either Sams or the Bible series. Both explain things in very basic terms.

If you want a couple of forums that can help you with the debugging or anyother questions, pm me.

As for choosing a language, do you have something special you want to do or is this just for personal knowledge? If you have something in mind, choosing the language will be a little easier.

Good luck and have fun.
 
pascale is a piece of piss not used much these days but is seemingly the father of almost all codes.

really depends what you want to do if you want to do web stuff then obviously html, if you want to pull your hair out and work out lots of co-ordinates then its all about java.


dave
 
depending on what you want to learn i guess. there are largley two camps, procedural and object orientated (oo). i find oo more usefull but then any java coder would. i'd sugest you start with python if you want to learn oo programing as it's simple and not to convoluted with difficult desing and architecture baggage, http://www.python.org/ they have links to usefull resources for new programmer on there as well and are generaly welcoming to newcommers. and there is this book that is very usefull and will give you a good start in the general theory as well.

once you've got a grasp of that java, c or c++ seems to be the big once to get to grips with, all depending on what you want to do.

and i'm sure there are people here who will be hapy to aid you when you get stuck in any of the above languages.

ohh...
and i started with writing domino application, using lotus formula language and lotus script. not the way to go to becom a programer but made mony at the time.
 
peppery said:
I want to start to learn to program but I don't have a clue where to start. Do any of the programmers out there have any advice about what language I should start with, what software to use, what the best books are??

What did you use when you were starting out?
BBC Basic, but only because there a limited selection of programming tools at school. I wanted C back then, but they werent keen on spending £100 on a language that tough for a school kid. :o

Is this for study, or are you working towards something for employment?
 
C64 BASIC, although I would also advise Pascal as a learning language. It's a good idea as well a starting to code stuff from scratch to have a go at implementing some prewritten code, so you can see how larger projects work and get used to reading a (hopefully) good coding style.
 
Start with javascript - you can get yourself a starters-book, or just do an internet tutorial. You can write scripts using notepad text-editor and open them up with your browser to test yout work.

You can start by writing simple procedures that take users inputs, assign variables and print out some results.

you can then move onto programs that use looping, and make their own decisions about what to do next.

And that's really all there is to programming, learning different languages just about learning to use the same techniques with different keywords and grammar. All programs just take inputs, do something with the information, and put it out somewhere.

You can pick up the object-orientated theory later, but Javascript itself does have some capacity to teach you this, if you want to learn OO programming - or not if you'd prefer.
 
If you want to learn it to improve your employment prospects, J2EE or .NET seem to be the hot thing at the moment; at least, that's what my Monster emails are all full of.

Programming is like sex - you make one little mistake and you have to support it for the rest of your life. :D
 
peppery said:
I want to start to learn to program but I don't have a clue where to start. Do any of the programmers out there have any advice about what language I should start with, what software to use, what the best books are??

What did you use when you were starting out?
Started off with a couple of BASICs (Alcock's book, Illustrating BASIC is still available) although these days, I would suggest starting with Python: the reward factor is much higher.

There's a number of good Python books, some available online. I enjoyed Think Like A Computer Scientist.
 
DarthSydodyas said:
BBC Basic, but only because there a limited selection of programming tools at school. I wanted C back then, but they werent keen on spending £100 on a language that tough for a school kid. :o
And this, ladies and gentlemen, is the core of what Stallman has been going on about for all these years...

Fortunately, we now get all these shiny tools for free. And we can even take apart the tools to learn how they work.


Oh, one other thing: don't learn your first programming language because it will get you a job. Learn your first language for fun. Python or Lisp. Then go and learn one of the office languages....
 
I'd go for Pascal, then Java for the OO stuff. Once you get the hang of programming you can pick up a new langauge fairly easily, esp the modern ones.

I'd stay clear of scripted langauges(vb,vb/javascript), go for something thats compiled fully as you can't get away with as much and it'll teach you good habits.
 
I started on Pascal, about three years ago, although i'd done machine code programing before that. Good teaching language is the verdict for it. VB seems too sloppy to be a good starting language, java would be good i suppose and slightly more useful than pascal.

You can do worse than a book called "Sams Teach yourself Java 2 in 21 days" not a bad little book i'm using to get my head round java, lots of examples.
 
rich! said:
Oh, one other thing: don't learn your first programming language because it will get you a job. Learn your first language for fun. Python or Lisp. Then go and learn one of the office languages....

Yep... Its a quick way to see who is interested in programming. If you didn't learn your first language at home (ie, on an elderly C64) then you're probably just in it for the money.
 
rich! said:
Started off with a couple of BASICs (Alcock's book, Illustrating BASIC is still available) although these days, I would suggest starting with Python: the reward factor is much higher.

There's a number of good Python books, some available online. I enjoyed Think Like A Computer Scientist.
and that book is availible for java and c or c++ as well if you want to get started with the more advanced stuff from the begining.
 
If I was learning to program again these days I would definitely start in an OO language, probably something like Python or Ruby (I was deciding between the two recently as I want to learn a proper OO language, I decided on Ruby but there's nothing wrong with Python).

You're not going to get a job just like that anyway - programming, while not actually as hard as all that to do professionally, does take a while to get into. As rich! says you might as well learn something that you can at least do a bit of fun stuff with and which isn't too annoying. Both Ruby and Python you can use for web things, if that interests you, and for little useful tasks on your computer. And if you then want to move on to Java or C++ or whatever you'll have a good grounding in OO and not be just some horrible C hacker writing code everyone hates.
 
FridgeMagnet said:
As rich! says you might as well learn something that you can at least do a bit of fun stuff with and which isn't too annoying.
Not meaning to start a language war... but ...
Python has really good libraries:
Code:
import turtle
a=turtle.Pen()
a.down()
a.forward(10)
a.left(90)
a.forward(10)
a.left(90)
a.forward(10)
a.left(90)
a.forward(10)
opens a window with a logo turtle in it, and draws a square. If you type it into the Python interpreter directly, you can now draw stupid turtle pictures to your heart's content.

The first time I tried the turtle library, and a window popped up on my screen with the little triangle in, I was so surprised I fell off my settee. At that point, I'd been programming on and off for 20 years...
 
Point to be stressed: if you're interested in learning, you want not to learn first a language you'll actually be using.

If you do end up working with computer code - particularly if it's in administration - one of the most valuable skills to have is the ability to look at something in a language you've never used and work out what it's about.

Having more than one language broadens the mind massively en tout cas :)
 
laptop said:
Point to be stressed: if you're interested in learning, you want not to learn first a language you'll actually be using.

If you do end up working with computer code - particularly if it's in administration - one of the most valuable skills to have is the ability to look at something in a language you've never used and work out what it's about.

And also being abe to learn new things quickly... Guess who's boss has decidied the that enlightnement is achieved through adopting this months brandnew framework... This afternoon I will mainly be trying to avoid throttling boss.
 
jæd said:
And also being abe to learn new things quickly... Guess who's boss has decidied the that enlightnement is achieved through adopting this months brandnew framework... This afternoon I will mainly be trying to avoid throttling boss.
Some sort of J2EE monstrosity is it? An 8 tier something or other distributed whotsit?
 
FridgeMagnet said:
BBC BASIC. Probably a bit late for that now.

What are you wanting to do with this programming?

I need to learn VBA for work, but I think it would be an advantage for me to learn other langauges, especially an oo one like C++ or Java.

I have heard though that C++ is probably the hardest thing in the universe to learn. Would it be easier to start with Java or Ruby?
 
Fruitloop said:
jakarta struts, web services, DBMS, macro language.. <strangles self>
At least it doesn't include CORBA or does it?

In terms of learning coding, I reckon it is always best to start on a procedural language, as long as it is compiled and strongly typed. Sadly, there really aren't many compiled procedural languages in common use today, so it probably means Pascal or a pure teaching language (modula-2, modula-3, etc).

The ideal next step would be to translate your code to procedural C++ and then learn how to make it OO.

If you go that route, all subsequent languages will be easy.
 
Back
Top Bottom