[squeak-dev] The Trunk: Tools-cmm.231.mcz
wiljo at mac.com
Fri Apr 23 15:57:20 UTC 2010
When I first started Smalltalk, my style mentor was Roxy Rochat... who wrote the original Tektronix style guide. That guide strongly advocated a single blank line in a method to separate message specification from method implementation. I myself regularly fix pretty printers to support this approach. IMHO, it should be an option to allow this single blank line.
John Sarkela [|]
On Apr 23, 2010, at 11:49 AM, Chris Muller wrote:
> When I first started Smalltalk I liked blank lines in methods to
> separate out different sections of methods. But my mentor told me,
> "if you have different 'sections' then you need to compose additional
> methods for those sections. You should therefore not have blank
> Plus, with Shout there is delineation by color.
> "_so_ condensed" is a good thing isn't it? :-)
> On Thu, Apr 22, 2010 at 3:15 PM, Tobias Pape <Das.Linux at gmx.de> wrote:
>> I'm happy about this one.
>> However, would it be possible to (optionally)
>> have a blank line between the message signature and
>> the method content?
>> I know its a matter of taste, but the often found 2-line
>> getters and setters look _so_ condensed to me :)
>> So Long,
>> Am 2010-04-22 um 17:23 schrieb commits at source.squeak.org:
>>> Chris Muller uploaded a new version of Tools to project The Trunk:
>>> ==================== Summary ====================
>>> Name: Tools-cmm.231
>>> Author: cmm
>>> Time: 22 April 2010, 12:23:43.234 pm
>>> UUID: bbca9c17-2eab-4dfa-888c-031a276042c3
>>> Ancestors: Tools-ar.230
>>> - Removed generation of meaningless comments when generating inst-var accessors.
More information about the Squeak-dev