# Dependency Inversion

A software design principle for loosely coupled modules in which high-level and low-level modules depend on abstractions rather than directly on one another.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Don't Just Create a Flow. Know Where to Create It.

DevFeed: [Don't Just Create a Flow. Know Where to Create It.](<https://devfeed.tech/articles/don-t-just-create-a-flow-know-where-to-create-it-134270.md>)

Original publisher: [Read original article](<https://proandroiddev.com/dont-just-create-a-flow-know-where-to-create-it-8184bd4cb6eb?source=rss----c72404660798---4>)

Author: chanzmao

Published: 2026-11-14T14:18:24Z

Content type: article

Language: en

Sources: [ProAndroidDev](<https://devfeed.tech/sources/proandroiddev-medium.md>)

Topics: [coroutines-flow](<https://devfeed.tech/topics/coroutines-flow.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [callback](<https://devfeed.tech/tags/callback.md>), [database](<https://devfeed.tech/tags/database.md>), [flow](<https://devfeed.tech/tags/flow.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [mobile-app-development](<https://devfeed.tech/tags/mobile-app-development.md>), [repository](<https://devfeed.tech/tags/repository.md>), [room](<https://devfeed.tech/tags/room.md>), [software-architecture](<https://devfeed.tech/tags/software-architecture.md>), [source](<https://devfeed.tech/tags/source.md>), [suspend](<https://devfeed.tech/tags/suspend.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

Use the data source's existing Flow directly for observable Room queries and DataStore values. Bridge callback or listener APIs with `callbackFlow` in the data source, where registration and cleanup via `awaitClose` belong. Keep one-time suspend operations as suspend functions unless a stream is actually needed; collecting a Flow wrapper would rerun the operation on each collection. Repositories can map, combine, or switch among existing streams, while ViewModels derive UI state and use `stateIn()` to expose it as `StateFlow`. The article's guiding division is to convert at the source, transform in the Repository, and derive UI state in the ViewModel; it presents this as a typical approach, not a rule that every operation must use Flow.

### Source excerpt

Understanding the Architectural Timing of Flow Conversion in Kotlin and Android. Image created by AI Kotlin Flow makes it easy to work with asynchronous data streams. We can use it to observe database changes, listen for network updates, combine multiple data sources, and expose reactive data to the UI. But there is a design question that often gets overlooked: Where should we actually convert data into Flow? It's easy to wrap an API in flow {}or callbackFlow and call it a day. But doing so in the wrong layer can make an architecture unnecessarily complicated. We may end up moving callback management into the Repository, wrapping one-time operations in streams, or creating Flow objects that serve no real purpose. A better approach is to introduce Flow close to the source of the data, then let higher layers work with that stream. Let's look at what this means in practice. Start with the Data Source Different data sources expose data in different ways. Some provide callbacks, others return values through suspend functions, and some already support Flow. The first step is to understand how the underlying API delivers data. Database: Use Flow Directly Room already supports observable queries. @Query("SELECT * FROM items") fun observeItems(): Flow<List<ItemEntity>> We don't need to create another Flow around this query. Room already handles change observation and emits updated results when the underlying data changes. The same principle applies to DataStore: val showAds: Flow<Boolean> = dataStore.data.map { preferences -> preferences[SHOW_ADS] ?: true } The data source already provides a stream of changes. We should use it directly rather than introducing another abstraction. Callback APIs: Use callbackFlow Android APIs often rely on callbacks or listeners to report changes. For example, consider a location API that delivers updates through a listener. fun observeLocation(): Flow<Location> = callbackFlow { val listener = LocationListener { location -> trySend(location) }

## Application-Defined Abstractions to Separate Numerical Intent from Computation Orchestration

DevFeed: [Application-Defined Abstractions to Separate Numerical Intent from Computation Orchestration](<https://devfeed.tech/articles/application-defined-abstractions-to-separate-numerical-intent-from-computation-orchestration-127246.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.11100>)

Author: Elena Aschmann, Anshu Dubey, Mohamed Wahib, Jens Domke

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Orchestration](<https://devfeed.tech/topics/orchestration.md>)

Tags: [abstractions](<https://devfeed.tech/tags/abstractions.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [application](<https://devfeed.tech/tags/application.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [code](<https://devfeed.tech/tags/code.md>), [component](<https://devfeed.tech/tags/component.md>), [computing](<https://devfeed.tech/tags/computing.md>), [concrete](<https://devfeed.tech/tags/concrete.md>), [core](<https://devfeed.tech/tags/core.md>), [cs-ms](<https://devfeed.tech/tags/cs-ms.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [data](<https://devfeed.tech/tags/data.md>), [driver](<https://devfeed.tech/tags/driver.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [environment](<https://devfeed.tech/tags/environment.md>), [experiment](<https://devfeed.tech/tags/experiment.md>), [framework](<https://devfeed.tech/tags/framework.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [high-performance](<https://devfeed.tech/tags/high-performance.md>), [high-performance-computing](<https://devfeed.tech/tags/high-performance-computing.md>), [orchestration](<https://devfeed.tech/tags/orchestration.md>), [separate](<https://devfeed.tech/tags/separate.md>)

### AI overview

The paper presents an approach to HPC code portability that keeps numerical intent in an immutable core arithmetic component and uses LLMs to generate surrounding orchestration and application-interface code. Using Spark, a compressible hydrodynamics solver in Flash-X, the authors describe verifying the abstractions before deterministic lowering to concrete code. They report exercising the solver in Flash-X and a separate experimental environment, and conclude this approach can produce correct, performance-portable code. The supplied abstract does not detail benchmarks or platform-specific results.

### Source excerpt

arXiv:2611.11100v1 Announce Type: new Abstract: In High-performance Computing the holy grail has been to translate numerical algorithms expressed in mathematical notation into code that performs well across a range of platforms. A variety of portability frameworks have abstracted data layout, parallelization and orchestration from application's view, however, the resulting format is still code that conforms to the idioms of the framework. Additionally, substantial refactoring is typically needed to achieve performance goals. Increasing sophistication of Large Language Models (LLMs) naturally raises the question whether they can be used to make application codes and/or solvers both portable and performant. The obstacle is the lack of correctness guarantee in LLM produced code. In this paper we pose the question differently -- can we start with expressing numerical intent of the code into an immutable core arithmetic component isolated from the surrounding code such that the surrounding code can be safely generated by the LLMs? We answer this question by using Spark, a mature compressible hydrodynamics solver in Flash-X, a multiphysics software system. We use LLM assistance in devising the abstractions and embedding them in the solver. Once properly verified, the resulting solver is lowered to concrete realization deterministically with tools also built with LLM assistance. The driver of the numerics and the code for interfacing with the application are generated by the LLMs. The resulting solver is exercised within Flash-X and with a separate environment we built for this experiment. Our results show that this is a viable approach for producing correct and performance portable code.

## Composable Parts Architecture

DevFeed: [Composable Parts Architecture](<https://devfeed.tech/articles/composable-parts-architecture-121430.md>)

Original publisher: [Read original article](<https://blog.devops.dev/composable-parts-architecture-b660caf40e8f?source=rss----33f8b2d9a328---4>)

Author: Scaibu

Published: 2026-11-06T09:47:16Z

Content type: article

Language: en

Sources: [DevOps.dev](<https://devfeed.tech/sources/devops-dev.md>)

Topics: [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [architecture-components](<https://devfeed.tech/topics/architecture-components.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>), [adapter pattern](<https://devfeed.tech/topics/adapter-pattern.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Integration testing](<https://devfeed.tech/topics/integration-testing.md>), [event-sourcing](<https://devfeed.tech/topics/event-sourcing.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [rate-limiting](<https://devfeed.tech/topics/rate-limiting.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [clean-architecture](<https://devfeed.tech/tags/clean-architecture.md>), [code](<https://devfeed.tech/tags/code.md>), [components](<https://devfeed.tech/tags/components.md>), [connect](<https://devfeed.tech/tags/connect.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [crash](<https://devfeed.tech/tags/crash.md>), [data](<https://devfeed.tech/tags/data.md>), [data-ownership](<https://devfeed.tech/tags/data-ownership.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [design](<https://devfeed.tech/tags/design.md>), [durability](<https://devfeed.tech/tags/durability.md>), [enterprise-architecture](<https://devfeed.tech/tags/enterprise-architecture.md>), [event](<https://devfeed.tech/tags/event.md>), [event-driven-architecture](<https://devfeed.tech/tags/event-driven-architecture.md>), [execution](<https://devfeed.tech/tags/execution.md>), [features](<https://devfeed.tech/tags/features.md>), [independent](<https://devfeed.tech/tags/independent.md>), [integrate](<https://devfeed.tech/tags/integrate.md>), [internals](<https://devfeed.tech/tags/internals.md>), [logic](<https://devfeed.tech/tags/logic.md>), [messages](<https://devfeed.tech/tags/messages.md>), [parts](<https://devfeed.tech/tags/parts.md>), [software-architecture](<https://devfeed.tech/tags/software-architecture.md>)

### AI overview

The architecture aims to let parts change independently by having them depend on published, versioned contracts rather than one another's internals. Each part owns its data and exposes pure logic through ports and replaceable adapters; manifests let the platform validate and wire parts without hand-edited central registries. Events through a durable log are the default connection, while synchronous requests are reserved for cases needing an immediate answer and constrained to short call chains. An atomic outbox, idempotency keys, deduplication, checkpoints, deadlines, and retries make interruptions and duplicate delivery recoverable; consumers keep read-only data copies and reconcile them against their owner. The same contracts and host protocol support different runtimes, with adapters and test kits handling host-specific integration. The excerpt also describes contract versioning, graph validation, and domain-based deployment packing as ways to manage growth. These are architectural prescriptions; the supplied text does not establish implementation results.

### Source excerpt

How small, independent parts connect, share data, survive disconnects, integrate with any host, and grow to 1000+ features -- where adding or changing something touches one place, not a hundred.Contents The six rules Vocabulary The system at a glance Anatomy of a part Contracts Connecting parts Execution model inside a part Data ownership and sharing Integrating with any system Durability: connections that break safely Changing the system Scaling to 1000+ parts Platform components Enforcement Testing Adding a new part: checklist Anti-patterns Open decisions Introduction Most large systems do not fail because a single component is badly written. They fail because components know too much about each other. One service reads another service's tables "just this once"; a handler calls three other services in sequence because it was quicker than designing an event; a central routing file collects one line from every team until nobody can change it without a merge conflict. Each shortcut is harmless on its own. Together they produce a system in which adding a field means editing a hundred files, an outage in one corner takes down everything, and a dropped network connection corrupts data. This document describes a structure that prevents those outcomes by design rather than by discipline. It rests on two ideas: No part knows another part. Parts know contracts. A part is aware of its own logic and of the published, versioned contracts it uses. It never sees another part's code, storage, or deployment details. Because nothing depends on internals, internals can change freely. Every connection is assumed to break, and breaking must cost nothing. Networks drop, processes crash, and messages arrive twice or out of order. Instead of trying to prevent these failures, the structure makes each one harmless: nothing is lost, nothing happens twice, and nothing waits forever. Everything that follows is an elaboration of those two ideas, together with the tooling that keeps them true as

## App Architecture: Analytics

DevFeed: [App Architecture: Analytics](<https://devfeed.tech/articles/app-architecture-analytics-103675.md>)

Original publisher: [Read original article](<https://proandroiddev.com/app-architecture-analytics-ec3471ca619b?source=rss----c72404660798---4>)

Author: Mkhytar Mkhoian

Published: 2026-10-27T23:25:11Z

Content type: article

Language: en

Sources: [ProAndroidDev](<https://devfeed.tech/sources/proandroiddev-medium.md>)

Topics: [architecture-components](<https://devfeed.tech/topics/architecture-components.md>), [product analytics](<https://devfeed.tech/topics/product-analytics.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [adapter pattern](<https://devfeed.tech/topics/adapter-pattern.md>), [async](<https://devfeed.tech/topics/async.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [app-architecture](<https://devfeed.tech/tags/app-architecture.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>)

### AI overview

The article proposes keeping analytics vendors out of feature code: features emit app-defined events and user properties, while vendor-specific factories map events and trackers call SDKs. A dispatcher forwards calls off the main thread so one vendor's crash does not prevent others from receiving an event. In modular apps, features own their events and factories, DI collects them, and only the app module sees the full graph. The approach aims to avoid a central analytics god object, isolate vendor changes, preserve parameter types, and give ViewModels small interfaces that are easy to test. The author says the open-source Herald library implements this design.

### Source excerpt

Photo by Hunter Harritt on Unsplash It's been a while since the last time I covered app architecture topics. Today I am back with a new one. This time it's analytics and everything around it. The problem We engineers often treat analytics as a secondary piece of software. We spend so much time on the architecture design of the main parts and so little on designing analytics as part of the program that it always leads to a bad cocktail. This cocktail brings a bad smell to the code, some workarounds, and forces us to make exceptions to the architecture rules. In practice, developers spend time thinking about general architecture; no one thinks about analytics at that moment. Then business comes and asks to track this and that. Send a couple of events to a third-party analytics vendor, and devs start thinking about how to do that and integrate analytics. After some time, business asks to add more events for a new vendor. Now you need to not only track it, but also manage vendors and decide which event goes where. In code, it looks like one AnalyticsRepository or AnalyticsManager class that contains all analytics-related stuff, a huge list of methods where each of them calls due to tracking events. A god object class engineers drag across the codebase and make different components and layers depend on it. And here we are, holding a bad cocktail in our hand. The idea So how to stop making this cocktail? I came to a simple idea: the app should not know which analytics vendors exist. Feature code doesn't need to care if an event goes to Firebase, Mixpanel, AppsFlyer or all of them. It should only say what happened, in the app's own words. "Ticket purchased", "Settings screen opened". Where the event goes and in what format each vendor wants it is a different job, and it should live in a different place. Instead of one god object that knows everything, let's split the work into small pieces, and each piece has one job: The Event Event describes what happened, in the app's w

## How I Built & Scaled Testy (Acquired by Rounds.com)

DevFeed: [How I Built & Scaled Testy (Acquired by Rounds.com)](<https://devfeed.tech/articles/how-i-built-scaled-testy-acquired-by-rounds-com-91133.md>)

Original publisher: [Read original article](<https://proandroiddev.com/how-i-built-scaled-testy-acquired-by-rounds-com-61d0aaa97649?source=rss----c72404660798---4>)

Author: Robert Levonyan

Published: 2026-10-20T16:13:11Z

Content type: article

Language: en

Sources: [ProAndroidDev](<https://devfeed.tech/sources/proandroiddev-medium.md>)

Topics: [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [Android](<https://devfeed.tech/topics/android.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [monolithic-architecture](<https://devfeed.tech/topics/monolithic-architecture.md>), [async](<https://devfeed.tech/topics/async.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [apis](<https://devfeed.tech/tags/apis.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [background](<https://devfeed.tech/tags/background.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [clean-architecture](<https://devfeed.tech/tags/clean-architecture.md>), [compose](<https://devfeed.tech/tags/compose.md>), [domain](<https://devfeed.tech/tags/domain.md>), [extend](<https://devfeed.tech/tags/extend.md>), [feature](<https://devfeed.tech/tags/feature.md>), [framework](<https://devfeed.tech/tags/framework.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [modular](<https://devfeed.tech/tags/modular.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [repository](<https://devfeed.tech/tags/repository.md>), [scale](<https://devfeed.tech/tags/scale.md>), [state](<https://devfeed.tech/tags/state.md>)

### AI overview

Testy began as an Android app for speeding up hardware and software checks on imported tablets. As it grew to include diagnostics, sensors, an application manager, and live performance monitoring, the original monolithic design became harder to extend and test. The author refactored it around Clean Architecture: pure Kotlin use cases and repository contracts in the domain, Android system APIs and hardware access in the data layer, and Jetpack Compose screens driven by ViewModels in the presentation layer. Kotlin Flow and immutable StateFlow UI state coordinate updates; lifecycle-aware collection pauses sampling when screens are backgrounded, while coroutines move heavy queries off the UI thread. The article also describes sampling sensor streams, loading and parsing app manifests on demand, and disposing of hardware callbacks with screen lifecycles. The author says the app was later acquired by Rounds.com. The supplied text is an excerpt, so it may not cover the full article.

### Source excerpt

Many years ago, during an internship at a company that imported generic tablets and sold them with a custom version of Android, I noticed a bottleneck. Every tablet needed thorough software and hardware testing before shipping to customers. To streamline the process, I decided to build an application that could run all these checks in one place, much faster. That was the day Testy was born. The architecture and technical decisions behind Testy Every long-lived utility app starts with a simple promise: solve one small problem well, and do it fast. When Testy was first built, it was a lightweight Android tool designed to run quick system checks and diagnostic tests. The initial codebase reflected that simplicity -- a flat structure, straightforward Activity/Fragment patterns, and minimal abstractions. However, as Testy evolved and the feature set expanded -- adding asynchronous hardware queries, deeper system monitoring, background background tasks, and custom device benchmarks -- the initial monolithic design began to show friction. Adding new features risked breaking existing functionality, and writing unit tests for tightly coupled UI and system-level logic became increasingly complex. To ensure long-term maintainability, scale, and testability, I executed a complete refactoring of Testy's architecture, transitioning the entire application to Clean Architecture principles. Key Architectural Layers By decoupling the codebase into distinct layers with strict dependency boundaries, Testy became modular and easy to extend: LayerComponent ResponsibilitiesKey Dependencies & Data FlowUI / Presentation LayerJetpack Compose, ViewModels, UI State ReducersDepends on Domain Layer Use Cases; observes immutable UiState.Domain LayerPure Kotlin Business Logic, Use Cases, Repository ContractsFramework-agnostic; defines abstractions implemented by the Data Layer.Data & Framework LayerAndroid SDK System APIs (SensorManager, etc.), Hardware Managers, RepositoriesImplements Domain interfa

## EM Accelerator Adds a Cardless Seven-Day Free Trial

DevFeed: [EM Accelerator Adds a Cardless Seven-Day Free Trial](<https://devfeed.tech/articles/em-accelerator-for-free-33542.md>)

Original publisher: [Read original article](<https://www.softwareengineeringtimes.com/p/free-trials-with-no-card-needed>)

Author: Ryan Murphy

Published: 2026-08-08T20:22:50Z

Content type: article

Language: en

Sources: [The Software Engineering Times](<https://devfeed.tech/sources/the-software-engineering-times.md>)

Topics: [To-Do](<https://devfeed.tech/topics/todo.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>)

Tags: [conversion](<https://devfeed.tech/tags/conversion.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [free](<https://devfeed.tech/tags/free.md>)

### AI overview

EM Accelerator, a training platform for engineering leaders, offers a seven-day free trial without requiring a payment card. The post says the trial addresses prospective buyers' wish to explore the platform without scheduling a sales call. It also describes refund and coaching guarantees and reports a 100% conversion rate for free trials so far.

### Source excerpt

I just launched cardless free trials on EM Accelerator, the training platform for Engineering Leaders. 7-day free trial, no card necessary. Most of the feedback I got from potential buyers of EM Accelerator was that they wanted to look around EM Accelerator before they committed, but hated the idea of a call for me to show them around personally. They wanted to know whether I was just another person charging hundreds of dollars, and just chucking them a login to a Thinkific/Kajabi/Teachable portal with a couple of hours of pre-recorded videos. (The vast majority of my competitors are exactly this, and I have paid for all of them for research). EM Accelerator is on a custom-built platform, designed exactly and exclusively for its needs. Once you see it, you will realise it's leagues, utter utter leagues ahead of anyone else in the space. Do not get us confused. We are NOT the same. It's my sheer belief that our offering will help you so much more that I can give things like: - Free trials - 14-day no-quibble money-back guarantee - 30-day guarantee where I personally coach you until you are happy NO ONE, I mean NO ONE else offers safety of purchase to that level. We do. It's because we are so confident in what we give you. There is a reason why free trials have a 100% conversion rate so far. Grab your free trial: https://www.emaccelerator.com

## Dependency Injection in Node.js & TypeScript. The Part Nobody Teaches You

DevFeed: [Dependency Injection in Node.js & TypeScript. The Part Nobody Teaches You](<https://devfeed.tech/articles/dependency-injection-in-node-js-typescript-the-part-nobody-teaches-you-18108.md>)

Original publisher: [Read original article](<https://thetshaped.dev/p/dependency-injection-in-nodejs-and-typescript-dependency-inversion-part-no-body-teaches-you>)

Author: Petar Ivanov

Published: 2026-03-29T12:19:37Z

Content type: article

Language: en

Sources: [The T-Shaped Dev](<https://devfeed.tech/sources/the-t-shaped-dev.md>)

Topics: [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [abstractions](<https://devfeed.tech/tags/abstractions.md>), [aws](<https://devfeed.tech/tags/aws.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [code-smell](<https://devfeed.tech/tags/code-smell.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [database](<https://devfeed.tech/tags/database.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [dependency-inversion](<https://devfeed.tech/tags/dependency-inversion.md>), [di](<https://devfeed.tech/tags/di.md>), [drizzle](<https://devfeed.tech/tags/drizzle.md>), [express](<https://devfeed.tech/tags/express.md>), [java](<https://devfeed.tech/tags/java.md>), [logger](<https://devfeed.tech/tags/logger.md>), [mocking](<https://devfeed.tech/tags/mocking.md>), [mocks](<https://devfeed.tech/tags/mocks.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [sendgrid](<https://devfeed.tech/tags/sendgrid.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

The excerpt recommends passing dependencies into Node.js and TypeScript functions or classes instead of importing concrete services directly. This makes dependencies explicit and lets tests supply plain objects, avoiding fragile mocks tied to import paths; it also allows implementations such as Knex or Drizzle to be swapped in one place. The article distinguishes dependency injection, a technique for supplying dependencies externally, from dependency inversion, a principle of depending on abstractions. The supplied text is an excerpt and ends mid-sentence, so it does not establish the full implementation approach.

### Source excerpt

Learn the hidden costs about importing everything directly and the structural change you need to make. (8 min)

## AI Agents (and humans) do better with good abstractions

DevFeed: [AI Agents (and humans) do better with good abstractions](<https://devfeed.tech/articles/ai-agents-and-humans-do-better-with-good-abstractions-81267.md>)

Original publisher: [Read original article](<https://stack.convex.dev/ai-gents-humans-good-abstractions>)

Author: Stack

Published: 2025-06-03T16:21:11Z

Content type: article

Language: en

Sources: [Stack](<https://devfeed.tech/sources/stack.md>)

Topics: [Plover](<https://devfeed.tech/topics/plover.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>)

Tags: [abstractions](<https://devfeed.tech/tags/abstractions.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [code](<https://devfeed.tech/tags/code.md>), [database](<https://devfeed.tech/tags/database.md>)

### AI overview

The article argues that good software abstractions help both developers and AI agents build full-stack applications. It describes Convex's transactional database operations, built-in services, and reusable components, showing how these features support examples such as a chat app and collaborative text editor.

### Source excerpt

Chef by Convex builds real full-stack apps in one prompt--Notion, Slack, and more. It works because Convex's abstractions are simple enough for both humans and AI to use. Built-in features and plug-and-play components let developers skip boilerplate and ship fast.

## Maximizing Shared Code in Kotlin Multiplatform Apps

DevFeed: [Maximizing Shared Code in Kotlin Multiplatform Apps](<https://devfeed.tech/articles/the-art-of-multiplatform-programming-the-secret-to-maximizing-shared-code-34121.md>)

Original publisher: [Read original article](<https://artandscienceofcoding.com/science/kmm-maximizing-shared-code/>)

Author: Derek Lee

Published: 2022-10-01T00:00:00Z

Content type: tutorial

Language: en

Sources: [art and science of coding](<https://devfeed.tech/sources/art-and-science-of-coding.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Maintainability](<https://devfeed.tech/topics/maintainability.md>), [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [dependency-inversion](<https://devfeed.tech/tags/dependency-inversion.md>), [dependency-inversion-principle](<https://devfeed.tech/tags/dependency-inversion-principle.md>), [ios](<https://devfeed.tech/tags/ios.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [programming](<https://devfeed.tech/tags/programming.md>), [science](<https://devfeed.tech/tags/science.md>)

### AI overview

This tutorial explains how to maximize shared code in Kotlin Multiplatform applications for iOS and Android. It recommends isolating platform dependencies behind a platform-independent interface and using Dependency Injection and the Dependency Inversion Principle to improve maintainability and reusability.

### Source excerpt

TL/DR; - Writing your platform-dependent code for iOS or Android requires first understanding the platform API dependencies to help you craft a shared platform-independent interface. - Isolate platform dependencies to the smallest surface area possible to increase maintainability and reusability. - Leveraging Dependency Injection (DI) and the Dependency Inversion Principle (DIP) is key to effective multiplatform programming.

## Dependency Inversion as a Driver to Scale Mobile Development

DevFeed: [Dependency Inversion as a Driver to Scale Mobile Development](<https://devfeed.tech/articles/dependency-inversion-as-a-driver-to-scale-mobile-development-2024.md>)

Original publisher: [Read original article](<https://developers.soundcloud.com/blog//dependency-inversion-as-a-driver-to-scale-mobile-development>)

Published: 2021-02-24T00:00:00Z

Content type: article

Language: en

Sources: [SoundCloud Backstage](<https://devfeed.tech/sources/soundcloud-backstage-blog.md>)

Topics: [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Dependency management](<https://devfeed.tech/topics/dependency-management.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [abstraction](<https://devfeed.tech/tags/abstraction.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [api](<https://devfeed.tech/tags/api.md>), [app](<https://devfeed.tech/tags/app.md>), [applying](<https://devfeed.tech/tags/applying.md>), [approach](<https://devfeed.tech/tags/approach.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [change](<https://devfeed.tech/tags/change.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [dependency-inversion](<https://devfeed.tech/tags/dependency-inversion.md>), [development](<https://devfeed.tech/tags/development.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [ios](<https://devfeed.tech/tags/ios.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [mobile-development](<https://devfeed.tech/tags/mobile-development.md>), [scale](<https://devfeed.tech/tags/scale.md>), [swift](<https://devfeed.tech/tags/swift.md>), [team](<https://devfeed.tech/tags/team.md>)

### AI overview

SoundCloud describes using dependency inversion to manage the coupling introduced by modularizing its iOS codebase. Instead of making a consumer depend on a concrete module, both sides depend on a small contract; in the Swift example, `ProfilePresenter` accepts `ProfileViewing`, allowing a replacement view to conform without changing the presenter. At framework scale, a thin contract framework holds the protocol: `Payment` and `Authentication` depend on `AuthenticationContract`, while the main app injects `Authenticator` into `PaymentManager`. The article says this can reduce coupling and the complexity of framework dependency graphs, which can otherwise contribute to longer compile times and broken syntax highlighting. Contracts add boilerplate and require a separate framework import, so the text recommends DIP as a starting approach while allowing direct dependencies where needed.

### Source excerpt

SoundCloud's iOS codebase faced a radical change a couple of years ago. The team had decided to modularize the codebase into frameworks...

## The case for Weak Dependencies in JS

DevFeed: [The case for Weak Dependencies in JS](<https://devfeed.tech/articles/the-case-for-weak-dependencies-in-js-52127.md>)

Original publisher: [Read original article](<https://lea.verou.me/2020/11/the-case-for-weak-dependencies-in-js/>)

Author: Lea Verou

Published: 2020-11-19T00:00:00Z

Content type: opinion

Language: en

Sources: [Lea Verou's blog](<https://devfeed.tech/sources/lea-verou-s-blog.md>)

Topics: [export](<https://devfeed.tech/topics/export.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [conditionals](<https://devfeed.tech/topics/conditionals.md>)

Tags: [articles](<https://devfeed.tech/tags/articles.md>), [blog](<https://devfeed.tech/tags/blog.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [esm](<https://devfeed.tech/tags/esm.md>), [js](<https://devfeed.tech/tags/js.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>)

### AI overview

Weak dependencies let a JavaScript library use an already-loaded helper to improve its default behavior, while remaining usable without it. The author's example is a selector wrapper that could use Parsel for proper parsing when available and fall back to crude regex handling otherwise. Other examples include optional syntax highlighting, drag-and-drop, date formatting, and richer UI controls. This progressive-enhancement approach can reduce dependency and bundle costs, preserve performance when simpler behavior suffices, and let libraries support multiple tools. The author argues that optional enhancement and explicit parameter injection can coexist: sensible defaults serve common cases, while parameters allow overrides. For ESM, proposed discovery mechanisms include a module cache, registry, preload monitoring, and a weak dynamic import; the excerpt notes URL-based discovery misses the same library served from different URLs, while identifier registries require opt-in and can face clashes.

### Source excerpt

Earlier today, I was briefly entertaining the idea of writing a library to wrap and enhance querySelectorAll in certain ways. I thought I'd rather not introduce a Parsel dependency out of the box, but only use it to parse selectors properly when it's available, and use more crude regex when it's not (which would cover most use cases for what I wanted to do). In the olden days, where every library introduced a global, I could just do: if (window.Parsel) { let ast = Parsel.parse(); // rewrite selector properly, with AST } else { // crude regex replace } However, with ESM, there doesn't seem to be a way to detect whether a module is imported, without actually importing it yourself. I tweeted about this... https://twitter.com/LeaVerou/status/1329389035249422336 I thought this was a common paradigm, and everyone would understand why this was useful. However, I was surprised to find that most people were baffled about my use case. Most of them thought I was either talking about conditional imports, or error recovery after failed imports. I suspect it might be because my primary perspective for writing JS is that of a library author, where I do not control the host environment, whereas for most developers, their primary perspective is that of writing JS for a specific app or website. After Kyle Simpson asked me to elaborate about the use case, I figured a blog post was in order. The use case is essentially progressive enhancement (in fact, I toyed with the idea of titling this blog post "Progressively Enhanced JS"). If library X is loaded already by other code, do a more elaborate thing and cover all the edge cases, otherwise do a more basic thing. It's for dependencies that are not really dependencies, but more like nice-to-haves. We often see modules that do things really well, but use a ton of dependencies and add a lot of weight, even to the simplest of projects, because they need to cater to all the edge cases that we may not care about. We also see modules that are dep

## Speeding Up Builds with Dagger Reflect

DevFeed: [Speeding Up Builds with Dagger Reflect](<https://devfeed.tech/articles/speeding-up-builds-with-dagger-reflect-2019.md>)

Original publisher: [Read original article](<https://developers.soundcloud.com/blog//dagger-reflect>)

Published: 2020-01-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [SoundCloud Backstage](<https://devfeed.tech/sources/soundcloud-backstage-blog.md>)

Topics: [Dagger](<https://devfeed.tech/topics/dagger.md>), [build performance](<https://devfeed.tech/topics/build-performance.md>), [Android](<https://devfeed.tech/topics/android.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [migration](<https://devfeed.tech/topics/migration.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [dagger](<https://devfeed.tech/tags/dagger.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [dependency-inversion](<https://devfeed.tech/tags/dependency-inversion.md>), [developers](<https://devfeed.tech/tags/developers.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [make](<https://devfeed.tech/tags/make.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [performance](<https://devfeed.tech/tags/performance.md>), [productivity](<https://devfeed.tech/tags/productivity.md>)

### AI overview

This article explains how SoundCloud experimented with Dagger Reflect to reduce Android build times caused by Dagger annotation processing. It contrasts Dagger's compile-time code generation with reflection-based dependency injection, describes the build-time and startup-time tradeoff, and explains why Dagger Reflect was chosen over migrating the codebase to a runtime-based framework.

### Source excerpt

A large portion of an Android app's build time can consist of Dagger annotation processing, and most developers agree that productivity is...

## Dependency Injection - All the Must-Know Concepts to start using it

DevFeed: [Dependency Injection - All the Must-Know Concepts to start using it](<https://devfeed.tech/articles/dependency-injection-all-the-must-know-concepts-to-start-using-it-27158.md>)

Original publisher: [Read original article](<https://antonioleiva.com/dependency-injection-principles>)

Published: 2019-06-26T00:00:00Z

Content type: tutorial

Language: en

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Android](<https://devfeed.tech/topics/android.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [article](<https://devfeed.tech/tags/article.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [dependency-inversion](<https://devfeed.tech/tags/dependency-inversion.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>)

### AI overview

A video tutorial introduces the concepts behind dependency injection, including dependencies, the Dependency Inversion Principle, Inversion of Control, dependency provisioning, Service Locator, and Dependency Injection. It also references Koin for dependency injection on Android.

### Source excerpt

Everything Android, Kotlin and other random topics

## Clean architecture for Android with Kotlin: a pragmatic approach for starters

DevFeed: [Clean architecture for Android with Kotlin: a pragmatic approach for starters](<https://devfeed.tech/articles/clean-architecture-for-android-with-kotlin-a-pragmatic-approach-for-starters-27142.md>)

Original publisher: [Read original article](<https://antonioleiva.com/clean-architecture-android>)

Published: 2018-09-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Object-oriented programming (OOP)](<https://devfeed.tech/topics/oop.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [clean-architecture](<https://devfeed.tech/tags/clean-architecture.md>), [decoupling](<https://devfeed.tech/tags/decoupling.md>), [dependency-inversion](<https://devfeed.tech/tags/dependency-inversion.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [oop](<https://devfeed.tech/tags/oop.md>), [programming](<https://devfeed.tech/tags/programming.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

A pragmatic introductory tutorial on clean architecture for Android apps using Kotlin. It focuses on dependency inversion, explains the tradeoff between decoupling and added complexity, and introduces a five-layer application structure.

### Source excerpt

Everything Android, Kotlin and other random topics

## Automocking and the Dependency Inversion Principle

DevFeed: [Automocking and the Dependency Inversion Principle](<https://devfeed.tech/articles/automocking-and-the-dependency-inversion-principle-20775.md>)

Original publisher: [Read original article](<https://conductofcode.io/post/automocking-and-the-dependency-inversion-principle/>)

Author: {"twitter"=\>"hlaueriksson"}

Published: 2017-02-28T20:00:00Z

Content type: article

Language: en

Sources: [Henrik Lau Eriksson](<https://devfeed.tech/sources/henrik-lau-eriksson.md>)

Topics: [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [dependency-inversion-principle](<https://devfeed.tech/tags/dependency-inversion-principle.md>), [solid](<https://devfeed.tech/tags/solid.md>), [testing](<https://devfeed.tech/tags/testing.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>), [xunit](<https://devfeed.tech/tags/xunit.md>)

### AI overview

The article revisits an automocking base class after the earlier approach failed with internal subjects. It presents internal visibility as a way to keep implementation classes private while relying on abstractions, and describes granting the unit test assembly access to internal types through an AssemblyInfo friend-assembly attribute. The tests mimic Machine.Fakes-style automocking: fixtures inherit from a base class, create fakes, and access the subject and its injected dependencies, with methods available to inject real or fake objects. StructureMap is configured to construct internal classes; clients depend on public interfaces and use the IoC container to resolve concrete implementations. The excerpt does not preserve the implementation code or complete test details.

### Source excerpt

I had reason to revisit the automocked base class from a previous blog post. I am working with another code base and have new opportunities for automocking. We have a lot of internal classes. Approximately 30% of the classes are marked as internal. The old approach did not work anymore.

## Dependency injection on Android: Dagger (Part 1)

DevFeed: [Dependency injection on Android: Dagger (Part 1)](<https://devfeed.tech/articles/dependency-injection-on-android-dagger-part-1-27157.md>)

Original publisher: [Read original article](<https://antonioleiva.com/dependency-injection-android-dagger-part-1>)

Published: 2014-06-04T00:00:00Z

Content type: tutorial

Language: en

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [Android](<https://devfeed.tech/topics/android.md>), [Dagger](<https://devfeed.tech/topics/dagger.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [dagger](<https://devfeed.tech/tags/dagger.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [dependency-inversion](<https://devfeed.tech/tags/dependency-inversion.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [testing](<https://devfeed.tech/tags/testing.md>), [unit-testing](<https://devfeed.tech/tags/unit-testing.md>)

### AI overview

This first part of a series introduces dependency injection and dependency inversion for Android projects using Dagger. It explains dependencies as coupling between modules, why hard dependencies hinder isolated unit testing, and how constructor injection passes dependencies into objects instead of creating them internally.

### Source excerpt

Everything Android, Kotlin and other random topics

## Dependency Inversion Principle

DevFeed: [Dependency Inversion Principle](<https://devfeed.tech/articles/dependency-inversion-principle-40667.md>)

Original publisher: [Read original article](<https://radek.io/posts/dependency-inversion-principle/>)

Published: 2011-08-10T00:00:00Z

Content type: article

Language: en

Sources: [Radek Pazdera](<https://devfeed.tech/sources/radek-pazdera.md>)

Topics: [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>), [abstraction](<https://devfeed.tech/topics/abstraction.md>), [interface](<https://devfeed.tech/topics/interface.md>), [object](<https://devfeed.tech/topics/object.md>), [modules](<https://devfeed.tech/topics/modules.md>), [Software](<https://devfeed.tech/topics/software.md>)

Tags: [abstraction](<https://devfeed.tech/tags/abstraction.md>), [dependency-inversion](<https://devfeed.tech/tags/dependency-inversion.md>), [dependency-inversion-principle](<https://devfeed.tech/tags/dependency-inversion-principle.md>), [interface](<https://devfeed.tech/tags/interface.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [object-oriented](<https://devfeed.tech/tags/object-oriented.md>), [software](<https://devfeed.tech/tags/software.md>), [solid](<https://devfeed.tech/tags/solid.md>)

### AI overview

The article explains the Dependency Inversion Principle, the D in SOLID, for object-oriented software design. It argues that high-level and low-level modules should depend on abstractions, while details should depend on those abstractions, improving module reuse and reducing direct coupling.

### Source excerpt

SOLID Object-Oriented Design

## SOLID Object-Oriented Design

DevFeed: [SOLID Object-Oriented Design](<https://devfeed.tech/articles/solid-object-oriented-design-40741.md>)

Original publisher: [Read original article](<https://radek.io/posts/solid-object-oriented-design/>)

Published: 2011-08-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Radek Pazdera](<https://devfeed.tech/sources/radek-pazdera.md>)

Topics: [object](<https://devfeed.tech/topics/object.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Software](<https://devfeed.tech/topics/software.md>), [interface](<https://devfeed.tech/topics/interface.md>), [Dependency Inversion](<https://devfeed.tech/topics/dependency-inversion.md>)

Tags: [dependency-inversion-principle](<https://devfeed.tech/tags/dependency-inversion-principle.md>), [interface](<https://devfeed.tech/tags/interface.md>), [object-oriented](<https://devfeed.tech/tags/object-oriented.md>), [solid](<https://devfeed.tech/tags/solid.md>)

### AI overview

The article introduces SOLID, an acronym for five principles of object-oriented programming and design: single responsibility, open/closed, Liskov substitution, interface segregation, and dependency inversion. It presents them as guidelines intended to support systems that are easier to maintain and extend over time.

### Source excerpt

I build software products and write on the Internet.