What is your favorite coding style, mine looks like this:
int function(int a, int b)
{
int i;
for (i=a; i<b; i++)
{
if (i<10)
doThis(i);
else
{
switch (i)
{
case 42:
doSomethingSpecial();
break;
default:
{
doTheNormalThing(i, a, b);
break;
}
}
}
}
return 0;
}
--
https://code.launchpad.net/~dirk.zimoch/epics-base/+git/epics-base/+merge/382303
Your team EPICS Core Developers is subscribed to branch epics-base:7.0.
- Replies:
- Re: [Merge] ~dirk.zimoch/epics-base:CleanupWhitespace into epics-base:7.0 Marty Kraimer via Core-talk
- References:
- [Merge] ~dirk.zimoch/epics-base:CleanupWhitespace into epics-base:7.0 Dirk Zimoch via Core-talk
- Navigate by Date:
- Prev:
Re: [Merge] ~dirk.zimoch/epics-base:CleanupWhitespace into epics-base:7.0 Dirk Zimoch via Core-talk
- Next:
Re: [Merge] ~dirk.zimoch/epics-base:CleanupWhitespace into epics-base:7.0 Ralph Lange via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: [Merge] ~dirk.zimoch/epics-base:CleanupWhitespace into epics-base:7.0 Dirk Zimoch via Core-talk
- Next:
Re: [Merge] ~dirk.zimoch/epics-base:CleanupWhitespace into epics-base:7.0 Marty Kraimer via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|