Member since Jun 01, 2009, follows 0 people, 0 public groups, 27 public bookmarks (121 total).
More »
Tags
| Recent Tags: |
|
|---|---|
| Top Tags: |
|
More »
Recent Bookmarks and Annotations
-
Python: data vs. text? - Stack Overflow on 2009-11-27
-
namely unicode strings for strings (
strtype) and 8-bits byte sequences for "data" (bytestype).
-
-
General programming question. When to use OOP? - Stack Overflow on 2009-11-12
-
"My program needs to do 2 things."
When you start out like that, the objects cannot be seen. You're perspective isn't right.
Change your thinking.
"My program works with stuff"
That's OO thinking. What "stuff" does your program work with? Define the stuff. Those are your basic classes. There's a class for each kind of stuff.
"My program gets the stuff from various sources"
There's a class for each source.
"My program displays the stuff"
This is usually a combination of accessor methods of the stuff plus some "reporting" classes that gather parts of the stuff to display it.
When you start out defining the "stuff" not the "do", you're doing OO programming. OO applies to everything, since every single program involves "doing" and "stuff". You can chose the "doing" POV (which is can be procedural or functional), or you can chose the "stuff" POV (which is object-oriented.)
-
- Convert XSD to Python Class - Stack Overflow on 2009-11-02
- Emurse.com: Resume Builder | Maker | Creator on 2009-10-26
- JobSpice on 2009-10-26
- CeeVee - quick & painless résumé management on 2009-10-26
- GigTide Online Resume Builder on 2009-10-26
- EndsWithSaurus...: A lesson in address storage on 2009-10-26
- The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!) - Joel on Software on 2009-10-25
- Convert to UTC Timestamp - Stack Overflow on 2009-10-24
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo