1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Making a case for cases |
From: | "Zhukov, Alexander P." <[email protected]> |
To: | "Steiner, Mathias" <[email protected]>, "[email protected]" <[email protected]> |
Date: | Thu, 05 Aug 2010 12:29:34 -0400 |
I think mixed case is the best. You want to ensure proper notation that is strict. E.g.
what to use instead of a space? Just skip it or use underscore? If everyone follows it then there will be no ambiguities
or problems with search Unfortunately we at SNS didn’t follow it very well
and now we have PV names like: DTL_Diag:BLM130:MPS_Trip_limit_Rad Instead of DTL_Diag:BLM130:MPSTripLimitRad or DTL_Diag:BLM130:MPS_Trip_Limit_Rad Alexander Zhukov SNS/ORNL Beam Instrumentation Group From:
[email protected] [mailto:[email protected]] On
Behalf Of Steiner, Mathias Learned Friends, The planned Facility for Rare Isotope Beams, a.k.a. FRIB, is
looking to finalize the naming convention. The proposed system is an evolution of the SNS convention.
I'll list the format to give an idea of how many uninterrupted characters one
might encounter:
SSSS_BBBB:DDDD_QIIII:TTTTIIIIXXXX System_subsystem:Devic_Qualifier:Signal Name One of the remaining questions concerns letter case. Option 1: Uppercase only. It's simple; it's unambiguous; it's what we do now. On the downside, it is hard to read. Option 2: Lowercase only. It's as simple as uppercase, but easier to read. Option 3: Mixed case. This is best option for legibility. But it creates ambiguities and can make searching difficult. Is there something like a community consensus on this? Are there any pitfalls we should be aware of? Thanks in advance,
-Mathias Mathias Steiner Staff Physicist NSCL/Michigan State Cyclotron East Lansing, MI voice 517-908-7423 |