do you have common knowledge of programing? or are you starting from square one?
If you have a understanding of structuring a language then go ahead and jump into something like Visual Basic or C++, depending if you want to program object oriented or not...
but if you have no knowledge, start with something easy like Pascal, just to learn how to structure things...
Alex broke it down pretty well...
Name:
Anonymous2008-10-05 16:27
my university's Undergraduate Computer Science Degree program is one of the best in the nation (Baylor University) and we learn C++ first, followed by 80x86 Assembly Language and Java. Also our Video Game Development club (run by 3 of the CompSci professors) uses Game Maker 7 as our primary tool.
Name:
Anonymous2008-10-05 16:28
<=> is commonly called the ``Spaceship Operator''.
Name:
Anonymous2008-10-05 16:30
Anything that implies doing something that's not reading SICP.
Name:
Anonymous2008-10-05 17:55
Why Pascal is not my favorite Language
Name:
Anonymous2008-10-05 19:02
You should start learning PHP. It is easy for novices to start writing dynamic database driven websites with only basic knowledge of HTML. You can also start contributing extensions to popular open source projects like Joomla! and Drupal.
Name:
Anonymous2008-10-05 20:52
Be sure to write your own wrappers for all APIs no matter how trivial. And to be sure, wrap the wrappers as well.
int MyBeep()
{
Beep();
}
Also, never use magic numbers
for(i = 0; i < 10; i++) //NO! BAD!!!
for(i = ZERO; i > TEN, i++) //PERFECT
Name:
Anonymous2008-10-05 21:01
Read Design Patterns: Elements of Reusable Object-Oriented Software.
Name:
Anonymous2008-10-06 15:29
>>8
Wins the thread. There's no single worst advice one could give.
Name:
Anonymous2008-10-06 15:32
Read Head First Design Patterns.
Name:
Anonymous2008-10-06 16:00
I've just started learning C in uni and it's not easy. One small mistake and it wont compile. Also it's just not logical whatsoever.
Name:
Anonymous2008-10-06 16:01
Read Sicp.
Name:
Anonymous2008-10-06 16:11
Read /prog/, they're smart people and can teach you a thing or two.
>>11
C may be hard for you at first, but don't worry, once you've gotten the basics of it, then you will be able to move on to more respectable languages like Javascript.
Name:
Anonymous2008-10-06 16:54
Learn Systems Hungarian and use it in every project no matter what anyone else says.
Indent your code using three spaces.
Name:
Anonymous2008-10-06 17:42
javascrip programming language research by alan gay the faggot who sucks.
Name:
Anonymous2008-10-06 18:04
>>14
don't forget to add the description in the name too, it makes debugging easier!
>>11 C's syntax was designed to be as easy to parse as possible. I have no idea how they got from that goal to the sheer amount of ambiguity C syntax contains.
Name:
Anonymous2008-10-06 21:23
>>19
My guess is that it was actually B that was meant to be as easy to parse as possible, but the extra features that turned it into C (mainly the type system) also brought ambiguity into the language.
>>24
Feed it chocolate. Seriously, I bet that's what Haskell's owner did, but he's not man enough to admit so he blames it on a fictional old lady who dislikes dogs.
>>22
I think you should read the subject of the thread one more time.
Name:
Anonymous2008-10-07 13:24
Awful advice for beginers:
-Start with C. You will learn how to program "right."
-If you want to learn Object Oriented Programming learn C++. (too many of you don't understand that C++ isn't an object oriented language. It is a language provides object oriented extensions that let you implement object oriented concepts yourself. There is an important distinction there.)
Faggot, 0 and 1 are not magic numbers. But 10 (despite having both 0 and 1) is in case you are unclear about that. But in all honesty, if you did put yourself in a place where it seems like using a magic number is needed, then you did something terrible wrong and you need to stop programing.
Name:
Anonymous2008-10-07 13:28
0 and 1 are magic numbers in perl because they don't produce warning when used in void context.
In this context it means some non-obvious constant whose value is significant to the operation of a program and that is inserted inconspicuously in-line (hard-coded).
1 and 0 aren't as their use is usually very obvious. True/False, an increementor and so on.
In your context it is a magic number for perl, because perl lacks a no-op operator. Their use in perl should be obvious for people who know shit about perl.