[U-Boot] [PATCH] Add bootstrap command

Wolfgang Denk wd at denx.de
Fri Jul 17 00:18:22 CEST 2009


Dear Matthias Fuchs,

In message <200907162224.23377.matthias.fuchs at esd-electronics.com> you wrote:
>
> > Please find a better description (avoiding "bootstrap"), and then
> > chose a descriptive name.
> ccc - config chip|cpu configuration
> scc - setup chip|cpu configuration
> wcc - write chip|cpu configuration
> wcce - write chip|cpu configuration eeprom

Which of these will you still remember after the third glass of beer?
;-)

> I am not a friend of long names :-)

Neiter am I. But there  are  some  basic  rules  for  user  interface
design. Short commands should only be used for "harmless" operations.
Long  names  are OK for critical actions where you better should have
your brain  online  and  not  only  your  fingers  continue  to  type
something  after  the  brain  detached. And short commands should bne
used  for  frequently  used  commands,  while  long,  self-explaining
commands are OK for more exotic operations.

This _is_ a thing that requires attention, and you do not need it
frequently - I guess if you run statistics about command usage it will
be in the bottom 5% -  agreed?

So a long name is perfect.

Something  like  "config_cpu"  or  "set_cpu_config"  etc.  (and   the
underscore  is intentional to make you think twice what you are doing
here).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I'm what passes for a Unix guru in my office. This is  a  frightening
concept. - Lee Ann Goldstein, in <3k55ba$c43 at butch.lmsc.lockheed.com>


More information about the U-Boot mailing list