To this point, the only goals that have been recommended for this
effort are those that I've noted below:
>> 1) Remove ambiguity wherever possible! There are a number of places
>> where very similar names are used to refer to utterly different
>> things.
>> 2) As an aide removing ambiguity, consider outlawing or eliminating
>> extremely generic names, or else establish a single way in which a
>> given name will be used across Lift. Examples are Field, Info, Holder,
>> etc.
>> 3) Avoid making the name of the return type part of the name of the
>> method. The types should tell the story as much as possible, except in
>> the case where multiple methods varying only in return type would
>> exist (illegal overloads)
>> 4) Prefer Scala-style accessors and mutators.
In general, the principle goal of this effort must be improving the
clarity of the Lift API for both new adopters and for maintainers.
To this point, the only goals that have been recommended for this
effort are those that I've noted below:
>> 1) Remove ambiguity wherever possible! There are a number of places
>> where very similar names are used to refer to utterly different
>> things.
>> 2) As an aide removing ambiguity, consider outlawing or eliminating
>> extremely generic names, or else establish a single way in which a
>> given name will be used across Lift. Examples are Field, Info, Holder,
>> etc.
>> 3) Avoid making the name of the return type part of the name of the
>> method. The types should tell the story as much as possible, except in
>> the case where multiple methods varying only in return type would
>> exist (illegal overloads)
>> 4) Prefer Scala-style accessors and mutators.
In general, the principle goal of this effort must be improving the
clarity of the Lift API for both new adopters and for maintainers. We
now have two days before the "goal discussion" closes. If anyone has
any additional objectives they'd like to voice before this window
closes, please do so now. I'd like to hold a vote on the proposals
above as well as any other objectives folks may have tomorrow, so that
any -1's can be ironed out before the 15th.
Kris
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
2009/12/13 Kris Nuttycombe <kris.nu...@gmail.com>To this point, the only goals that have been recommended for this
effort are those that I've noted below:
>> 1) Remove ambiguity wherever possible! There are a number of places
>> where very similar names are used to refer to utterly different
>> things.
>> 2) As an aide removing ambiguity, consider outlawing or eliminating
>> extremely generic names, or else establish a single way in which a
>> given name will be used across Lift. Examples are Field, Info, Holder,
>> etc.
>> 3) Avoid making the name of the return type part of the name of the
>> method. The types should tell the story as much as possible, except in
>> the case where multiple methods varying only in return type would
>> exist (illegal overloads)
>> 4) Prefer Scala-style accessors and mutators.Thank you Kris for writing up these goals. I would like to add another one:5) Avoid using abbreviations
In general, the principle goal of this effort must be improving the
clarity of the Lift API for both new adopters and for maintainers.100% agreed!In order to make Lift even more popular it is essential to ease adoption. Often folks require better documentation and we all know that the code (the API) is the first and best source of documentation.Heiko
My job: weiglewilczek.com
My blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
On Sun, Dec 13, 2009 at 10:39 PM, Heiko Seeberger <heiko.s...@googlemail.com> wrote:
2009/12/13 Kris Nuttycombe <kris.nu...@gmail.com>5) Avoid using abbreviations
I disagree. When coding with a non-IDE, abbreviations make life much easier.
5) Avoid using abbreviations
I disagree. When coding with a non-IDE, abbreviations make life much easier.
I agree with David, abbreviations are better. When I'm trying to get something out of my head and into code, I don't want things getting in my way. 2 things in this scenario get in my way. 1) autocomplete is slow 2) typing is slow.
Here's something else to think about on this issue. A good typist, familiar with their material can type faster then most code completions can operate. In studying data entry folks at UofP, I noticed something about the auto-complete functionality that wasn't obvious to me before. It's not how fast the code complete pops up that slow you down. It's the mental shift from typing to reading that takes the most time. You always have to verify that what the auto-complete is going to use is correct. This almost always takes more time then typing it yourself (assuming an expert typist).
5) Avoid using abbreviations
I disagree. When coding with a non-IDE, abbreviations make life much easier.
-------------------------------------
Jonathan Ferguson<jo...@spiralarm.com> wrote:
2009/12/15 David Pollak <feeder.of...@gmail.com>
Cheers
Jono
--