Be consistent

Writing sustainable code is a long term commitment. To be effective you must be consistent. Consistency allows: Easier expert chunking Tooling (very very important) Allows us to stop arguing about stuff that doesn't matter! (Even more important) What do I mean by consistency? Well consistency includes: Naming and formatting Parameter ordering Namespace naming Declaration order … Continue reading Be consistent

When to use LinkedList over ArrayList?

Yeah, I know, this is an ancient question, but is so common  among beginning developers that I think it deserves a blog post. The short answer is that almost always an ArrayList is what you want. LinkedList is almost always the wrong choice, performance-wise. There are some very specific algorithms where a LinkedList is called for, but those are … Continue reading When to use LinkedList over ArrayList?