• Home

  • About

  • Portfolio

  • Blog

  • Contact

my blog

posts
The overlooked appreciation of TypeScript

The overlooked appreciation of TypeScript

In the current discussion around TypeScript, we must not forget the crucial role it plays as a common language across distributed teams.

Code reviews: Code review process

Code reviews: Code review process

Describing the process of an effective code review, from selecting the code to review to providing constructive feedback.

Code reviews: The importance of collaborating

Code reviews: The importance of collaborating

Why code reviews are important to find bugs, promote best practices, and ensure consistency in code style?

The art of individual development in a team: How to make every member shine

The art of individual development in a team: How to make every member shine

How can you encourage individual development in a team even if you don't have direct control over project assignments?

Does documentation need to be super detailed?

Does documentation need to be super detailed?

In times of Jira, stake holders and acceptance criteria we tend to be very literal with everything. But is this really helpful and healthy? And if so, to what degree?

HTML order and stacking context

HTML order and stacking context

Not only accessibility gains benefit through placing HTML in the right order. Knowledge about stacking context will save you some headache.

Thoughts about being a senior developer

Thoughts about being a senior developer

We don't need to know everything. Nevertheless I often get trapped in exactly this thought! Some thoughts.

Launching a new personal website

Launching a new personal website

It's not really the need of presenting himself to a broad audience, it's more a personal thing to have one.

Post Details

posts
Thursday, 5 October 2023 Coding, TypeScript, Collaboration

The overlooked appreciation of TypeScript

The overlooked appreciation of TypeScript

It's no secret that front-end development is constantly changing. New technologies come onto the market while others fade into the background. There seems to have been some debate about TypeScript lately, with some saying it's on the decline. As Team Lead Frontend Developer, I would like to take this opportunity to share my opinion on this debate and take a look at the often overlooked aspects.

The current discussion focuses primarily on technical challenges such as compile time and code complexity, which are leading to an exodus of TypeScript from many NPM codebases. These problems are real and certainly deserve attention. But in the heat of this debate, some essential aspects seem to be overlooked, especially when it comes to managing a large codebase with many teams working together in different locations with different native languages and levels of experience.

The Unsung Heroes: Types and Code Clarity

One aspect of TypeScript that is often overlooked is the importance of its typing. In a large codebase, the value of types becomes particularly clear. They not only serve to detect bugs early, but they also act as living documentation of the code. This advantage is particularly beneficial for teams that span different time zones and whose members speak different languages. In a well-typed codebase, the code becomes a universal language that can be more easily understood by developers around the world.

The key to collaboration: Typescript as a means of communication

A large codebase is often the playground of different teams with different levels of experience. This is where TypeScript comes into play by acting as a common interface that facilitates communication between developers. Clear types serve as formal contracts between individual modules, resulting in better understandability and maintainability. Teams can rely on the types to serve as documentation while ensuring that changes in one module do not have unexpected effects on other parts of the application.

Uniformity in diversity: Typescript as an integrative tool

In multinational companies where teams operate in different locations, code consistency is crucial. TypeScript makes it possible to maintain a consistent codebase regardless of whether developers are in Europe, North America or Asia. It creates a shared code culture that transcends geographical and linguistic boundaries.

The learning curve as an investment in quality: typification for developers on the way up

Another common argument against TypeScript is the steeper learning curve, especially for less experienced developers. However, this curve should not be viewed as an obstacle but as an investment. Clearly defining types allows inexperienced developers to catch errors early and promotes a disciplined approach to code. TypeScript type checking serves as a teaching tool that helps internalize fundamental concepts of software development. This not only improves the code quality, but also lays a solid foundation for future development projects. In fact, the initial challenge of typing can be seen as a contribution to the development of high quality developers.

Conclusion: Typescript as the key to global frontend development

The discussion about TypeScript should not be based solely on technical challenges. Instead, we should recognize the fundamental role TypeScript plays in global front-end development. It's more than just an error prevention tool; it is a bridge between different teams, locations and languages. At a time when collaboration and diversity are becoming increasingly important in software development, TypeScript is not on the decline, but rather a crucial player in successful and global front-end development.

Photo by Joshua Rawson-Harris on Unsplash