The Java-SQL question

May 02, 2009 00:42

Here's what I eventually decided on:

private PreparedStatement _actor_mid_statement ( Read more... )

Leave a comment

Comments 7

(The comment has been removed)

samildanach May 2 2009, 08:23:27 UTC
:set ts=4

*grin*

Reply

(The comment has been removed)

samildanach May 2 2009, 10:49:20 UTC
Eh? Tab expansion to spaces is considered good practice? Tell me more.

The variable names are written to match the instructor's (implicit) standard. I'm not a Java guy and don't care either way, but in my own code I prefer the style you outline.

Reply


caladri May 2 2009, 16:21:58 UTC
Seems pretty but hard to write and even harder to edit :/ So it goes, though.

Reply

samildanach May 2 2009, 18:05:17 UTC
Perhaps. It wasn't so so hard to write in Vim, though I bet with some experimentation and automation we could make it easier.

Hard to change... that depends on where you place your emphasis. "Pretty" means that it's easier to understand what it's doing, and thence change it correctly in six months (or six hours) when the program has leaked from active memory.

Reply


Leave a comment

Up