Coffee Notes: features vs quality
Posted by cgrant in Technology on February 22, 2011
Here’s an interesting article on the value of internal quality.
2/21/11 3:08 PM Software mgr? Read this!! @martinfowler: features vs code quality: http://martinfowler.com/bliki/TradableQualityHypothesis.html |
Spike: Unit Testing Static Methods
Posted by cgrant in Agile, Development, Java, Technology on January 28, 2011
Previously we began discussing how great it is to use mocks and stubs. We showed how you can use dependency injection to set a stubbed out service instead of the real one. We also reviewed how you can use mocks to verify methods were acted upon from withing the method under test. However you may come along a scenario where you need to test a method that requires you to call a static method on some other object. Regular mocking won’t suffice. Now it’s time for PowerMock
PowerMock is a nice add on to Mockito (and others) that supercharges what you can do with your tests. Read the rest of this entry »
Coffee Notes: A Better Word for Software Craftsman
Posted by cgrant in Career Development, Coffee Notes, Development, Technology on January 27, 2011
I ran accross this post by Krishna Kumar today discussing how the goal of the Software Craftsman is great but that programmers today don’t care. He notes that many of today’s programmers are in it for the paycheck and not interested in being the best they can be. Kumar discusses how the term Software Craftsman can be perceived as elitist and unapproachable for programmers just in it for the job. I thought this was an interesting point. We want our developers to best the best the can be but are we providing options that are approachable and interesting enough for what they are really focused on.
Krishna continues on noting that organizations need to foster this growth as well. Its one thing thing to have an interested and driven individual, its another to have an organization that fosters and nurtures growth and development rather than simply factory style, assembly line code.
Good read with multiple points. Take time to read the whole thing.
http://java.dzone.com/articles/get-better-word-software
Coffee Notes: Spring & JUnit – What you Don’t Know
Posted by cgrant in Development, Java, Technology on January 26, 2011
Over on Technophile Blog, Gordon Dickens posted a couple notes on Spring and Junit. With examples and comments Gordon review 2 features in Spring. One dealing with Default Context files and the second area is spring aware context files.
Gordon discusses:
1 Default Searching of Context File(s)
1a. No File Specified
1b. File specified (without a starting Slash)
1c. File specified with a Starting Slash
1d. Multiple Files
2. Spring Aware Test Options
2a. Autowiring Beans
2b. Transactional Test Methods
2c. Profiles – Evaluating Environment
2d. Timeout, Repeating & Invalidating Context
Nice features and easy to follow examples. Head over to Technophile Blog for the full story
http://gordondickens.com/wordpress/2011/01/07/junit-spring-what-you-dont-know-about/
Coffe Notes: Eight important books for software developers
Posted by cgrant in Development on January 25, 2011
Here’s a short list of must have books. Personally I have all the Engineering ones but process / psychology ones are new to me. At any rate this is a good list for any programmer.
The list includes:
Engineering
- Design Patterns. Elements of Reusable Object-Oriented Software
- Refactoring. Improving the Design of Existing Code
- The Pragmatic Programmer. From Journeyman to Master
- Effective Java (2nd Edition)
Process and Psychology
- Extreme Programming Installed
- Peopleware: Productive Projects and Teams
- Difficult Conversations. How to discuss what matters most
- The Now Habit: A Strategic Program for Overcoming Procrastination and Enjoying Guilt-Free Play
For direct links and book descriptions head over and read: Eight important books for software developers by Axel Rauschmayer
