programming languages
#21
Posted 19 December 2006 - 12:41 AM
In the beginning, efficient code is the result of fine-tuned logic, just try and master one language, then pick up some books about coding in a secure but efficient manner.
#22
Posted 25 December 2006 - 04:44 PM
Also, get a book on the language you choose. There's nothing better than having a hard copy of the info you need, available without switching windows on your computer to check how to print "Hello world."
#23
Posted 25 December 2006 - 06:16 PM
Edit: 2 monitors really helps with that as well.
Edited by Ohm, 26 December 2006 - 04:35 PM.
#24
Posted 26 December 2006 - 05:13 PM
#25
Posted 27 December 2006 - 08:24 AM
I actually prefer electronic reference documentation. Alt-tab is just not that difficult. For a lot of reading though, hard copy is a lot easier on the eyes.
Edit: 2 monitors really helps with that as well.
or laptop and desktop running together is what i use
#26
Posted 27 December 2006 - 03:49 PM
#27
Posted 27 December 2006 - 04:50 PM
I find it stupid to be okay 5 diffrent languages, when you can just master one.Asking which language is "easiest" is kind of silly. You should learn a language based on it's good points, not on how easy it is. Also, I don't know why, but many people have the feeling that they need to learn one language and then ONLY use that language. That's a very silly idea, and you should learn as many languages as you can, for the same reason you learn anything else: it's fun.
#28
Posted 27 December 2006 - 05:07 PM
I find it stupid to be okay 5 diffrent languages, when you can just master one.
Asking which language is "easiest" is kind of silly. You should learn a language based on it's good points, not on how easy it is. Also, I don't know why, but many people have the feeling that they need to learn one language and then ONLY use that language. That's a very silly idea, and you should learn as many languages as you can, for the same reason you learn anything else: it's fun.
Different languages are better suited to different tasks, so I would say for most people it is better to be OK at 5 different languages then it is to be a “master of one”.
#29
Posted 27 December 2006 - 05:19 PM
I find it stupid to be okay 5 diffrent languages, when you can just master one.
Asking which language is "easiest" is kind of silly. You should learn a language based on it's good points, not on how easy it is. Also, I don't know why, but many people have the feeling that they need to learn one language and then ONLY use that language. That's a very silly idea, and you should learn as many languages as you can, for the same reason you learn anything else: it's fun.
Different languages are better suited to different tasks, so I would say for most people it is better to be OK at 5 different languages then it is to be a “master of one”.
Unless of course you want to spend the rest of your life not learning anything new and doing the same old shit day in and day out
Also, being a "master" of a single language is never really achieved, just like with everything else in life, there is ALWAYS someone who knows more than you.
#30
Posted 27 December 2006 - 07:52 PM
#31
Posted 28 December 2006 - 02:59 PM
What I was saying in better words:
I find it stupid to be okay 5 diffrent languages, when you can just master one.
Asking which language is "easiest" is kind of silly. You should learn a language based on it's good points, not on how easy it is. Also, I don't know why, but many people have the feeling that they need to learn one language and then ONLY use that language. That's a very silly idea, and you should learn as many languages as you can, for the same reason you learn anything else: it's fun.
Different languages are better suited to different tasks, so I would say for most people it is better to be OK at 5 different languages then it is to be a “master of one”.
Unless of course you want to spend the rest of your life not learning anything new and doing the same old shit day in and day out
Also, being a "master" of a single language is never really achieved, just like with everything else in life, there is ALWAYS someone who knows more than you.
Lets say I wanted to learn Java, C, PHP, Lisp, and Ruby. I only learn basic input/output, variables, if statements, and loops. Thats nice how I can program in all those languages, but whats the point of learning 5 languages if I only know basics? And how many projects can I accomplish? Not as many as I could if I learned all the ins and outs of C and Lisp? I may have a smaller varity, but I can do more.
It's just a waste of time to learn so many languages when you haven't even gone past the fundementals of one.
#32
Posted 28 December 2006 - 03:13 PM
What I was saying in better words:
Lets say I wanted to learn Java, C, PHP, Lisp, and Ruby. I only learn basic input/output, variables, if statements, and loops. Thats nice how I can program in all those languages, but whats the point of learning 5 languages if I only know basics? And how many projects can I accomplish? Not as many as I could if I learned all the ins and outs of C and Lisp? I may have a smaller varity, but I can do more.
It's just a waste of time to learn so many languages when you haven't even gone past the fundementals of one.
Most admin staff don’t need anymore then the basics, just as long as they can look at the code and have a good understanding of what’s going on. If you are intending to work in the programming field then everyone will expect you to know more then one language and be prolific in them.
#33
Posted 28 December 2006 - 10:03 PM
What I was saying in better words:
Lets say I wanted to learn Java, C, PHP, Lisp, and Ruby. I only learn basic input/output, variables, if statements, and loops. Thats nice how I can program in all those languages, but whats the point of learning 5 languages if I only know basics? And how many projects can I accomplish? Not as many as I could if I learned all the ins and outs of C and Lisp? I may have a smaller varity, but I can do more.
It's just a waste of time to learn so many languages when you haven't even gone past the fundementals of one.
Hmm, perhaps you have the wrong idea. Programming isn't about knowing a language, or many languages, it's about knowing how to program. Once you learn the basic ideas and the different paradigms, learning another language is nothing more than learning it's syntax (and in some cases, it's idioms).
#34
Posted 29 December 2006 - 08:15 AM
#35
Posted 29 December 2006 - 12:51 PM
Don't choose one that's nothing like the big players, I'm not saying dont experiment or be adventurous - just give it some consideration because if you really get into this you WILL be spending alot of time working with your language of choice and it would be a real bummer to try another one and you're not able to relate differences between the two.
BTW I recommend ruby.
#36
Posted 29 December 2006 - 01:06 PM
The ANSI standard says "no" so don't do it.
#37
Posted 29 December 2006 - 01:11 PM
If you learn C don’t use void main(void) it’s a bad habit that some programming books and teachers will try and push on you, and from time to time you may sink back into using it (when your not thinking).
The ANSI standard says "no" so don't do it.
That's a really minor point, probably not worth mentioning until he's ready to write some real programs. Even then, unless you're -pedantic it's still more or less meaningless. A function signature in C just doesn't mean much. The important part is writing solid code that makes good use of the language's facilities. Obsessing over tiny details to make the language lawyers happy is just not worth the energy in the beginning. Time is better spent learning meaningful things.
#38
Posted 29 December 2006 - 02:41 PM
I use C, and I always use int main() , because I have always received erorrs with void main() . Maybe it's just me though...If you learn C don’t use void main(void) it’s a bad habit that some programming books and teachers will try and push on you, and from time to time you may sink back into using it (when your not thinking).
The ANSI standard says "no" so don't do it.
BinRev is hosted by the great people at Lunarpages!












