+1 for the descriptive names. Too often I see strange contractions that aren't immediately obvious, and or otherwise inconsistent naming (not just in Smalltalk), and it ruins the illusion of having a consistent whole :).
It bugs me a little ;). It would be really cool if we could agree as a community to follow a well-defined naming scheme. I'm rather fond of this book – Smalltalk With Style Any thoughts? Mark On 20 Apr 2012, at 08:47, Igor Stasenko wrote: > On 19 April 2012 18:27, Denis Kudriashov <[email protected]> wrote: >> It's so great stuff!!! :)) >> >> Is cairo used as athens backend for this demo? >> Is it should work with Bitblt backend? >> >> In demo I see many usage of angel parameter for transformations. Do you >> think about "angel unit objects" like "90 degrees" or "2 radians" instead of >> raw numbers ? >> > there are two methods - rotateByRadians: and rotateByDegrees: > It makes things more explicit, while if i just have > rotate: or rotateBy:, then it will be a bit ambiguous, whether > argument angle is in radians or degrees > (different frameworks assuming different things to be default) > >> How #scaledBy: works with Point argument (self extend) and Float like (frame >> / 100 sin abs) at the same time? What' logic? >> > for uniform scale, you provide a sole number, and for non-uniform - a point, > with x and y scale factors separately. > There is a scaleX:Y: method, while scaleBy: is more for convenience. > >> Best regards, >> Denis >> >> >> 2012/4/19 Igor Stasenko <[email protected]> >>> >>> Hello, all >>> >>> I recorded a small introductory video about Athens. >>> Here it is: >>> >>> http://vimeo.com/40653315 >>> >>> (about 21 minutes). >>> >>> I explain some basic stuff like drawing things using Athens canvas, >>> building paths, use of transformation matrices etc. >>> >>> Please note, this is a first video i ever recorded in such context in >>> my life, so don't be too harsh :) >>> Also, note that the animations are jagged because of video recording >>> frame rate, not because it is that slow in reality. >>> >>> There are still a blog post pending about it.. which i plan to finish >>> when i will finish ;) >>> >>> -- >>> Best regards, >>> Igor Stasenko. >>> >> > > > > -- > Best regards, > Igor Stasenko. >
