FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Interface definition has never been so important!
How-ToSystems

Interface definition has never been so important!

via Dev.toPaulo Pozeti3h ago

Problem I know you might be looking at this and thinking: interface definition has always been important! And I agree to that, but that's not what I'm seeing on the ground. With the increase of tutorials of prescribed architectures (hexagon, clean...), it's clear to see that the only intent for interfaces now is to create a boundary between layers, instead of a boundary of meaning. A boundary between layers says 'this code lives here.' A boundary of meaning says 'this is what I can do and why.' What I mean by that? Well, lets look at a simple example I found on the web: // https://github.com/jasontaylordev/CleanArchitecture/blob/main/src/Application/Common/Interfaces/IApplicationDbContext.cs public interface IApplicationDbContext { DbSet < TodoList > TodoLists { get ; } DbSet < TodoItem > TodoItems { get ; } Task < int > SaveChangesAsync ( CancellationToken cancellationToken ); } IApplicationDbContext doesn't have a specific job. Its only purpose is to give you a limited number of acti

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles

I Got a $40 Parking Fine, So I’m Building an App That Fixes It
How-To

I Got a $40 Parking Fine, So I’m Building an App That Fixes It

Medium Programming • 3h ago

Here Is What Programming Taught Me About Solving Real-World Problems
How-To

Here Is What Programming Taught Me About Solving Real-World Problems

Medium Programming • 4h ago

How to Add a Custom Tool to Your MCP Server (Step by Step)
How-To

How to Add a Custom Tool to Your MCP Server (Step by Step)

Dev.to Tutorial • 7h ago

I Was Great at Power BI — Until I Realized I Was Useless in Real Projects
How-To

I Was Great at Power BI — Until I Realized I Was Useless in Real Projects

Medium Programming • 7h ago

I Studied What the Top 0.1%
How-To

I Studied What the Top 0.1%

Medium Programming • 15h ago

Discover More Articles