Slashdot Log In
Best Reference Site For Each Programming Language?
Posted by
samzenpus
on Wed Sep 17, 2008 07:33 PM
from the spread-the-word dept.
from the spread-the-word dept.
Howling writes "I've been a PHP programmer for a few years and after taking a trip through many sites Ive learned that www.php.net is probably the most complete source when looking for information/documentation. I have been trying to find similar sites for every other language (Java, perl or ASP, for instance) without equal success, though. I ask: what is the best documentation/reference site for your preferred programming language?"
Related Stories
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Scheme (Score:5, Interesting)
Re:Scheme (Score:5, Informative)
QuickRef currently includes: C, C++, CSS, HTML, HTML DOM, Java, JavaScript, MySQL, Perl, PHP, Python, and Ruby
Parent
Re:Scheme (Score:5, Informative)
gotapi [gotapi.com] currently includes many many more and has a nice ajaxy interface.
Parent
Re:gExp (Score:5, Informative)
http://www.regular-expressions.info/ [regular-expressions.info]
I'll just leave this here.
Parent
Re:Scheme (Score:4, Informative)
Would you actually rather read the pdf, which can't be reflowed, instead of html, which can be reflowed, if both would be available as a single file download?
At least on mobile devices such as the Nokia N810 I prefer reflowable formats. Actually I prefer them on the desktop also.
Parent
Perl and Python (Score:5, Informative)
cpan.org and python.org
Re:Perl and Python (Score:5, Informative)
Agreed. I'd also add Perlmonks.org [perlmonks.org]; it's not documentation per se but it's damn useful.
For java, you have to master the API [sun.com]...Even modules that other people write are often documented with javadoc, and look just the same. Once you use it for a while it becomes familiar.
Parent
Re:Perl and Python (Score:5, Interesting)
The funny thing is that for some 20 years, before I started using Python, my favorite and almost only language was C, and I don't know of any really good site for C.
However, I do know of a really good author, that is a "dead tree" author, for C: Herbert Schildt. I would recommend these [amazon.com]. Any of them. Well, just kidding, I haven't read them all, I doubt anyone has, but I bet they are all good.
My favorite is his book on artificial intelligence [amazon.com]. It's out of print now, but it was one of the reasons why C was my favorite language for about 20 years, and it still would be if Python hadn't come out.
Parent
Re:Perl and Python (Score:5, Informative)
C was my favorite language for about 20 years, and it still would be if Python hadn't come out.
You know this of course, but I thought I'd mention that your C experience isn't wasted as a Python programmer. The cycle: design in Python => profile => redo bottlenecks in C, is the basis of industrial strength Python application.
Parent
Re:Perl and Python (Score:5, Informative)
I used to recommend his books too, but he has a bad reputation [faqs.org] among many developers:
Parent
Re:Perl and Python (Score:4, Funny)
...undecidedly positive.
I don't think this means what you think it means.
Parent
Re:Perl and Python (Score:5, Interesting)
Parent
Re:Perl and Python (Score:4, Informative)
perldoc.perl.org [perl.org]
use Perl; [perl.org] comes high on the list, along with PerlMonks [perlmonks.org] and PerlBuzz [perlbuzz.com].
Perl.org [perl.org] in general gets points for being where you can find Use, perldoc, and more.
Parent
Java.sun.com (Score:5, Informative)
Re:Java.sun.com (Score:4, Informative)
http://java.sun.com/reference/ [sun.com]
Samples, API, Docs, Tutorials, etc.
(redudndant, but people usually like links)
Parent
Re:Java.sun.com (Score:5, Informative)
Parent
Re:Java.sun.com (Score:4, Informative)
Parent
FYI (Score:5, Informative)
If you use Eclipse you can configure the javadoc URL in your JDK configuration and pull up the pages from within the IDE. VERY handy.
Parent
ASP (Score:3, Informative)
for asp: asp.net. has very good tutorials. for reference use msdn library.
Here's what I do (Score:5, Informative)
coldfusion: adobe.com
html, css, javascript, sql: w3schools.com
python: python.org
c/c++: devshed.com
java: java.sun.com
Anything else: my brilliant co-worker.
Re:Here's what I do (Score:5, Informative)
developer.mozilla.org
It's pretty clear, but unfortunately you still have to watch out for browser incompatibilities. They sometimes will have a note about it though.
Parent
Re:Here's what I do (Score:5, Informative)
html, css, javascript, sql: w3schools.com
Why oh why would you go to w3schools (ad filled piece of shit), when you go directly to the source for all the HTML and CSS requirements?
For example, want to learn HTML?
http://www.w3.org/MarkUp/Guide/ [w3.org]
http://www.w3.org/MarkUp/Guide/Advanced.html [w3.org]
Already know HTML but want to do one thing (or can't remember the exact syntax?)?
http://www.w3.org/TR/html4/ [w3.org]
Do a search through the HTML 4.01 Specification [w3.org].
Similarly for XHTML [w3.org].
CSS tips and tricks [w3.org]? You got them all.
Just learning? Get started with HTML and CSS [w3.org]. Other CSS resources [w3.org] all also easily available.
Oh right, and don't forget the authoritative text [w3.org]...
Basically, for HTML and CSS, it is much better for both beginners and advanced users to go to the W3C rather then the ad filled crap w3schools.
Parent
Tcl -- use the Wikibook (Score:5, Informative)
One of the best tutorials and references for Tcl is the Wikibook [wikibooks.org] on Tcl programming.
Indeed, it's one of the best programming texts I've seen in any language.
Object Pascal and C (Score:5, Informative)
Suggestions for perl (Score:5, Informative)
Documentation: peldoc.perl.org
Community: perlmonks.org
Articles: www.perl.com (O'Reilly site)
I have found the perl community to be the most open, supportive and cohesive group of all the languages I work with. Right now I am working with PHP, perl and C#, and perl is by far the easiest language to get help and correct information. I can find tons of info on the other languages, but the information isn't always the best quality.
Good luck with your search.
For all languages (Score:5, Funny)
experts-exchange.com
*ducks*
Re:For all languages (Score:5, Funny)
answers.yahoo.com
*geese*
Parent
Re:For all languages (Score:5, Funny)
ask.slashdot.org
*swans*
Parent
Re:For all languages (Score:5, Funny)
www.youporn.com
*swallows*
Parent
Re:For all languages (Score:4, Funny)
goatse.cx
*ewe*
Parent
Re:For all languages (Score:5, Funny)
Parent
C/C++ (Score:5, Informative)
Re:C/C++ (Score:5, Informative)
www.cplusplus.com
Beats the hell out of man pages for the POSIX C libraries.
Parent
Re:C/C++ (Score:4, Informative)
Standard Template Library:
Boost libraries [boost.org]:
For anything not present in the standard library, these are the next place to check. They're freely usable in commercial projects.
Parent
stack overflow question (Score:5, Informative)
Perhaps this a question for Stack Overflow [stackoverflow.com]?
-fragbait
PHP.net is great. (Score:5, Insightful)
PHP has probably the best documentation of an language thanks to PHP.net. It is really wonderful, everyone should follow their lead.
Re:PHP.net is great. (Score:5, Insightful)
Parent
C: K&R. (Score:5, Informative)
K&R
(aka "The C Programming Language" by Kernighan and Ritchie, http://cm.bell-labs.com/cm/cs/cbook/ [bell-labs.com])
Re:C: K&R. (Score:4, Informative)
Make sure to use the second edition, which covers ANSI C (which is practically ISO C89).
Parent
Re:C: K&R. (Score:4, Insightful)
But style aside, the content of the book is classic, especially when you start getting into systems programming. These guys had the logical structure of a good computer system worked out a long time ago! Considering that the UNIX C API was basically the first draft of POSIX, reading this book is a must if you ever want to play with the low-level (aka, fun) parts of your operating system. This book almost never leaves my desk, even though I do most of my work in Perl and PHP nowadays.
I love C because it is a sparse programming language that is very expressive, mainly due to pointers. That has a big influence on my code in other languages, for better or worse. But I find C to be very readable, and I try to do the same for other programs. A lot of "modern" languages just look like barf to me, but I'm probably biased.
Parent
Your language is too bloated (Score:4, Funny)
... if the complete reference can't be included inline in a /. post. Here's all you need to know:
> increment the pointer (to point to the next cell to the right).
< decrement the pointer (to point to the next cell to the left).
+ increment (increase by one) the byte at the pointer.
- decrement (decrease by one) the byte at the pointer.
. output the value of the byte at the pointer.
, accept one byte of input, storing its value in the byte at the pointer.
[ jump forward to the command after the corresponding ] if the byte at the pointer is zero.
] jump back to the command after the corresponding [ if the byte at the pointer is nonzero.
www.gotapi.com (Score:5, Informative)
Other languages (Score:5, Informative)
SNOBOL - http://www.snobol4.org/ [snobol4.org]
Logo - http://el.media.mit.edu/Logo-foundation/logo/programming.html [mit.edu]
FORTH - http://www.phact.org/e/forth.htm [phact.org]
Prolog - http://www.logic.at/prolog/faq/faq.html [logic.at]
Algol - http://www.algol68.org/ [algol68.org]
Lucid - http://www.haskell.org/haskellwiki/Lucid [haskell.org]
PL/I - http://www.users.bigpond.com/robin_v/resource.htm [bigpond.com]
Dear programming languages: (Score:5, Funny)
Hi there all you programming langauges. I've called you all here because we need to talk. There's some things I need to get off my chest.
SNOBOL
If the world revolved around writing backgammon games, baby, you'd be the end all be all. But you're bloody useless at anything else. You're pretty but uselss.
Logo
You wear me out. I have to tell you to do everything.
FORTH
DARLING I MISS YOU. Where are you?
Prolog
You look good on paper, but you scare me. Remember that time in Beverly Hills? You have some very odd friends. And what's with the pink ties?
Algol
Oh algol. We had some great times together. But there is life after college, really.
Lucid
Lucid: you aren't. You should have been called "heroin".
PL/I - http://www.users.bigpond.com/robin_v/resource.htm [bigpond.com]
PL/I you are the perfect ex langauge. There's nothing to like about you and I don't miss you. Hell I don't even remember you that well any more. You're so damn difficult even your name cant be used in a URL because you screw that up. Put skip THIS, bitch.
Forth come back! All is forgiven. Let's just you and me go someplace and dup dup dup. Or was that postscript. No no, she's just a friend.
Aww dammit. Forth? Honey?
Parent
Missing Cowboy Neal option (Score:4, Funny)
Parashift (Score:5, Informative)
C++ FAQ Lite [parashift.com] is an excellent site for C++ information.
Lua (Score:5, Informative)
Official website: http://www.lua.org/ [lua.org]
Direct link to manual: http://www.lua.org/manual/5.1/ [lua.org]
Lua community: http://lua-users.org/wiki/ [lua-users.org]
Most popular languages are at Wikibooks (Score:5, Interesting)
Wikibooks [wikibooks.org] because if it isn't already there, someone will eventually write one and make it open sourced.
I invite Slashdot readers and posters to write their own ebooks at Wikibooks in an open source license.
Ruby (Score:4, Informative)
The official site is always a good bet. But I also make it a habit to memorize the url to the rdoc of whatever I'm doing:
ruby-doc.org/core [ruby-doc.org]
api.rubyonrails.org [rubyonrails.org]
Beyond that, it's more about the framework. For example:
ramaze.net [ramaze.net]
sequel.rubyforge.org [slashdot.org]
Beyond that, there's the source (and IRB + tab-completion), and for the really tough questions, the ruby-talk mailing list.
Can't really recommend the jQuery docs, as they're down half the time, the UI is lacking some critical features, and it doesn't seem to quite work in Konqueror. For a library claiming to be cross-browser, you should at least have your docs be cross-browser!
scissors beats paper, paper beats the internet (Score:5, Interesting)
I think you misinterpreted the tongue-in-cheek language.
I don't know the reason why some languages (like C) have little online presence. There is comp.lang.c on usenet and the comp.lang.c FAQ. And a couple of online versions of man pages, but it's hard to learn C from man pages alone. And there is the C89/C99 specs, but I don't think that's a great way to learn C either. If you ignore usenet (most people do), I would venture to say there is basically nothing good about C online.
Compared to the books you can get that cover C programming, ones on algorithms, data structures, C itself, and various APIs. The web seems vastly inferior. I'm not trying to claim I know the reason why, I'm just pointing out that this is currently the case. Currently paper is better than electrons for SOME languages.
Parent