Results 1 to 16 of 16
Thread: Introduction Guide
- 04-26-2011, 08:37 AM #1
- 04-26-2011, 09:18 AM #2
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
A lot of that stuff isn't necessary to learn just yet. Since you are a beginner, you don't need to worry about learning about OS, and many tools. You really need to learn the basics of programming, any language will really be fine for that.
A lot of people highly suggest the oracle tutorials.
The Really Big Index
These are extremely comprehensive and broad. They may be confusing at first, but if you stick with it and try out there example(type them and play with them) you should be able to learn a lot about java, and programming in general.
It would also be extremely advantageous to get some books. Some good books I recommend are:
Head First Java
C++ without fear
How to Design Programs(available free at How to Design Programs)
These 3 books will get you very started and give you a decent understanding of 3 languages, dr.scheme(a dialect of lisp), c++, and java.
Finally, for a quick intro to installing and getting the JDK(or is is SDK, I always get these confused) and compiling your first program here
TheNewBoston – Free Educational Video Tutorials on Computer Programming and More! » Java Programming Tutorial – 1 – Installing the JDK
There is no rule, however; I like to suggest you learn with a fairly basic editor(notepad++) and command line compiling.Last edited by sunde887; 04-26-2011 at 02:48 PM. Reason: typos
- 04-26-2011, 10:22 AM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
- 04-26-2011, 10:24 AM #4
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
oops, typo! lol, I like your acronym better that list processing.
- 04-26-2011, 11:40 AM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
I hated all those parentheses so I implemented my own Lisp version, all backwards (Reverse Polish Lisp); it uses postfix notation so I don't need any parentheses at all. I lose the variadic functions (there's no way of telling how many arguments for a function there are) so I borrowed the 'fold left' and 'fold right' functions from Scheme (or was it Haskell?) The entire thing is written in Java and it can be way faster than Java because of its tail recursion removal (which is easy in RPL) and memoizing capability of the RPL functions. At this very moment I'm still fiddling with an IDE for that language; duh.
kind regards,
Jos ;-)When people rob a bank they get a penalty; when banks rob people they get a bonus.
- 04-26-2011, 11:41 AM #6
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
Wow, while I understood the basics of that, it seems quite complex.
- 04-26-2011, 12:17 PM #7
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
It might seem complex at first but it isn't: basically there's the compiler and evaluator; both are too simple to even deserve their names: the compiler reads a word (any sequence of non-space characters), looks up the word and stick the corresponding Java object in a list. The evaluator simply calls each Java object from that list and 'evaluates' it. These Java objects all implenent an interface that has a method eval( ... ). That's basically all the compiler and evaluator do. I borrowed the idea from Forth (another cute language) and the little language implemented in HP calculators.
e.g. here's RPL implementation of n!
Cute eh?Java Code:lambda n = if n 1 < then 1 else { n n -- self * }
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 04-26-2011, 12:36 PM #8
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
That's pretty cool. Doesn't seem as complex either.
- 04-26-2011, 01:27 PM #9
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
If you're interested I can 'invite' you on the huddle.net repository when I've got that up and running again (I guess it's my stupid browser that's acting up). You can get to all the sources and try it for yourself. I need your email address for that to send you the 'invitation'; you have to accept it and I can grand you the necessary rights for that repository; but first I have to get that stuff up and running again (stupid web based crappy software ...) The RPL stuff needs Java 1.6 but I don't think that'll be a problem.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 04-26-2011, 01:34 PM #10
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
Awesome, thank you, I will send you my email via pm.
- 04-26-2011, 02:01 PM #11
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
Ok, got it; I sent you the invitation already; there's not much you can do there because of those *^^&^^)()((&^ uploading problems; I removed (much of) the old stuff already but were unable to upload the new stuff. I let you (and the few others) know when I finally managed to upload the files ...
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 04-26-2011, 02:05 PM #12
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
- 04-26-2011, 02:31 PM #13
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
You're welcome of course; beware that there is almost no online documentation of the language nor the IDE; I'm using JavaHelp for that and writing all that html crap is a tedious job; there are only 40 pages or so. But first I have to solve that Huddle crap.
kind regards,
Jos
ps. if you have that stuff up and running we can try remote rpl-ing; i.e. rpl evaluators can talk to eachother and evaluate sequences of objects for eachother. It works with a couple of laptops in a lan here are home but I never tried to 'cross oceans' with it ;-)When people rob a bank they get a penalty; when banks rob people they get a bonus.
- 04-27-2011, 02:33 PM #14
Member
- Join Date
- Apr 2011
- Posts
- 2
- Rep Power
- 0
Hi all.
I am new here and new in java , basically I know the JSE and I am very interested to learn J2EE as it deals with web application. I have read some books in J2EE. I use netbean IDE but my friend said the Eclipse is also good . can anyone tell me which one is good for resource utilization.
- 04-27-2011, 02:34 PM #15
Member
- Join Date
- Apr 2011
- Posts
- 2
- Rep Power
- 0
Introduction to Java
Hi all.
I am new here and new in java , basically I know the JSE and I am very interested to learn J2EE as it deals with web application. I have read some books in J2EE. I use netbean IDE but my friend said the Eclipse is also good . can anyone tell me which one is good for resource utilization.
-
modulesoft, please ask your question in a new thread rather than hijack another's thread.
Similar Threads
-
Guide For New Members
By Java Tip in forum Forum GuidesReplies: 13Last Post: 02-28-2013, 12:26 AM -
can you guide me that what shall i do for getting a job?
By chain in forum Jobs WantedReplies: 1Last Post: 05-30-2011, 01:38 PM -
can ne1 guide me plz
By silversurfer2in in forum New To JavaReplies: 7Last Post: 01-21-2010, 09:25 AM -
Hibernate guide
By nn12 in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 02-18-2009, 08:53 AM -
Please Guide me
By senorita2007 in forum New To JavaReplies: 6Last Post: 11-07-2008, 07:59 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks