Focus on your sphere of influence – not just your individual productivity. Nicklas Millard · Follow Published in The Better Software Initiative · 2 min read · -- Despite natural talent deficiencies, you canbe a 10x developer – in my opinion, it’s a matter of mindset, changing perspective, and willingness to power through difficulties. And no, no artificial intelligence coding tool or AI assistant is making you anywhere near 10x. If anything, it makes you worse off.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Nicklas Millard
Drop The If-Else If You Want Better Code Quality and Higher Flexibility
If-else and switch cases are no different from hardcoded values. Given the practically universal recognition of the importance of writing flexible, maintainable software, it's natural to ask "Why do developers keep using traditional branching such as if-else statements?" To begin with, if-else is part of any developer's Programming 101 curriculum. Everybody learns it. It's easy to implement (at first) and reads well (until more conditions are added).
Favoring Integration Tests Over Unit Tests to Verify Correctness
It only takes a little extra to inspire confidence in your system. I’ve been writing unit tests since I started coding professionally. There’s a certain “zen” to it. It forces you to think about what it’s like to be another developer that has to use your code. Even if that “other developer” is your future self. Whenever I write a unit test, I not only want to verify correctness, but I also try to assess the class’ ergonomics–the developer experience that the class provides.
Kiedy codzienny stand-up staje się kosztem, a nie wartością
9:30: „Co robiłeś wczoraj? Co robisz dzisiaj? Jakieś blokery?” Proszę, zatrzymaj się na chwilę Codzienny stand-up to w najlepszym przypadku spotkanie statusowe, a w najgorszym okazja dla menedżera do zalegalizowania mikrozarządzania. Rozumiem, dlaczego dogmat 3 pytań stał się tak popularny i naprawdę nie zamierzam obrażać żadnego scrum mastera, który przestrzega tego utartego rytuału. Kiedy jednak ostatnio zastanawiałeś się nad jego sensem i wpływem na pracę Twoją i zespołu?
10 Principles of a Lead Software Developer
I’ve collected a few principles I often use actively in my day-to-day work as a lead software developer. The principles are listed at random and some may even be conflicting, nevertheless, they’re all helpful and easily applied. Do you know how hard it is to produce working, quality software without being an expert in the business that you’re writing code for? You probably do know. Developers often work with businesses and domains they know nothing about.
Engineering for Evolution: Techniques to Future-Proof Your Code
Practical examples Practices for creating adatapble and maintainable software for the long run. There are plenty of different mechanisms and techniques to enable extensibility in your applications. In this article, I'll give you deeper insight into how to think about extensibility, what concerns you need to address, and techniques to analyze and anticipate where change is likely to happen. Throw YAGNI out the window and start building for change.
Effective Leadership in Software Development
Many organizations believe that strong soft skills and an ability to lead people far overshadows technical expertise when managing technical teams. But, let me tell you, you can't effectively lead developers if you aren't a developer yourself. It's as simple as that. One of the most absurd scenarios in corporate environments is witnessing "leaders" or bosses who lack the same technical background as the teams they oversee.
Hey Tom Raaff,
Hey Tom Raaff, Thanks for taking the time to read my article and respond to it. Much appreciated. That's absolutely true! I do think that's a good solution, as long as the team is onboard with its implications. While in-process events do reduce fan-out complexity, the dependencies are now entirely opaque. Not necessarily a bad thing. It's just a trade-off the team has to know about in order to debug effective and efficiently.
How To Make Precise Estimates in Software Development
Some may say that you'll never accurately estimate anything. And, you'll never get any better at estimating. New things always pop up to invalidate your previous estimates, so what good is it? Let me tell you, it's a lie. You can learn how to provide good-enough estimates. Though, it's true that more often than not, estimates are just wild guesses in disguise.
9:30 am: “What did you do yesterday? What are you doing today? Any blockers?”
Brief and opinionated Please, stop right there. Daily Standup is a status meeting at best and a manager’s opportunity to legitimize micro-management at worst. I get why the 3-questions dogma has become so popular and I really don’t intend to upset any scrum master who follows this ancient, daily ritual. But, when did you last take a second to review its impact?
A Primer to Reflective Programming and Metadata-Driven Development (practical examples)
Practical programming advice Let’s investigate how reflection is used for creating extensible applications and frameworks. I recently held a code session at the client project I’m working on. We dove into reflective programming and how it allows us to write extensible code that is easy to modify and turn into shared libraries. I thought the topic made for a great article, that hopefully sparks some interest and inspires someone to consider new avenues.
How Poorly Designed Software Is Facilitated by Using Dependency Injection and Containers
Dependency Injection (DI) and Inversion of control (IoC) often make you do stupid things and let you create poorly designed software. Dependency Container frameworks such as Java's Spring Boot or .NET ServiceCollection lets you get away with lazy designs because, when relied upon, you rarely have to think for yourself.
Specific Files That Increase Collaborative Scalability in .NET Solutions.
By Nicklas Millard Practical programming advice Everyone talks about how to organize files and folders, but how about the files themselves? Let's explore files that help onboard new developers. Image by Nicklas Millard
Stupid Things Software Developers Say at Work
By Nicklas Millard Software development I've likely missed a bunch of the stupid things, but these five are quite pervasive. Image by Nicklas Millard I'm just going to enumerate a bunch of things I sometimes hear or read developers say, that I believe, make them stay mediocre.
Logging is Never an Acceptance Criteria and Yet It's a Requirement
Programming | Software Development Logging is a requirement. Yet, it's rarely - if ever - mentioned in User Stories, acceptance criteria, refinement, planning, or PO/BA discussions. Logging is frequently demoted to an expensive, potentially crippling, afterthought. There's never a bug saying "oh, I expected this log statement but got nothing." Logging is a requirement. Even by law, in many circumstances.
The Repository Pattern Is About Reconstitution, Not (Only) Data Access and Flexibility
Opinionated advice Despite the repository pattern being nearly 20 years old, many modern developers seem to have a hard time wrapping their heads around how it works and what pains it is meant to alleviate. There's a common misconception that the repository pattern is solely concerned with abstracting data access and providing the flexibility to swap underlying data sources.
Testing Software: What is TDD?
All code is guilty until proven innocent 😉😅 “No amount of testing can prove a software right, a single test can prove a software wrong.” — Amir Ghahra Image Source: Ondine Bruch from Twitter There are studies, papers, and discussions about how effective TDD is. Even though it is definitely useful to have some numbers, I don’t think they answer the question of why we should use TDD in the first place. Say that you are a web developer. You have just finished a small feature.
Performance Optimisation for Wildcards Search in Postgres (Trigram Index)
I am working on one of my projects where Postgres happens to be the relational database and has a big table, currently had 10 Million records and can bloat up more. The challenge we have is wildcard search is becoming costly and takes more time to fetch results. I would like to demonstrate with a sample database and data in it.
Creating Highly Configurable Code in Three Simple Steps
REFACTORING MESSY CODE Hard-coded, unconfigurable code is headache-inducing It’s honestly not very difficult to write great, configurable classes. But, it might be if you’ve grown used to doing things in certain ways. From my experience, the best way to turn an existing class into a configurable one is first to move logic into separate classes and then the moving hardcoded part into constructor or method arguments. It’s that easy. Let me show you how.
Refactoring From Trash to SOLID
BETTER SOFTWARE DESIGN Amp up your code quality, the easy way. I’m not going to preach theory. Since you decided to click this cryptic title, I assume you’re already familiar with the SOLID principles abbreviations. Chances are you’ve already looked at a bunch of other articles, tutorials, and videos about SOLID. No shame in having to get more perspectives on the same topic. I’ll show you how easy it is to refactor garbage code, and hopefully, you’ll have a foundation to improve your code quality.
The Most Overlooked Collection Feature in C#
TIPS FOR DEVELOPERS Making your code safer, maintainable, and enjoyable using custom classes with collection initialization I’m sure even non-.NET developers will find the ideas useful. For the uninitiated or anyone starting to pick up C#, collection initialization is one of those need-to-know language features C# has to offer. The greatest thing about C# is how flexible the language is — making it likely the most enjoyable language to work with.
32 Opinionated Advice and Lessons Learned in Software Development
PRACTICAL SOFTWARE DEVELOPMENT ADVICE Useful advice for any developer For the past few years, I’ve been developing software professionally for both small and large clients. Some of the software has been used in very strict environments where safety and reliability were of highest concern. I’ve compiled a list of useful advice based on my experience thru the years. Without further ado, here’s my opinionated list of advice, lessons learned, and best practices. It’s okay to write trash code sometimes.
Five of the Most Damaging Attitudes in Software Development
GROWTH MINDSET IS KEY We’ve all had one of these attitudes at some point in our programming career Let’s get right into it. 1 “I only want to code at work” If you only took up programming to earn a fat check $$, then you’ll have a hard time. Sure, you’ll likely earn some good cash, but I’m certain you’ll burn out quickly. Just skimming over the plethora of new JavaScript libraries exhausts me — even though it has stabilized over the last few years.
Factory Pattern Without Switch, This Is How It Should Be Done
APPLIED DESIGN PATTERNS: Factory My approach to creating easily extensible factory classes without logical statements such as switch and if-else You’ve come to the right place if you’re struggling with the factory pattern or wondering how to create a factory class without switching and if-else statements. From the sheer number of StackOverflow posts regarding this, I can tell you are not alone. I’ll drop my 2 cents on how you can implement the factory pattern without any use of code branching.
Your Controllers Are Doing Too Much — This Is How to Simplify Them
BETTER SOFTWARE DESIGN No business logic or data access allowed. Refactor to very thin controllers for better maintainability and flexibility I’m sure you’ve at least once before accessed a database directly from inside a controller. Perhaps you’ve also snuck some business logic in as well. Chances are you’ve learned this practice from the many tutorials you have watched and all the documentation you’ve skimmed thru. Even Microsoft is guilty of this.
Replacing Logical Statements With Table Driven Methods
PRACTICAL PROGRAMMING ADVICE Let’s build better software with decision tables in place of if-else We can do better — much better — than implementing logical statements. We’ll transform the code on the left, into what you see on the right. But first, a proper introduction to the issue at hand. You typically start writing your usual logical statements when checking a set or series of values to decide what code to execute. It’s fine provided the requirement does not change and is of low complexity.
2 Defensive Coding Techniques You Should Use Today
PRACTICAL PROGRAMMING ADVICE Simple but powerful techniques for safe, maintainable software I’ll keep this one short and sweet. We’ll be going over two very simple and practical defensive techniques you can start applying to your project today. As a professional developer, chances are you’re already applying these techniques, so you might want to sit this one out. However, for anyone who’s yet to reach a professional level, these techniques will improve your quality and make your code safer.
Different Ways to Replace If/Else Statements
DESIGNING BETTER SOFTWARE From beginner to advanced examples Let me just say this right off the bat: If-Else is often a poor choice. It leads to complicated designs, less readable code, and may be pain inducing to refactor. Nevertheless, If-Else has become the de facto solution for code branching — which does make sense. It’s one of the first things any aspiring developer is taught. Unfortunately, lots of developers never advance to more suitable branching strategies.
The Problem With Putting Social Media in Charge of Our Memories
The internet is very good at bringing up things from our past, but what if we don’t want to be reminded? Photo: 3alexd/Getty Images In late November of 2018, Facebook users who logged onto the platform found themselves flooded with old messages reappearing in Messenger as unread. The sudden surge of messages came from a bug that Facebook resolved the same day. But even after the messages vanished, the blip had a lasting effect on some users.
Stop Using If-Else Statements
APPLIED DESIGN PATTERNS: STATE Write clean, maintainable code without if-else. You’ve watched countless tutorials using If-Else statements. You’ve probably also read programming books promoting the use of If-Else as the de facto branching technique. It’s perhaps even your default mode to use If-Else. But, let’s put an end to that right now, by replacing If-Else with the state objects.
Crypto Enthusiasts: Gold and Bitcoin Are the Best Hedges in Case of a Debt Servicing Problem - BTC, ETH, LTC Price Analysis, 22 June 2020
By Bitvalex on The Capital In a semiannual monetary policy report before the US Senate’s banking committee, Chairman of the US Federal Reserve Jerome Powell warned the Congress that the US federal budget has been on an unsustainable path for many years as the national debt has surpassed $26 trillion.
It’s not White Fragility, it’s White Flammability
synonyms for flammable: combustible, incendiary, unstable, ignitable On the morning of November 15, 2015, white Minneapolis police officers Mark Ringgenberg and Jason Schwartze shot to death Jamar Clark, an unarmed Black man they had on the ground. On March 30, 2016, Hennepin County Attorney Mike Freeman, a white man, announced he would not bring charges against the officers.
Don't Use Database Generated IDs
PRACTICAL PROGRAMMING ADVICE Stop letting the database be in charge of your application You’ve probably let databases generate IDs for your application at least once. But, what if I told you it’s a terrible idea when developing applications? Using auto-incremented integer IDs is the worst. Lets unlearn this horrific practice once and for all.
Stop Checking for Nulls
Let’s have a look at an alternative approach This is probably against all advice you’ve read so far — unless you’re familiar with the Null Object pattern. Even if you’ve grasped the concept of NOP, you might still wonder how this is actually done in production ready code. For anyone who’s still wondering what the null object pattern is all about, read the short introduction below. Your application explodes when you try invoking methods or accessing properties of a null reference.
Dynamic command dispatching in C#
Let’s keep this one short and sweet So you’ve heard of the Open/Closed principal of SOLID — and Command Query Separation. But you’re not completely onboard with how to actually do this in practice. Also, you’re aware that it’s considered a violation of OCP if you have to modify an existing class to accommodate new behaviour. The desired action would be to just create a new class that implements the new behaviour or functionality you’d like to add to the application.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Nicklas
Contact Nicklas, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack