To: 'ozDotNet'
Subject: RE: does anyone know a good technique to keep track of your braces in
C#?
Text Editor Options for indenting, new line rules etc.
Brace completion is Productivity Power Tools options.
|-Original Message-
|From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotn
bject: Re: does anyone know a good technique to keep track of your braces in
C#?
Someone else would have to answer that. We're still using VS 2008 where I'm
working. In fact, we still have projects stuck in 2005 and 2003. I've had
that behaviour in Eclipse and it takes some gett
Someone else would have to answer that. We're still using VS 2008 where
I'm working. In fact, we still have projects stuck in 2005 and 2003. I've
had that behaviour in Eclipse and it takes some getting used to. Especially
if you normally add the end brace yourself.
David
"If we can hit that bu
: ozDotNet
|Subject: RE: does anyone know a good technique to keep track of your braces
in
|C#?
|
|Oh okay. That makes sense. And just so I know. Tell me again how to
allow
|Visual Studio 2012 to auto-insert the closing braces and other things in
pairs. It's
|with the Power Tools Extension, right?
boun...@ozdotnet.com] On Behalf Of Katherine Moss
|Sent: Thursday, 14 February 2013 2:30 PM
|To: ozDotNet
|Subject: RE: does anyone know a good technique to keep track of your braces
in
|C#?
|
|I selected C# over VB because in my opinion, C# is a lot more readable than
VB is,
|and every application
tions, for that would certainly
make my life easier.
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On
Behalf Of David Richards
Sent: Wednesday, February 13, 2013 10:42 PM
To: ozDotNet
Subject: Re: does anyone know a good technique to keep track of your braces in
C#?
They don't quite go anywhere you want. They can go in far more places than
are actually necessary but let not worry about that for now. You have a
set for the namespace. You have a set for each method or property in that
namespace. You have a set for any compound statements. You have a set for
a
Ian Griffiths,
> is right?
>
> ** **
>
> *From:* ozdotnet-boun...@ozdotnet.com [mailto:
> ozdotnet-boun...@ozdotnet.com] *On Behalf Of *Heinrich Breedt
> *Sent:* Wednesday, February 13, 2013 9:38 PM
>
> *To:* ozDotNet
> *Subject:* Re: does anyone know a good techniq
-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On
Behalf Of Ian Thomas
Sent: Wednesday, February 13, 2013 10:11 PM
To: 'ozDotNet'
Subject: RE: does anyone know a good technique to keep track of your braces in
C#?
My suggestion would extend on Bill's: write some
alf Of Bill McCarthy
Sent: Thursday, February 14, 2013 8:45 AM
To: 'ozDotNet'
Subject: RE: does anyone know a good technique to keep track of your braces
in C#?
If looking for a programing language that is more suited to a text reader,
then I'd suggest VB, where blocks are more self descriptive, eg: If ...
Then ... Else .. End If.
|From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-
|boun...@ozdotnet.com] On Behalf Of Katherine Moss
|Sent: Thursday, 14 February 2013 1:34 PM
|To: ozDotNet
|Subject: RE: does anyone know a good technique to keep track of your braces
in
|C#?
|
|Please correct me if I am wrong on this. Yo
Do you mean to say that whoever said that (I think it was Ian Griffiths, is
right?
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On
Behalf Of Heinrich Breedt
Sent: Wednesday, February 13, 2013 9:38 PM
To: ozDotNet
Subject: Re: does anyone know a good technique to
On Thu, Feb 14, 2013 at 12:33 PM, Katherine Moss
wrote:
> And I plan to learn F# as well one of these days, though isn’t that more
> of a math language for calculation programs and such like that?
HAHA!! got to remember that next time I talk to the erlang and haskell guys
lol
--
Heinrich Bree
net-boun...@ozdotnet.com] On
Behalf Of David Richards
Sent: Wednesday, February 13, 2013 7:50 PM
To: ozDotNet
Subject: Re: does anyone know a good technique to keep track of your braces in
C#?
I'd also add that braces, parentheses, or anything that comes in pairs, should
be inserted at the
I'd also add that braces, parentheses, or anything that comes in pairs,
should be inserted at the same time. ie, immediately type your opening and
closing braces and then move your insertion point in between them. If
you're putting existing code in new braces, you still try to do this as a
single
f Ben Scott
|Sent: Thursday, 14 February 2013 10:59 AM
|To: ozDotNet
|Subject: Re: does anyone know a good technique to keep track of your braces
in
|C#?
|
|Katherine, from what I understand you are vision-impaired? I can understand
that
|braces would quickly become a problem for you. Maybe you could
Jumping between braces in Visual Studio : CTRL + ]
http://stackoverflow.com/questions/1501921/go-to-matching-brace-in-visual-studio
Also you can use Ctrl + K + D ( C# keybining to get the VS to format it for
you).
Regards
Arjang
On 14 February 2013 07:37, Katherine Moss wrote:
> Hello all,
Hi Katherine,
When I was just beginning with programming in C#, I found it very helpful
to add a code comment to the line with the closing brace to indicate what
it was closing. For example:
public void MyMethod(int number, bool value) {
for (int i = 0; i < number; i++) {
if (value)
Katherine, from what I understand you are vision-impaired? I can understand
that braces would quickly become a problem for you. Maybe you could look
into a language like F# which uses tabs for nesting rather than braces.
There would be a learning curve but that may be worthwhile in the long
term. O
On Thu, Feb 14, 2013 at 10:37 AM, Katherine Moss
wrote:
> Hello all,
> Does anyone know any methods I could use when practicing programming in C#
> (I'm kind of just learning, so it can get annoying sometimes), to keep my
> braces straight? I will be writing something simple, and then before I
>
Sounds like you have too much nesting. If you have more than a couple of
levels maybe try separating it out into new methods. Hard to tell without
seeing the code.
On Thu, Feb 14, 2013 at 10:37 AM, Katherine Moss
wrote:
> Hello all,
> Does anyone know any methods I could use when practicing progr
21 matches
Mail list logo