Monday, June 25, 2018

Book review: Programming Beyond Practices by Gregory T. Brown

Picture by chimp CC BY 3.0 license

I have recently finished the book "Programming Beyond Practices" by Gregory T. Brown and want to give you a short book review.

Despite the title containing the word "programming" the book does not contain any code at all and this totally fits the intention of the book. In eigth chapters the author shows us things we have to take care of next to writing code. The subtitle "Be more than just a code monkey" emphasizes this even more.

When I received the book I was surprised that it is relatively short. Having round about 120 pages it is one of the shortest books I own. Initially, I thought that the short size would be a disadvantage. Nevertheless, after having finished the book, I think it is an advantage. One can easily read it again and again without having to expect two weeks of reading. Just doing a recap of a certain aspect of the book or of all chapters can be done quickly. Still, the chapters contain all of the information necessary and I never felt that the author missed something or kept a chapter artificially short. The only time I wanted to read more was the second last chapter where I wanted to know how the company described would proceed. But that was just my interest in the well written story.

This leads me to the style of writing. The author chose a good way to share his knowledge: every chapter describes a short story of an imaginary project, software, lecture, etc., which contains some interwoven dialogs. These stories make the book easy to read and make the learnings tangible. The chapters all start with a short, general introduction and finish with a summary. Additionally, the author added some questions and exercises to the chapters to force the reader to think a little bit more about the topic presented. Although I did not really do the exercises, I think they can be of great use if one reads this book with others.

Lastly, the author added three riddles to the book. I could not find the solution to any of them but if anyone managed to solve them, please share the solution with me. Next to that some additional materials can be found on the authors website.

All in all I can recommend the book and suggest you to read it, too. The price might seem a little bit high for the number of pages but regarding the knowledge it contains it is definitely worth it.

And what did I learn? Being someone who loves his job for the technical aspects I will try to concentrate more on the problem-solving aspect in the future. Especially with regards to the people involved in the project/software.

Saturday, May 19, 2018

Gatling-JDBC on Maven Central

Some time ago I wrote a blog post on the codecentric blog about how to extend Gatling. As accompanying code example I created a small library on GitHub: Gatling-JDBC

Finally, after keeping the library untouched for several months, I performed the necessary steps to publish it on Maven Central! This means you can now use de.codecentric.gatling-jdbc version 1.0.0 in your Gatling load tests. I upgraded its dependencies so that is compatible with the latest Gatling version 2.3.1.

Its usage is described in the blog post or you can take a look at the different simulations in the test directory. If you encounter any problems or would like to suggest any improvements feel free to open an issue on GitHub.

Tuesday, May 15, 2018

Improve your test structure with Lambdas and Mockito’s Answer

Refactoring is an important task that should be done from time to time. No matter if you call it technical debt or give it any other way. We sometimes implement features quick and dirty or while implementing we learn better ways how we could achieve our goal.
While refactoring is often applied to business logic or the infrastructure related to it, it seems that doing it for tests is often neglected. Therefore, you want to show you in this blog post on the codecentric blog, how lambdas and Mockito's answer can help your tests.

Tuesday, May 8, 2018

DRY in the 21st century

Due to some discussion arising regarding the DRY principle, especially regarding Microservices and the consideration to either duplicate code or create a library project, I collected my thoughts about this topic. Please find the article in the codecentric blog. If you want to add your thoughts about this topic, feel free to use the comment section there.

Tuesday, May 1, 2018

Gatling Load Testing Part 2 - Extending Gatling

Although the blog post has been published already some time ago, I would like to point out to the second article related to Gatling Load Testing. Again, published here, in the codecentric blog.
You can find the related project on GitHub.


Copyright @ 2013 Wrong tracks of a developer.

Designed by Templateiy