Slashdot Mirror


Best Reference Site For Each Programming Language?

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?"

39 of 538 comments (clear)

  1. Scheme by klutometis · · Score: 5, Interesting

    If it's scheme you're looking for, there's R5RS and the SRFIs; also, don't forget the world's possibly best-written programming book: SICP.

    1. Re:Scheme by c0nman · · Score: 5, Informative

      Quick Ref
      QuickRef currently includes: C, C++, CSS, HTML, HTML DOM, Java, JavaScript, MySQL, Perl, PHP, Python, and Ruby

    2. Re:Scheme by Anonymous Coward · · Score: 5, Informative

      gotapi currently includes many many more and has a nice ajaxy interface.

  2. Perl and Python by mangu · · Score: 4, Informative

    cpan.org and python.org

    1. Re:Perl and Python by SatanicPuppy · · Score: 5, Informative

      Agreed. I'd also add Perlmonks.org; it's not documentation per se but it's damn useful.

      For java, you have to master the API...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.

      --
      ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
    2. Re:Perl and Python by Praedon · · Score: 5, Interesting

      Yep, those are good too.. but I'd also add something that was basically born from Slashdot, it's Rosetta Code For common solutions with multiple code for different programming environments.

      --
      Just me
    3. Re:Perl and Python by mangu · · Score: 4, 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. 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. 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.

    4. Re:Perl and Python by Anonymous Coward · · 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.

    5. Re:Perl and Python by Bogtha · · Score: 4, Informative

      However, I do know of a really good author, that is a "dead tree" author, for C: Herbert Schildt.

      I used to recommend his books too, but he has a bad reputation among many developers:

      Why do many experts not think very highly of Herbert Schildt's books?

      A good answer to this question could fill a book by itself. While no book is perfect, Schildt's books, in the opinion of many gurus, seem to positively aim to mislead learners and encourage bad habits. Schildt's beautifully clear writing style only makes things worse by causing many "satisfied" learners to recommend his books to other learners.

      Do take a look at the following scathing articles before deciding to buy a Schildt text.
      http://www.lysator.liu.se/c/schildt.html
      http://herd.plethora.net/~seebs/c/c_tcr.html

      The above reviews are admittedly based on two of Schildt's older books. However, the language they describe has not changed in the intervening period, and several books written at around the same time remain highly regarded.

      The following humorous post also illustrates the general feeling towards Schildt and his books.

      http://www.qnx.com/~glen/deadbeef/2764.html

      There is exactly one and ONLY one C book bearing Schildt's name on its cover that is at all recommended by many C experts - see Q 25.

      --
      Bogtha Bogtha Bogtha
    6. Re:Perl and Python by Schlage · · Score: 4, Funny

      ...undecidedly positive.

      I don't think this means what you think it means.

  3. Java.sun.com by acon1modm · · Score: 5, Informative

    just google: java X class where X is whatever you want. Top results will be sun java docs which are complete and have links to parent and descendent classes, implemented interfaces, etc.

    1. Re:Java.sun.com by B4D+BE4T · · Score: 4, Informative

      I agree. I have been using Java for a while now and have always found the information I needed at java.sun.com. Just about anything you could want to know about Java can be found in the reference section. The API section has all of the classes listed alphabetically for the more recent versions of Java with a fairly detailed description of each class and its methods.

    2. Re:Java.sun.com by Reverend528 · · Score: 4, Informative

      There is also the Java Forums which is a great place to ask people to do your intro CS homework and get flamed.

  4. Here's what I do by shellster_dude · · Score: 5, Informative

    php: php.net
    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.

    1. Re:Here's what I do by MrMunkey · · Score: 4, Informative

      For JavaScript I head over to

      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.

    2. Re:Here's what I do by apathy+maybe · · Score: 4, 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/
      http://www.w3.org/MarkUp/Guide/Advanced.html

      Already know HTML but want to do one thing (or can't remember the exact syntax?)?
      http://www.w3.org/TR/html4/

      Do a search through the HTML 4.01 Specification.
      Similarly for XHTML.

      CSS tips and tricks? You got them all.

      Just learning? Get started with HTML and CSS. Other CSS resources all also easily available.

      Oh right, and don't forget the authoritative text...

      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.

      --
      I wank in the shower.
  5. Tcl -- use the Wikibook by Xcott+Craver · · Score: 4, Informative

    One of the best tutorials and references for Tcl is the Wikibook on Tcl programming.

    Indeed, it's one of the best programming texts I've seen in any language.

  6. Object Pascal and C by jmpeax · · Score: 4, Informative
  7. Suggestions for perl by howlinmonkey · · Score: 4, 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.

  8. For all languages by Korbeau · · Score: 5, Funny

    experts-exchange.com

    *ducks*

    1. Re:For all languages by nog_lorp · · Score: 4, Funny

      answers.yahoo.com

      *geese*

    2. Re:For all languages by mr_mischief · · Score: 4, Funny

      ask.slashdot.org

      *swans*

    3. Re:For all languages by William-Ely · · Score: 5, Funny

      I use http://lolcode.com/examples for all my LOLCODE programs.

      --
      Mod me down with all of your hatred, and your journey towards the dark side will be complete!
    4. Re:For all languages by bakes · · Score: 5, Funny

      www.youporn.com

      *swallows*

      --
      Ho! Haha! Guard! Turn! Parry! Dodge! Spin! Ha! Thrust!
  9. C/C++ by Kuraitou · · Score: 5, Informative

    http://cprogramming.com/ - best site for beginners in my opinion.

    1. Re:C/C++ by nog_lorp · · Score: 5, Informative

      www.cplusplus.com

      Beats the hell out of man pages for the POSIX C libraries.

  10. stack overflow question by fragbait · · Score: 5, Informative

    Perhaps this a question for Stack Overflow?

    -fragbait

  11. PHP.net is great. by nog_lorp · · Score: 4, Insightful

    PHP has probably the best documentation of an language thanks to PHP.net. It is really wonderful, everyone should follow their lead.

    1. Re:PHP.net is great. by Maian · · Score: 5, Insightful

      I don't know. I've recently had to use PHP for something, and I've been struggling to find out the performance of each function. For example, the php.net articles on count()/sizeof() functions on an array tell me nothing of whether it's O(1) or O(n). PHP really strikes me as a programming language for non-CS majors.

  12. C: K&R. by proidiot · · Score: 5, Informative

    For C, use the most holy book:
    K&R
    (aka "The C Programming Language" by Kernighan and Ritchie, http://cm.bell-labs.com/cm/cs/cbook/)

    --
    -proidiot
  13. www.gotapi.com by YutakaFrog · · Score: 5, Informative

    http://www.gotapi.com/ It's got all the good reference sites in one. You click the reference site, it adds a tab to the gotAPI webpage. It has a really good search box. No signup required. Best all-in-one reference ever.

  14. FYI by Anonymous Coward · · 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.

  15. Parashift by D+Ninja · · Score: 4, Informative

    C++ FAQ Lite is an excellent site for C++ information.

  16. Lua by Samah · · Score: 4, Informative

    Lua:
    Official website: http://www.lua.org/
    Direct link to manual: http://www.lua.org/manual/5.1/
    Lua community: http://lua-users.org/wiki/

    --
    Homonyms are fun!
    You're driving your car, but they're riding their bikes there.
  17. Most popular languages are at Wikibooks by Orion+Blastar · · Score: 5, Interesting

    Wikibooks 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.

    --
    Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
  18. scissors beats paper, paper beats the internet by OrangeTide · · 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.

    --
    “Common sense is not so common.” — Voltaire
  19. Re:gExp by zobier · · Score: 4, Informative

    http://www.regular-expressions.info/

    I'll just leave this here.

    --
    Me lost me cookie at the disco.
  20. Dear programming languages: by rs79 · · 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

    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?

    --
    Need Mercedes parts ?