Quantcast
Channel: A Foolish Manifesto » best practice
Browsing latest articles
Browse All 4 View Live

Image may be NSFW.
Clik here to view.

Smalltalk Best Practice Patterns – Chapter 3 – Behavior – Methods

Today I had to spend time taking care of passport stuff for my upcoming honeymoon, so I only got to read a handful of pages. I’ll post my notes nonetheless. Methods are more important that state...

View Article



Smalltalk Best Practice Patterns: Constructor Method

Sadly reading is going slower than expected due to being so busy with various things in life. Oh well, just a single pattern today. Constructor Method How do you represent instantiation? In addition to...

View Article

Smalltalk Best Practice Patterns – Constructor Parameter Method

How do you set instance variables from a constructor method? The fundamental issue here is that often validation is bypassed at construction time, for whatever reason. So one’s accessor may look...

View Article

Shortcut Constructor Method & Conversion

I left my book and notes at work yesterday, hence the late post. Shortcut Constructor Method What is the external interface for creating a new object when a Constructor Method is too wordy? Sometimes...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images