DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Join us tomorrow at 1 PM EST: "3-Step Approach to Comprehensive Runtime Application Security"
Save your seat

Smaller Is Faster

I have always thought this principle in terms of computer hardware. Just a while ago, I started to think this principle is also applicable to software development.

Yusuf Aytaş user avatar by
Yusuf Aytaş
·
Oct. 25, 16 · Opinion
Like (3)
Save
Tweet
Share
3.71K Views

Join the DZone community and get the full member experience.

Join For Free

“Smaller is faster” is a hardware design principle as you might already know it. Generally speaking, smaller pieces of hardware will be faster than larger pieces. I have always thought this principle in terms of computer hardware. Just a while ago, I started to think this principle is also applicable to software development. Throughout this post, I’ll try to give some insights and supporting examples for “smaller is faster” in software development.

The amount of data needs to be transferred has been important in software development. Obviously, the smaller data, the faster it’s transferred. Transferring fast is essential when it comes to web page loading. We want pages to load as fast as they can. As a result, we minify our JavaScript files. We also compress almost anything we can to make transfers as fast as possible. Thus, smaller data favors faster transfers.

Understanding a piece of code is an everyday activity for every programmer. It’s hard to focus when the code gets big. We have been trying to overcome code complexity by single responsibility principle and many others. Typically, we are trying to minimize or in other words make the code smaller so that we can understand it faster. A function or method with 100 lines of code would be scary to anyone. Hence, the smaller a piece of code, the faster you can understand it.

The team size can be one of the key factors for a successful software project. As team size grows, human communication complexities become a burden to the project. Adding more programmers to a project can make a project even worse than it was. In my experience, I have always experienced that smaller teams produce faster. I think it isn’t just communication. As the team gets bigger, you also need to deal with politics. In a team of three people, you can’t really have politics. Consequently, the smaller the team size is, the faster you develop.

In contemporary software development, microservices architecture has been widely adopted. Previously, we have been developing monolith applications where a single code base that contains all of an application’s logic. As the project grows bigger, it’s almost impossible to reason about the code base or manage each piece of software. So, decomposing project into smaller parts became the natural solution. Therefore, the smaller service you have, the faster it is to develop, test and deploy it.

All in all, “smaller is faster” is applicable to various aspects of software development. The smaller the software is, the faster it becomes to understand, develop, deploy, and optimize it.

Software

Published at DZone with permission of Yusuf Aytaş, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Java Development Trends 2023
  • A Complete Guide to AngularJS Testing
  • How to Develop a Portrait Retouching Function
  • Why Every Fintech Company Needs DevOps

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: