Hard Light Productions Forums
Off-Topic Discussion => General Discussion => Topic started by: Azrael on May 13, 2002, 12:57:55 pm
-
wahts a good language for a complete noob in puter programming to start off looking into?? :confused:
-
PHP is one of them. C+ etc etc.
-
C++ is probably a good one to start learning, since it is used so widely today. (in the source code as well ;)) That is the one I am working on; with a book on the subject along with the plethora of tutorials on the internet, it is pretty easy. ;)
-
oh, yes C++ is the perfict language for complete noobs
if you could not tell that was sarcastic
try BASIC
-
ASM. If you can master that, learning others will be a piece of piss.
-
oh, yes C++ is the perfict language for complete noobs
if you could not tell that was sarcastic
try BASIC
Actually it's not all that hard compared to some others, if a bit awkward at times. I am not quite sure why so many people say that Visual Basic is much easier than C++; they seem to be of about the same difficulty in my opinion, just with different syntax conventions.
ASM. If you can master that, learning others will be a piece of piss.
This is probably my favorite one due to its very precise nature, but I have heard that it is a bit harder than C++. I would like to try some stuff out with this, though.
-
Originally posted by an0n
ASM. If you can master that, learning others will be a piece of piss.
i take it that means Assembly??? i might try out that and C++ just tp taste waht its like
-
Originally posted by CP5670
This is probably my favorite one due to its very precise nature, but I have heard that it is a bit harder than C++. I would like to try some stuff out with this, though.
A BIT! It's about two steps away from being 0's and 1's. Thing is though, it will only do what you specifically tell it to do, so no crappy compiling protocols changing what you meant it to do.
-
A BIT! It's about two steps away from being 0's and 1's. Thing is though, it will only do what you specifically tell it to do, so no crappy compiling protocols changing what you meant it to do.
That's exactly what makes it so simple; the commands are pretty much mathematically precise, so it's easy to get it to do what you want based on logical and math constructs. ;)
-
Originally posted by CP5670
That's exactly what makes it so simple; the commands are pretty much mathematically precise, so it's easy to get it to do what you want based on logical and math constructs. ;)
Yeah, but never try and do anything with it unless you've got an interrupt list handy.
-
And Azrael:
http://www.hack3r.com
(oooh, they've remodelled)
They seem to have taken the ASM tutorial out of the library but their forums (and the forumites therein) should have something on just about every language.
-
Yeah, but never try and do anything with it unless you've got an interrupt list handy.
That's true, but that is more of a syntax thing than the actual programming procedures. ;)
-
thamks abunch anOn:D:D will look into this looks nice:D:D:D
-
First I ask you not to throw any rocks at me when I'm finished...
If you're a complete n00b don't start to mess with C++ (as Bobboau said, in HIS way :D ). First try to create a very professional webpage with scripting and all, then move on to basic, and THEN C++.
I'm completing my basic BASIC :wtf: course and doin' very well :p
-
Originally posted by Ten of Twelve
First I ask you not to throw any rocks at me when I'm finished...
If you're a complete n00b don't start to mess with C++ (as Bobboau said, in HIS way :D ). First try to create a very professional webpage with scripting and all, then move on to basic, and THEN C++.
I'm completing my basic BASIC :wtf: course and doin' very well :p
Bah! I went: HTML, basic Javascript, everything. I know a bit about just about every language out there (although unfortunately, not enough of any one ;))
-
And I know how to screw everything up... :p
-
Originally posted by CP5670
That's exactly what makes it so simple; the commands are pretty much mathematically precise, so it's easy to get it to do what you want based on logical and math constructs. ;)
Ha. Ha. Ha. That shows you never tried to program in assembly. :p
The simpler the structures and commands you have at your disposal, the more complex a program will be to create the same result. Assembler is simple to grasp and very simple to program, but creating anything complex with it is an exercise in futility. Of course, you can employ it to augment performance on punctual, simple pieces of code (like pixel transfer procedures), but writing a complete program - and by program I mean an actual application, with practical purposes - takes too long to say the least.
If you want a good language that's becoming the industry's standard, is easy to learn, extremely powerful and will run virtually on any machine, go for Java.
-
The thing I don't like about Java is that the programs run somewhat slowly and can become large in size.
The simpler the structures and commands you have at your disposal, the more complex a program will be to create the same result. Assembler is simple to grasp and very simple to program, but creating anything complex with it is an exercise in futility. Of course, you can employ it to augment performance on punctual, simple pieces of code (like pixel transfer procedures), but writing a complete program - and by program I mean an actual application, with practical purposes - takes too long to say the least.
Yes, but a complex program isn't all that complex if it is simply made by thousands of compounded simple logic commands. I guess math nuts find it easy. :p :D
-
Tada! ASM tut.
http://www.xs4all.nl/~smit/asm01001.htm
-
Well, supposedly BASIC is a very easy language to learn. The n00b parts of it are, but I found it a little more complicated after that. I'd say try it first though.
-
C++ is probably the easiest (if you can remember to put the damn prototypes in).
*walks off grumbling something about prototypes and nuclear weapons*
-
LISP is fun :D Looks pretty simple too, although I'm still studying the very basics of it :)
-
Originally posted by Azrael
wahts a good language for a complete noob in puter programming to start off looking into?? :confused:
Learn Python. (http://www.python.org/doc/Newbies.html)
Python is free. There are development environements for Python that are free. The interpreter is free. The source is free. There's loads of free documentation. There's loads of free online support.
How about a more complex answer:
Python has a large standard library to draw from.
The interactive interpreter lets you try things on the fly. If they don't work, you can change them on the spot. There is no compile or link steps. Its write-and-run.
Since python is self documented, you don't have to go looking for a book with arcane instructions. Want to know what you can do with a list object? Just do a 'dir(object)'. It will tell you what you can do. Not enough? Do a 'print object.method.__doc__' and it will tell you the syntax. With Python you can be writing useful
Python scripts will run on any platform that Python runs on. There's no recompile. The scripts I write for my FreeBSD box work on Macs, Windows machines, mainframes and PDAs.
Python isn't some niche thing: games like Freedom Force are based around python scripting.
The best thing about Python is that it teaches the basics of programming without placing too many shackles on you. You don't have to try to figure out C's 'heap' or pointers or the like. You don't have to go through the old standard 'code-compile-test-fix-compile-test-fix-compile-test' loop. You eliminate compiles from the process. You can, in many cases code and test in realtime, and change your code IN PLACE whilst it is running.
Learn Python first, get your mind around programming concepts and then take a look at traditional languages like C/C++ and the like. There's no need to dive in and mess around with memory managment when you're still trying to figure out loops and conditionals.
-
If you want to start programming?
Start with QBasic and HTML... That gives you a baseline for simple windows console programming logic... and how to create simple websites.... Then you can take a quick course of pascal... but thats a little outdated, but thats where I started... Then you can move onto learning C, and then to PHP, you'll find C and PHP are directly related.
-
I learned most of what I know by programing my TI83,
it's basicly, well, BASIC, not as many stupid mistakes you are alowed to make in most languages,
hell it's nearly imposable to get even a spelling error, that's one of the reasons I loved my TI83,
unfortunatly, I lost it, and I had it painted with shiny gold and silver with a purdy metalic purple back plate too :(
-
Originally posted by CP5670
Yes, but a complex program isn't all that complex if it is simply made by thousands of compounded simple logic commands. I guess math nuts find it easy. :p :D
Haha. Write me a simple "video store control" style program with database access on assembler, and then we'll talk. ;)
And Python is cool, but Java is far more powerful and flexible, and has an even larger "standard library" and support... :)
-
Originally posted by Styxx
And Python is cool, but Java is far more powerful and flexible, and has an even larger "standard library" and support... :)
What makes Java more powerful? I'll agree with you about the larger standard library, but not about the support.
Also, java shouldn't be different from platform to platform, but in practice, it is. Different VMs are broken in different ways. Python is the same from platform to platform.
More importantly, the original poster asked for a good language for complete n00bs. Somehow, I just don't think that Java, with its C-like syntax is good for this. The syntax is cryptic for the n00b, the same as it is for C and C++. That's why teaching languages like Pascal and BASIC exist. Of course they don't meet the requirements either: he asked for useful. You can do lots of stuff in BASIC and Pascal, but you wouldn't want to. I put forth Python as a good language because its powerful, featureful, easy to write, easy to read, interactive, and most importantly USEFUL.
Oh, and whomever suggested ASM needs to be beaten with that frozen goat that floats about. Not only is ASM completely and utterly hardware specific, but its like trying to work out volumetric solutions on an abacus: you can do it, but nothing short of an intense masochism would make you want to do so.
-
Well, I tend to think in large-scale applications lately. Java has the best support for corporative applications - including transparent persistency services, messaging, remote access, security, directory services, and a lot more. You'll never find a CRM application written in Python, and I'm almost sure you can't find any current one that's not written or being ported to Java. It is perfect for server applications, provides one of the easiest and most powerful page-script systems (JSP/Servlets) that integrate smoothly into a flexible component system (JavaBeans/EJBs), and the support for client-side graphical applications is increasing, as is the speed - I ran some tests with Java3D and GL4Java, and it won't be long until you can make a high-end game with it, specially with the DMA support added on the latest JDK.
But programming language is more a matter of taste than anything else - I'm all for Java right now, but I can switch to anything else that sounds better at any time. It would pay to get a look at every major language out there now, and then start learning the one that looks more promising.
Ah, try some PERL too - you can do wonders with almost no code with it. :D
-
Originally posted by Styxx
Well, I tend to think in large-scale applications lately. Java has the best support for corporative applications - including transparent persistency services, messaging, remote access, security, directory services, and a lot more. You'll never find a CRM application written in Python, and I'm almost sure you can't find any current one that's not written or being ported to Java. It is perfect for server applications, provides one of the easiest and most powerful page-script systems (JSP/Servlets) that integrate smoothly into a flexible component system (JavaBeans/EJBs), and the support for client-side graphical applications is increasing, as is the speed - I ran some tests with Java3D and GL4Java, and it won't be long until you can make a high-end game with it, specially with the DMA support added on the latest JDK.
But programming language is more a matter of taste than anything else - I'm all for Java right now, but I can switch to anything else that sounds better at any time. It would pay to get a look at every major language out there now, and then start learning the one that looks more promising.
Ah, try some PERL too - you can do wonders with almost no code with it. :D
Styxx, that's not what he asked for. He asked for:
wahts a good language for a complete noob in puter programming to start off looking into??
Java is a good language, its a portable language, but its not the best place to learn. The syntax, to this day, after a decade of screwing with it, hurts my brain. That's not a good sign. We're not talking about corporate enivronments or networked applications. We're talking about a n00b wanting a good place to start to learn the basic skills. Things like Java are NOT that place.
Don't even talk about Perl. Perl is the WORST way to learn programming skills. There are so many undocumented, ad-hoc, screwy ways to do any single thing, that no two people write the same dialect of Perl. Perl has no structure (and indeed encourages disorganisation). Its a great thing for a quick hack, or a rough and ready kludge, but its like suggesting that someone build a house with every old thing they find in a junkyard. You can do it. It will shelter you. It'll even last for a while. But no one except the builder will know how the damn thing is wired for electricity and where the sewer pipes are and where those loose welds will break.
-
Haha. Write me a simple "video store control" style program with database access on assembler, and then we'll talk. ;)
That would actually be quite simple if I knew all the syntax; that is the only part that can be considered "hard," but it is really all just memorization. The thing is that any language that operates solely on the logical 0-1 principles can be put into series of mathematical equations, and with some knowledge of logical systems and applied discrete math (computer science), anyone can program in ASM. :D It might take a bit longer to write, but the sheer joy of working with true logic and mathematics more than makes up for that. :)
-
Originally posted by CP5670
That would actually be quite simple if I knew all the syntax; that is the only part that can be considered "hard," but it is really all just memorization. The thing is that any language that operates solely on the logical 0-1 principles can be put into series of mathematical equations, and with some knowledge of logical systems and applied discrete math (computer science), anyone can program in ASM. :D It might take a bit longer to write, but the sheer joy of working with true mathematics more than makes up for that. ;)
A Turing machine of any order and complexity can always be emulated by a touring machine of the lowest order, given enough time. That doesn't make it a good idea.
-
Yeah, it's not too good for practical applications, but it is certainly a lot more fun. :)
-
Originally posted by CP5670
Yeah, it's not too good for practical applications, but it is certainly a lot more fun. :)
Hehe, indeed, I have to agree with that. Once I made a full disk editor, with graphical interface and mouse support in asm - it was the largest thing I ever programmed with the blasted language, but watching it work once it was done was so much more rewarding than when you do stuff with any other languages... :)
And about all the Java stuff - indeed, I kinda missed the point there. I still think that Java is damn easy to learn, you just need to know the concepts for object orientation and you're set. Well, it might have helped that I already had some six years experience with C/C++ and PHP (not to mention all the other obscure stuff) before that, but it just feels so easy to code... :nod:
Ah, and the comment about PERL was supposed to be a joke. :D