~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/HACKING.txt

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-04 17:16:17 UTC
  • mfrom: (5004.2.6 doc)
  • Revision ID: pqm@pqm.ubuntu.com-20100204171617-8mbadia84bys1fr6
(mbp) developer doc tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
689
689
 
690
690
In some places we have variables which point to callables that construct
691
691
new instances.  That is to say, they can be used a lot like class objects,
692
 
but they shouldn't be *named* like classes:
 
692
but they shouldn't be *named* like classes::
693
693
 
694
694
> I think that things named FooBar should create instances of FooBar when
695
695
> called. Its plain confusing for them to do otherwise. When we have
723
723
those parameters, and this instance then has methods for operations
724
724
between the objects.
725
725
 
 
726
::
 
727
 
726
728
  inter = InterRepository.get(source_repo, target_repo)
727
729
  inter.fetch(revision_id)
728
730