How-to for beginners
i agree to that GODhack..that is important for newbie..but one thing is for sure, its your own decision whats the best language you want to learn and just read books or go to tutorials website for you to ba able to learn then apply what you have learned from readings..GoodLuck!!!
[img]http://img352.imageshack.us/img352/2936/test9gd17uv.gif[/img]
[img]http://r1.fodey.com/1fa9dcd414d4f4c2e94c3d5623d0c3e93.1.gif[/img]
[img]http://r1.fodey.com/1a81f33478f5943078972d670d84d00[/img]
[img]http://r1.fodey.com/1fa9dcd414d4f4c2e94c3d5623d0c3e93.1.gif[/img]
[img]http://r1.fodey.com/1a81f33478f5943078972d670d84d00[/img]
I don't get this
How do u use java applet anyways?
- Nerdz
- The Architect
- Posts: 1127
- Joined: 15 Jun 2005, 16:00
- 19
- Location: #db_error in: select usr.location from sucko_member where usr.id=63;
- Contact:
You need to learn the basic of java first and then http://java.sun.com/j2se/1.5.0/docs/api/index.html
Give a man a fish, you feed him for one day.
Learn a man to fish, you feed him for life.
Learn a man to fish, you feed him for life.
Since when is Java more difficult than C++?
I completely disagree with you guys on this one. Java is far easier to learn and program for because it is a managed language. You don't have to worry about Object destruction at all so your garbage collection is automaticaly handled. Plus, you don't have to worry about going out of bounds in data structures which can be a huge problem for newbie c++ or C programmers.
Also Java has excellent documentation which helps the learning process considerably and building GUI's is much easier than learning win32 for c++.
I am not saying Java is better though. C++ is more powerful, but Java is certainly easier to learn in my opinion and development time with Java or C# are usually much shorter as well. Eventually though, I'd recommend learning c++ as well.
I completely disagree with you guys on this one. Java is far easier to learn and program for because it is a managed language. You don't have to worry about Object destruction at all so your garbage collection is automaticaly handled. Plus, you don't have to worry about going out of bounds in data structures which can be a huge problem for newbie c++ or C programmers.
Also Java has excellent documentation which helps the learning process considerably and building GUI's is much easier than learning win32 for c++.
I am not saying Java is better though. C++ is more powerful, but Java is certainly easier to learn in my opinion and development time with Java or C# are usually much shorter as well. Eventually though, I'd recommend learning c++ as well.
- bad_brain
- Site Owner
- Posts: 11638
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
hm, I think it's a matter of taste Sas. some people find Java easier and some C++. from the view of a total beginner the first steps in both languages are the same, but if it gets a little more advanced Java can be very confusing because of the class model it uses (class declaration in Java already drove many people insane I heard ) and this is usually the step which takes the most time for a beginner....imo Java is more abstract than C++ (ok, I have to admit I only have very basic C++ skills). but well, on the other side you're right, in the long run C++ is harder because of its bad documentation combined with the massive ammount of possibilities.
Re: How-to for beginners
Well I wouldn't say changing your PATH, more like... adding to your PATH.bad_brain wrote:So, download the Java SDK, change the PATH variable to the Java bin-folder and you can start!
Also, the starting with HTML and Javascript stuff is nice, but to go from HTML and Javascript to an object oriented language like Java or C++ doesn't make a whole lot of sense. What use will that knowledge of websites be learning an object oriented language? If you start with HTML and Javascript, the next step should be a web programming language like PHP followed by the common vulnerabilities such as cross-site-scripting, file inclusion, SQL injection.
Personally, I wouldn't start with the web, but rather a simple and powerful language such as Python, to get great results fast. Python also teaches you a lot of good habits, such as the forced indentation (which can be a real pain in the ass, but it helps you write clean code). After Python, I'd suggest some C and Perl, and then move over to the web: learning HTML, learning how to get and parse webpages using Perl and Python. Learning PHP, understanding file inclusions, cross site scripting and SQL injections, understanding exploits and how to write them yourself. After that, some low-level stuff like some more C and a little assembler, maybe reverse-engineering. Of course, all this is done from a Linux distribution, and easily portable to any other operating system.
- bad_brain
- Site Owner
- Posts: 11638
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
well, if a total beginner starts with an OOP language the possibility he gets frustrated after a short time is pretty big, I don't think it's real fun for a beginner to spend an hours with debugging. learning HTML is a LOT easier and it is very motivating because with just a few lines of code the user can create nice stuff....what can you create with a few lines of code in an OOP language besides "hello world"?
and I disagree that web development has nothing to do with OOP, there are a lot of OOP compontents in Javascript for example, and this is a good preparation for getting deeper into coding...it's like when you get your driving license, as first car it's the best to get a cheap rusty bucket instead of a Porsche.
and I disagree that web development has nothing to do with OOP, there are a lot of OOP compontents in Javascript for example, and this is a good preparation for getting deeper into coding...it's like when you get your driving license, as first car it's the best to get a cheap rusty bucket instead of a Porsche.
Python is object oriented, but you can write procedural programs in it just fine, same with Perl and PHP. Debugging in Python isn't hard, the error messages are clear, there really isn't a lot of stuff that can go wrong and there are enough tutorials on the web to guide you.bad_brain wrote:well, if a total beginner starts with an OOP language the possibility he gets frustrated after a short time is pretty big, I don't think it's real fun for a beginner to spend an hours with debugging. learning HTML is a LOT easier and it is very motivating because with just a few lines of code the user can create nice stuff....what can you create with a few lines of code in an OOP language besides "hello world"?
There's really no comparing HTML and Python, one is a programming language and the other is a markup language. Which one you decide to do depends on your interests.
That wasn't my point. C++ and Java don't have anything to do with web development (much). From HTML and Javascript to C++ or Java seems illogical and completely off track.bad_brain wrote:and I disagree that web development has nothing to do with OOP
- bad_brain
- Site Owner
- Posts: 11638
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
then it also makes no sense to do it vice versa as you suggested....but then again you write you can use Perl for example to parse HTML, now where is the advantage in learning Perl first compared to learn HTML first? if you want to parse HTML with Perl you need to know both anyway...so why not starting with the easier stuff? and btw, applets are still the most used purposes for Java, so it has a lot to do with web dev.G-Brain wrote: That wasn't my point. C++ and Java don't have anything to do with web development (much). From HTML and Javascript to C++ or Java seems illogical and completely off track.