I recently view the Google Tech Talks on Clean Code, and I hae to say htat I'm becoming more and more adverse to dereferencing things that are not either passed into the constructor of the object at hand, or into the mthod being invoked. (I.e. No calls to singletons)
When combined with Scala's excellent implicit parameters and currying, it becomes _very_ easy to deal with without losing testability. Cheers, On Fri, Jun 19, 2009 at 2:43 PM, E Winter <[email protected]> wrote: > > I suppose it is too much of a religious war but I would love more > discussion of code style. You will have to gauge other fans but I > like to hear it hashed out. Pick a coding practice of the week (good > or bad) and riff on it for 5 minutes. I now am an anti-tab > evangelist! Coding standards are a very key thing in development > after reading Clean Code I am even keener on it. > > On Jun 19, 5:51 am, Casper Bang <[email protected]> wrote: > > The thing is, NetBeans (and even Java itself) is no longer just used > > for imperative programming where you can simply agree to conform to a > > 120 character line. Just staying with JEE technologies, we require > > editing files full of Facelet/XML, JavaScript, SQL/JPQL annotation > > etc. It's particular painful not having soft wrapping when dealing > > with embedded DSL's like SQL/JPQL, since Java does not support > > multiline strings making it next to impossible to copy-paste code > > between tools - unless you are OK with one humongous line (one String > > token). > > > > Soft wrapping has been pushed a few times thus far, I think I remember > > Jaroslav Tulac mention how hard it actually would be to do given the > > existing functionality of the editor. Still lets hope we'll get it > > eventually. :) > > > > /Casper > > > > On 19 Jun., 02:49, Augusto <[email protected]> wrote: > > > > > I like this comment from the bug report; > > > > > "This feature is necessary, for simple usability because is impossible > > > read a line code with thousands columns." > > > > > A line of code should never have "thousands of columns". > > > > > On Jun 18, 7:49 pm, TorNorbye <[email protected]> wrote: > > > > > > On Jun 18, 4:26 pm, TorNorbye <[email protected]> wrote: > > > > > > > On Jun 18, 11:18 am, Erlend Hamnaberg <[email protected]> wrote: > > > > > > > > Don't get me started on the deficiency of Netbeans. This feature > is a must > > > > > > and has been in all others IDEs forever. > > > > > > > Maybe it's been in "all other IDEs forever", but I just fired up > > > > > Eclipse 3.4 and I can't find it. I'm sure it's there but I'm too > > > > > stupid to find it. Where is it? > > > > > > (By the way I found Search > Java but I don't think that's the same > > > > feature; I'm looking for something similar to Eclipse's Open Type > > > > dialog where you can instantly see filtered results as you're typing, > > > > where you don't have to tell it whether you're looking for a method > or > > > > field, where you jump to the declaration (the default in that dialog > > > > only shows references, etc.) > > > > > > -- Tor > > > > > > > > Why the hell isn't JAVA a language that needs attention in > Netbeans? > > > > > > Since this is written in Java, why isn't this the main language > supported > > > > > > Java is the LEAST developed language of them all. > > > > > > You reallly need to focus on your main language, which should be > Java. > > > > > > > > I really like Netbeans. But until you get REAL editor support for > JAVA, I > > > > > > can't use it. > > > > > > > Please define "real". > > > > > > > -- Tor > > > -- Viktor Klang Scala Loudmouth --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
