Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 06-16-2004, 11:26 AM   #1 (permalink)
Psycho
 
FaderMonkey's Avatar
 
Location: Orlando, FL
learning programming

I know nothing about programming. Well, I did take one class in college, Fortran, but I don't remember much of anything from it. Other than taking classes, because I can't right now, where do I start....how do I learn? Should I just go to the bookstore and pick up some books? What books? Are there any good websites to learn from? What language should I tackle first? I tried searching for another thread about this, but I couldn't find anything. Sorry if it's been asked a million times.

Oh, and I own/work on a Mac with OSX...I don't know what difference that makes.

Last edited by FaderMonkey; 06-16-2004 at 11:28 AM..
FaderMonkey is offline  
Old 06-16-2004, 12:06 PM   #2 (permalink)
Wehret Den Anfängen!
 
Location: Ontario, Canada
I started learning how to program in my youth.

Learn how to make the computer do simple things, like print "hello world". Copy short games into your computer from books. Write up short choose-your-own adventure games. Take night classes. Do some scripting using perl and cron (write your own alarm clock!).

As for language, picking any simple one will do to get your feet wet. Learn how to read text, how to print text, how to write functions, and how to write if statements. That'll be enough to do something fun.

Once you are at that point, you'll want to start learning some computer science (algorithms etc). In addition to that, you'll want to pick up at least one other language, and learn the differences between them.
__________________
Last edited by JHVH : 10-29-4004 BC at 09:00 PM. Reason: Time for a rest.
Yakk is offline  
Old 06-16-2004, 02:00 PM   #3 (permalink)
Banned
 
Location: Massachusetts, USA
Since you have a Mac running OS X, you might as well use the programming environment which comes with it. Assuming you installed the environment, you'll find documentation on the whole thing in there as, IIRC, PDF files.

My computer is currently disconnected, but I should be able to put it together and get the details. What version of MacOS X are you running?
denim is offline  
Old 06-18-2004, 08:23 AM   #4 (permalink)
Junkie
 
I learned to program by first using scripts from "cut and paste" JavaScript sites. As time went on, I gained an understanding of how they worked by observing what they did and studying the code to see which lines, statements, etc., were responsible for each phenomenon I observed. Eventually, I read the excellent JavaScript tutorials on Lycos' Webmonkey site.

After becoming proficient in JavaScript, I found that those skilled carried over into PHP quite well. I was able to begin programming in PHP simply by applying my knowledge of JavaScript and looking up the functions I needed to use in the online manual.
SinisterMotives is offline  
Old 06-19-2004, 07:26 AM   #5 (permalink)
beauty in the breakdown
 
Location: Chapel Hill, NC
One thing ill add about books--actually do the code in them. For the longest time, I just looked over the example code in them, figuring out how things worked. That was all fine and good, but I couldnt actually use it until I realized I was going to need to actually copy that code and try it.

Most books have exercises at the end of each chapter. Those are usually good to do as well.
__________________
"Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws."
--Plato
sailor is offline  
Old 06-19-2004, 07:44 AM   #6 (permalink)
Banned
 
Location: Massachusetts, USA
Yes, and don't just copy the code in from the disk or website. TYPE it in yourself. You'll be more aware of what's in there if you do.
denim is offline  
Old 06-22-2004, 06:02 AM   #7 (permalink)
Upright
 
I have seen a suggestion to learn Python as a good first language, and I must say I agree with this. It also helps if you understand HTML, while it really isn't a higher level programming language, it is certainly used a heck of a lot.
__________________
-={}=-
Rational Anarchy
lytri is offline  
Old 06-22-2004, 02:42 PM   #8 (permalink)
Junkie
 
I'm not sure I'd recommend Python for a beginner. It's a great language, but its syntax and way of grouping statements is different from nearly every other language out there (except Visual Basic perhaps). For example, Java, C++, and PHP are similar enough that anyone who understands one can quickly learn any of the others. I'd recommend that a beginner learn a language like this so that the skills learned can readily be more generally applied.
SinisterMotives is offline  
Old 06-23-2004, 08:22 PM   #9 (permalink)
Upright
 
I learned programming in my youth by reading books about BASIC. I actually wrote little programs on notebook paper before I even got my first computer, a Franklin Ace (Apple //e clone). When I went to college, I studied engineering and the only programming classes I took were also in Fortran. Eventually for me, I taught myself C (by reading books, I mean) then C++. Now programming is what I do as my job.

I've just started looking into what language would be good to teach a little programming to my kids. One thing I found was called JUDO, which is basically Java with a really simplfied development environment. It is really easy to write a little program and just press a button to compile and run it. It has some easy ways to do text input and output as well as some simple graphics. I don't know that it will work for your Mac, but you might find some Mac version of Java development environment.
Mortified is offline  
Old 06-26-2004, 12:41 AM   #10 (permalink)
Upright
 
Location: .au
It really depends on how -you- learn. Some of us learn by example (stepping through existing programs, etc) and some of us learn by reading text books.

If you can't remember anything from what you've already done with FORTRAN, then probably a beginners text book would be suitable (or a beginners website even).

Language wise, I would have to keep recommending C over pretty much most others. This is because:

a) Look and feel (syntax wise) is common with other languages.
b) It's procedural, no need to jump into OO.
c) It's a syntax nazi and will trip you up on improper syntax most of the time.
d) There's -plenty- of resources available for it.


Actual resource wise I can't really recommend anything in particular, sticking 'learning c programming tutorial' into google will find quite a few tutorials that might help. Book wise, head to a bookstore and see if there's any that call out to you.

HTH.

David M
sargorn is offline  
Old 06-26-2004, 12:55 PM   #11 (permalink)
Junkie
 
I concur with most of what sargorn said, except for point (b). Object-oriented programming is ubiquitous nowadays and is the generally preferred way of organizing code, so it makes sense to go ahead and learn it. Thus, I think C++ would be a better starting point than C. The syntax of the two is 90% identical, and many textbooks save OOP until later chapters after you've learned the fundamentals anyway.
SinisterMotives is offline  
Old 06-27-2004, 12:07 AM   #12 (permalink)
Upright
 
Location: .au
Oh, I'm all for going ahead and learning OO as well, just as a starting point OO is an extra concept you need to grasp, and there's already a lot of those about (concepts that is).

And if you're going to learn c++ 'like c' then I don't see why you wouldn't just learn c then c++.

David M
sargorn is offline  
Old 06-27-2004, 11:31 AM   #13 (permalink)
Junkie
 
Quote:
Originally posted by sargorn
And if you're going to learn c++ 'like c' then I don't see why you wouldn't just learn c then c++.
You'd save $35 to $50 if you only bought the one book.
SinisterMotives is offline  
 

Tags
learning, programming


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 04:06 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360