Start new post

This commit is contained in:
2026-02-02 21:42:40 +01:00
parent 74ee08c214
commit 67b21e329a
4 changed files with 95 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
+++
title = 'Dart Format Stupidity'
date = 2026-02-02T21:19:31+01:00
lastmod = 2026-02-02T21:19:31+01:00
draft = true
author = 'Janis Hutz'
tags = [ 'Development' ]
categories = [ 'Rants' ]
series = []
series_weight = 1
featuredImage = ""
+++
Dart format is *really f\*ing stupid*
Like who thought that having a formatter *so opinionated* that you can't even change the ***indentation style*** is truly baffling.
Prettier, a famously opinionated formatter, allows you to change the indentation style, as that is one of the common choices people make.
I do understand that giving very many options (like Eslint does) can be very overwhelming and may not satisfy the "Dart Style Guide".
But, if you degrade the developer experience so much by forcing a 2 space indent
(which, according to some polls, more developers dislike it than there are developers who either don't care or like it, combined).