Re: [egit-jgit] excluded patterns are decorated as being untracked

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robin Rosenberg <robin.rosenberg.lists@...>
Cc: Galder Zamarreno <galder.zamarreno@...>, <git@...>, Florian Koeberle <florianskarten@...>, Marek Zawirski <marek.zawirski@...>
Date: Wednesday, June 18, 2008 - 12:39 am

Robin Rosenberg <robin.rosenberg.lists@dewire.com> wrote:

Ignoring the patch for a second, I'm a die-hard 80 column format
person.  You can pry my 80 column wide terminals from me long after
I'm dead.

In Java it may seem like an 80 column limit is a problem, because
the code often gets nested deep and far to the right, such as in
this example here.  I find that just like in C, when code is this
far indented to the right in Java its too damn complex as-is and
should be refactored into smaller methods, and anonymous types
should perhaps be converted to named inner classes or top-level
classes of their own right.

My laptop display panel is only 1440 pixels wide.  By the time I
get my Eclipse workbench open I have about 90 characters wide for
the editor page, given how I place the other views and non-Eclipse
applications around the edges.  Pushing much beyond 80 characters
wide makes it very hard to read code quickly.

And no, I do not want to tote a laptop with a display that is 9000
pixels wide, thanks.

So IMHO, code in jgit+egit should try to target 80 characters wide
as much as possible.  If you can't hit that you need to rethink how
you have the code structured.  I've never refactored something into
smaller more modular methods (to hit the 80 target) and said "gee,
that refactoring made my code harder to understand, what with those
highly descriptive method names and javadoc I gave everything".

OK, now you can call me crazy.
 

-- 
Shawn.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[egit-jgit] excluded patterns are decorated as being untrack..., Galder Zamarreno, (Tue Jun 17, 12:43 pm)
Re: [egit-jgit] excluded patterns are decorated as being unt..., Galder Zamarreno, (Wed Jun 18, 11:40 am)
Re: [egit-jgit] excluded patterns are decorated as being unt..., Shawn O. Pearce, (Wed Jun 18, 12:39 am)