|
Try to use it in the most basic way.
|
|
|
|
|
yep ... perfect ... start simple and go bat$hit with gradual complexity!
|
|
|
|
|
listen to every CD
watch every DVD
and, ignore every magazine
You know, "best practices" and all....
The best way to improve Windows is run it on a Mac.
The best way to bring a Mac to its knees is to run Windows on it.
~ my brother Jeff
|
|
|
|
|
Does "View written example" includes "Run code sample"?
At any rate, that's how I like to do it: Run code samples!
I reserve "View written example" for the most simplistic libs! ^_^
|
|
|
|
|
You know - it's like sex.
Reading the documentation
Searching online
Studying biology (i.e., dig into the code)
&etc.
No substitute for practice practice practice !
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Sometimes you have to look at the map to see what tunnel to take off the express way. 
|
|
|
|
|
That's what they're there for.
|
|
|
|
|
Sounds a bit like Mao. A reckless man who stepped over millions of dead and abuser of young women.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
But he had also defects.
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
I would agree, but it is normal to have badly written documentation. If more developers treated documentation as seriously as code then I would agree, but its normal for devs to frankly hate documentation. All too often the devs talk in domain terms that assume that you as a newbie understand those terms.
|
|
|
|
|
If it was written in .Net, I may even use a disassembler.
|
|
|
|
|
Documentation gives* information on how to use the library, how it is supposed to work, its expected behaviour, its quirks and exceptions. Written examples are a staple of good documentation but they will never substitute it for me, I find hard and against myself to use a library dumbly copy-pasting code without an organic explanation on what I am doing.
*Good documentation, anyway.
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
|
I'm a voracious reader.
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
and finally, enter the library on StackOverflow to see what kind of problems / questionable design decisions surfaces ...
|
|
|
|
|
Assuming it is a well written library I don't have to go into the lib code, but I write my own little examples to try it out - after having read the docs and the provided examples.
And I keep the code for future reference.
|
|
|
|
|
This, too, is my favorite method. I put together small sections of code and verify that the library responds as expected, based on my understanding of the documentation and the published examples. When my examples fail, I review what I have read and the code I have written, then try again. If my attempts continue to fail, I email someone more knowledgeable for some help.
__________________
Lord, grant me the serenity to accept that there are some things I just can’t keep up with, the determination to keep up with the things I must keep up with, and the wisdom to find a good RSS feed from someone who keeps up with what I’d like to, but just don’t have the damn bandwidth to handle right now.
© 2009, Rex Hammock
|
|
|
|
|
...if my attempts continue to fail I consider using another library, if any
And else, I try to find an expert on CodeProject 
|
|
|
|
|
- Read the documentation: always.
- Have a look on some samples: if not covered by the documentation.
- Have a look at the sources: if I have doubts about the professionality of the developer or I'm interested on how it is implemented.
|
|
|
|
|
Given the kind of forum codeproject.com is, I find it surprising that "Ask questions online" is so unpopular 
modified 13-Sep-18 21:01pm.
|
|
|
|
|
You've been to Q&A - so you really have answered your own question.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I think its because of the way the survey was phrased as "understand a new library". Asking a Q. online or in a forum is usually reserved for after you've become acquainted with the code for awhile but now are dealing with some problem that you need help on.
|
|
|
|
|
Darryl Bryk wrote: Asking a Q. online or in a forum is usually reserved for after you've become acquainted with the code for awhile but now are dealing with some problem that you need help on. or for the lazy morons that don't even bother in trying to understand it and prefer to try to fool you to do their homework for them
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Hah you are assuming the typical Q&A denizen knows what a library refers to in this context.
Never underestimate the power of human stupidity
RAH
|
|
|
|