# formatting

Formatting is the process of converting an instance of a class or structure, or an enumeration value, to a string representation, including mechanisms provided by .NET.

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

## A Guide to Modern Python String Formatting Tools

DevFeed: [A Guide to Modern Python String Formatting Tools](<https://devfeed.tech/articles/a-guide-to-modern-python-string-formatting-tools-98859.md>)

Original publisher: [Read original article](<https://realpython.com/python-formatted-output/>)

Author: Leodanis Pozo Ramos

Published: 2026-10-24T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [formatting](<https://devfeed.tech/topics/formatting.md>), [Python](<https://devfeed.tech/topics/python.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [align](<https://devfeed.tech/tags/align.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [argument](<https://devfeed.tech/tags/argument.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [base](<https://devfeed.tech/tags/base.md>), [bnf](<https://devfeed.tech/tags/bnf.md>), [boolean](<https://devfeed.tech/tags/boolean.md>), [built-in](<https://devfeed.tech/tags/built-in.md>), [class](<https://devfeed.tech/tags/class.md>), [component](<https://devfeed.tech/tags/component.md>), [f](<https://devfeed.tech/tags/f.md>), [format](<https://devfeed.tech/tags/format.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [modern](<https://devfeed.tech/tags/modern.md>), [python](<https://devfeed.tech/tags/python.md>), [string](<https://devfeed.tech/tags/string.md>), [strings](<https://devfeed.tech/tags/strings.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

The excerpt recommends f-strings for quick string formatting in modern Python: prefix a string with `f` or `F` and put variables or expressions in curly-brace fields. Values are interpolated when the f-string runs, so referenced names must already be defined. The `.format()` method fills fields in a template from positional or named arguments, which the excerpt identifies as useful for older Python versions or legacy code. Its positional fields may be numbered or automatically sequenced, but those numbering styles cannot be mixed; missing fields or arguments can raise errors. Both tools support conversions such as `!s` and `!r` and format specifications for type, width, alignment, fill, sign, precision, and digit grouping. The excerpt also notes that Python 3.12 expanded f-string expression capabilities and that Python 3.14 adds t-strings, which produce objects for custom processing rather than finished formatted strings.

### Source excerpt

Explore Python's modern string formatting tools, and learn to harness f-strings and the .format() method for interpolation and formatting.

## Python String Formatting: Available Tools and Their Features

DevFeed: [Python String Formatting: Available Tools and Their Features](<https://devfeed.tech/articles/python-string-formatting-available-tools-and-their-features-98860.md>)

Original publisher: [Read original article](<https://realpython.com/python-string-formatting/>)

Author: Leodanis Pozo Ramos

Published: 2026-10-24T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [formatting](<https://devfeed.tech/topics/formatting.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [align](<https://devfeed.tech/tags/align.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [conversion](<https://devfeed.tech/tags/conversion.md>), [data-type](<https://devfeed.tech/tags/data-type.md>), [data-types](<https://devfeed.tech/tags/data-types.md>), [f](<https://devfeed.tech/tags/f.md>), [features](<https://devfeed.tech/tags/features.md>), [format](<https://devfeed.tech/tags/format.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [operator](<https://devfeed.tech/tags/operator.md>), [python](<https://devfeed.tech/tags/python.md>), [string](<https://devfeed.tech/tags/string.md>), [strings](<https://devfeed.tech/tags/strings.md>), [tool](<https://devfeed.tech/tags/tool.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

Python offers f-strings, `str.format()`, and the older `%` operator for interpolating and formatting values. F-strings suit readable eager interpolation; `.format()` supports reusable templates filled later and also uses Python's formatting mini-language. That mini-language provides alignment, numeric formatting, type conversion, and dynamic formatting, illustrated with report templates. The `%` operator supports positional or named fields, width, precision, and flags, but lacks the mini-language's broader options and is mainly encountered in legacy code. The tutorial compares these tradeoffs and demonstrates formatting student and sales reports.

### Source excerpt

Learn how Python string formatting works with f-strings, the .format() method, and the modulo operator, plus the strengths of each tool.

## Python's F-String for String Interpolation and Formatting

DevFeed: [Python's F-String for String Interpolation and Formatting](<https://devfeed.tech/articles/python-s-f-string-for-string-interpolation-and-formatting-97821.md>)

Original publisher: [Read original article](<https://realpython.com/python-f-strings/>)

Author: Joanna Jablonski

Published: 2026-10-23T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>)

Tags: [formatting](<https://devfeed.tech/tags/formatting.md>), [python](<https://devfeed.tech/tags/python.md>), [speed](<https://devfeed.tech/tags/speed.md>), [string](<https://devfeed.tech/tags/string.md>)

### AI overview

Python f-strings, introduced in 3.6, interpolate runtime expressions inside `{}` and support the string formatting mini-language, conversion flags, and self-documenting expressions for debugging. The tutorial's timing example finds them faster than `%` and `.format()`, though its results will vary. Python 3.12 permits reused quotes, backslashes, comments, and line breaks in expressions and gives clearer syntax errors. Choose based on the task: `.format()` can make dictionary-based templates cleaner and is presented for localization; logging's `%` arguments preserve lazy interpolation; SQL values should be passed separately to the database execution method to reduce injection risk. The excerpt also describes `flynt` for converting older formatting strings.

### Source excerpt

Python f-strings give you a readable, concise way to interpolate and format strings, and they beat .format() and the % operator on speed.

## Representative Line: Readable Formats

DevFeed: [Representative Line: Readable Formats](<https://devfeed.tech/articles/representative-line-readable-formats-95368.md>)

Original publisher: [Read original article](<https://thedailywtf.com/articles/readable-formats>)

Author: Remy Porter

Published: 2026-10-22T06:30:00Z

Content type: article

Language: en

Sources: [The Daily WTF](<https://devfeed.tech/sources/the-daily-wtf.md>)

Topics: [formatting](<https://devfeed.tech/topics/formatting.md>), [concatenation](<https://devfeed.tech/topics/concatenation.md>), [clean-code](<https://devfeed.tech/topics/clean-code.md>)

Tags: [formats](<https://devfeed.tech/tags/formats.md>), [net](<https://devfeed.tech/tags/net.md>), [nuget](<https://devfeed.tech/tags/nuget.md>), [representative-line](<https://devfeed.tech/tags/representative-line.md>)

### AI overview

The excerpt criticizes mixing a .NET numeric format string with concatenation to make decimal places configurable: repeated `new string('0', 2)` fragments obscure the format. It suggests assigning that fragment once to `decimalPlaces` to make the concatenation clearer. It also notes that .NET has a per-mille format specifier and objects to spelling its Unicode symbol as `\u2030` in code. The source presents this as a readability critique, not a broader comparison of formatting approaches.

### Source excerpt

We all love format strings for generating human readable text. Certainly, they're a better choice than string concatenation. Even if I have a blind spot that keeps me from remembering the printf format tokens, I still prefer to use format strings. Jasmine has a co-worker that does use format strings, but they also miss using string concatenation. So they've found a way to combine them, and avoid the perils of making readable code that describes the format of their text. myField.DataFormatString = "{0:#,##0." + new string('0', 2) + ";(#,##0." + new string('0', 2) + ")}"; Now, in their defense, I can see how this code started its life. At some point, they wanted to make the number of decimal places a parameter. And sure, this is an easy way to do that and retain the intent, though this whole thing could be cleaned up with just a simple decimalPlaces = new string('0', 2), which would make the concatenation less confusing to read. Related, while I was checking the documentation on the .NET formatting strings, I learned that they have a per-mille format specifier which requires writing a unicode sigil on most keyboards. I'm sorry, but seeing string perMilleFmt = "#0.## " + '\u2030'; in my code would be TRWTF. [Advertisement] Picking up NuGet is easy. Getting good at it takes time. Download our guide to learn the best practice of NuGet for the Enterprise.

## Code Style and Quality Guide -- Formatting Guide

DevFeed: [Code Style and Quality Guide -- Formatting Guide](<https://devfeed.tech/articles/code-style-and-quality-guide-formatting-guide-48564.md>)

Original publisher: [Read original article](<https://flink.apache.org/how-to-contribute/code-style-and-quality-formatting/>)

Published: 2026-09-18T15:54:07.612713Z

Content type: tutorial

Language: en

Sources: [Apache Flink](<https://devfeed.tech/sources/apache-flink-stateful-computations-over-data-streams-on-apache-flink.md>)

Topics: [code style](<https://devfeed.tech/topics/code-style.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [Java](<https://devfeed.tech/topics/java.md>), [ide](<https://devfeed.tech/topics/ide.md>), [Scala](<https://devfeed.tech/topics/scala.md>)

Tags: [code-formatting-style](<https://devfeed.tech/tags/code-formatting-style.md>), [code-style](<https://devfeed.tech/tags/code-style.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [guide](<https://devfeed.tech/tags/guide.md>), [ide](<https://devfeed.tech/tags/ide.md>), [java](<https://devfeed.tech/tags/java.md>), [java-language](<https://devfeed.tech/tags/java-language.md>), [quality](<https://devfeed.tech/tags/quality.md>), [readability](<https://devfeed.tech/tags/readability.md>), [scala](<https://devfeed.tech/tags/scala.md>), [spaces](<https://devfeed.tech/tags/spaces.md>)

### AI overview

A formatting guide for Apache Flink contributors covering IDE setup, Spotless and Checkstyle, Apache license headers, import organization, naming conventions, whitespace, and rules for breaking long lines in Java and Scala code.

### Source excerpt

Code Style and Quality Guide -- Formatting Guide # Preamble # Pull Requests & Changes # Common Coding Guide # Java Language Guide # Scala Language Guide # Components Guide # Formatting Guide # Java Code Formatting Style # We recommend to set up the IDE to automatically check the code style. Please follow the IDE Setup Guide to set up spotless and checkstyle . License # Apache license headers.

## Code Style and Quality Guide -- Java

DevFeed: [Code Style and Quality Guide -- Java](<https://devfeed.tech/articles/code-style-and-quality-guide-java-48565.md>)

Original publisher: [Read original article](<https://flink.apache.org/how-to-contribute/code-style-and-quality-java/>)

Published: 2026-09-18T15:54:07.612713Z

Content type: tutorial

Language: en

Sources: [Apache Flink](<https://devfeed.tech/sources/apache-flink-stateful-computations-over-data-streams-on-apache-flink.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [Java](<https://devfeed.tech/topics/java.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [code-style](<https://devfeed.tech/tags/code-style.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [guide](<https://devfeed.tech/tags/guide.md>), [java](<https://devfeed.tech/tags/java.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>), [quality](<https://devfeed.tech/tags/quality.md>), [scala](<https://devfeed.tech/tags/scala.md>), [serialization](<https://devfeed.tech/tags/serialization.md>)

### AI overview

A Java code style and quality guide covering pull requests, common coding practices, formatting, Java and Scala language guidance, generics, equality methods, serialization, and reflection.

### Source excerpt

Code Style and Quality Guide -- Java # Preamble # Pull Requests & Changes # Common Coding Guide # Java Language Guide # Scala Language Guide # Components Guide # Formatting Guide # Java Language Features and Libraries # Preconditions and Log Statements # Never concatenate strings in the parameters Don't: Preconditions.checkState(value <= threshold, "value must be below " + threshold) Don't: LOG.debug("value is " + value) Do: Preconditions.checkState(value <= threshold, "value must be below %s", threshold) Do: LOG.

## Microsoft fixes the fix that broke Excel paste - partly

DevFeed: [Microsoft fixes the fix that broke Excel paste - partly](<https://devfeed.tech/articles/microsoft-fixes-the-fix-that-broke-excel-paste-partly-42800.md>)

Original publisher: [Read original article](<https://www.theregister.com/software/2026/09/18/microsoft-fixes-the-fix-that-broke-excel-paste-partly/5297467>)

Author: Richard Speed

Published: 2026-09-18T13:22:00Z

Content type: news

Language: en

Sources: [theregister](<https://devfeed.tech/sources/www-theregister-com-articles.md>)

Topics: [Microsoft](<https://devfeed.tech/topics/microsoft.md>), [formatting](<https://devfeed.tech/topics/formatting.md>)

Tags: [excel](<https://devfeed.tech/tags/excel.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [patches](<https://devfeed.tech/tags/patches.md>), [software](<https://devfeed.tech/tags/software.md>)

### AI overview

Microsoft issued a hotfix for an Excel paste-related problem, but the fix currently covers only Excel 2016 and may still fail around conditional formatting.

### Source excerpt

Hotfix covers only Excel 2016 and may still come unstuck around conditional formatting

## LibreOffice 26.8 and the languages for which nobody is paid

DevFeed: [LibreOffice 26.8 and the languages for which nobody is paid](<https://devfeed.tech/articles/libreoffice-26-8-and-the-languages-for-which-nobody-is-paid-50246.md>)

Original publisher: [Read original article](<https://blog.documentfoundation.org/blog/2026/09/15/lo-268-and-the-languages/>)

Author: Italo Vignoli

Published: 2026-09-15T07:40:45Z

Content type: release

Language: en

Sources: [TDF Community](<https://devfeed.tech/sources/tdf-community-blog.md>)

Topics: [formatting](<https://devfeed.tech/topics/formatting.md>), [function](<https://devfeed.tech/topics/function.md>)

Tags: [arabic](<https://devfeed.tech/tags/arabic.md>), [developers](<https://devfeed.tech/tags/developers.md>), [features](<https://devfeed.tech/tags/features.md>), [fonts](<https://devfeed.tech/tags/fonts.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [functions](<https://devfeed.tech/tags/functions.md>), [interface](<https://devfeed.tech/tags/interface.md>), [language](<https://devfeed.tech/tags/language.md>), [libreoffice](<https://devfeed.tech/tags/libreoffice.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [unicode](<https://devfeed.tech/tags/unicode.md>)

### AI overview

LibreOffice 26.8 adds improved support for bidirectional and vertical writing, including automatic paragraph direction, better handling of mixed Arabic and Latin text, right-to-left CJK documents, and new N'Ko and Adlam mathematical notation. It also improves font recognition across interface languages.

### Source excerpt

The most significant new features in LibreOffice 26.8 concern writing systems, and it is worth explaining what has been done and, above all, why it has been done, as there is an important decision behind the developers' work. What has been done Writer now automatically detects the paragraph direction when

## Canva announces new Visual Suite features as Presentations crosses 100 mn monthly users

DevFeed: [Canva announces new Visual Suite features as Presentations crosses 100 mn monthly users](<https://devfeed.tech/articles/canva-announces-new-visual-suite-features-as-presentations-crosses-100-mn-monthly-users-56490.md>)

Original publisher: [Read original article](<https://indianexpress.com/article/technology/canva-announces-new-visual-suite-features-as-presentations-crosses-100-mn-monthly-users-10862966/>)

Author: Tech Desk

Published: 2026-09-04T07:54:20Z

Content type: news

Language: en

Sources: [Technology | The Indian Express](<https://devfeed.tech/sources/technology-the-indian-express.md>)

Topics: [Users](<https://devfeed.tech/topics/users.md>), [data](<https://devfeed.tech/topics/data.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [formatting](<https://devfeed.tech/topics/formatting.md>)

Tags: [canva](<https://devfeed.tech/tags/canva.md>), [canva-100-million-monthly-users](<https://devfeed.tech/tags/canva-100-million-monthly-users.md>), [canva-ai](<https://devfeed.tech/tags/canva-ai.md>), [canva-ai-tools](<https://devfeed.tech/tags/canva-ai-tools.md>), [canva-code](<https://devfeed.tech/tags/canva-code.md>), [canva-docs](<https://devfeed.tech/tags/canva-docs.md>), [canva-india](<https://devfeed.tech/tags/canva-india.md>), [canva-latest-update](<https://devfeed.tech/tags/canva-latest-update.md>), [canva-mobile-users](<https://devfeed.tech/tags/canva-mobile-users.md>), [canva-new-features](<https://devfeed.tech/tags/canva-new-features.md>), [canva-new-features-2026](<https://devfeed.tech/tags/canva-new-features-2026.md>), [canva-presentation-maker](<https://devfeed.tech/tags/canva-presentation-maker.md>), [canva-presentations](<https://devfeed.tech/tags/canva-presentations.md>), [canva-presentations-100-million-users](<https://devfeed.tech/tags/canva-presentations-100-million-users.md>), [canva-presentations-features](<https://devfeed.tech/tags/canva-presentations-features.md>), [canva-productivity-suite](<https://devfeed.tech/tags/canva-productivity-suite.md>), [canva-productivity-tools](<https://devfeed.tech/tags/canva-productivity-tools.md>), [canva-sheets](<https://devfeed.tech/tags/canva-sheets.md>), [canva-updates](<https://devfeed.tech/tags/canva-updates.md>), [canva-visual-suite](<https://devfeed.tech/tags/canva-visual-suite.md>), [canva-websites](<https://devfeed.tech/tags/canva-websites.md>), [canva-whiteboards](<https://devfeed.tech/tags/canva-whiteboards.md>), [features](<https://devfeed.tech/tags/features.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [presentations](<https://devfeed.tech/tags/presentations.md>), [product](<https://devfeed.tech/tags/product.md>), [productivity](<https://devfeed.tech/tags/productivity.md>), [technology](<https://devfeed.tech/tags/technology.md>), [upgrades](<https://devfeed.tech/tags/upgrades.md>), [visual-suite](<https://devfeed.tech/tags/visual-suite.md>)

### AI overview

Canva announced updates across its Visual Suite and reported that Canva Presentations has more than 100 million monthly users. The company also said that 3,000 presentations are created each minute and that more than one billion designs are created monthly.

### Source excerpt

Along with announcing an array of upgrades to its Visual Suite, Canva has, for the first time, shared data about its reach. The company claims that Canva Presentations, with over 100 million monthly users, is one of the top three tools used to create presentations.

## CodeSOD: The Big Family

DevFeed: [CodeSOD: The Big Family](<https://devfeed.tech/articles/codesod-the-big-family-28514.md>)

Original publisher: [Read original article](<https://thedailywtf.com/articles/the-big-family>)

Author: Remy Porter

Published: 2026-08-27T06:30:00Z

Content type: opinion

Language: en

Sources: [The Daily WTF](<https://devfeed.tech/sources/the-daily-wtf.md>)

Topics: [PHP](<https://devfeed.tech/topics/php.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Code](<https://devfeed.tech/topics/code.md>), [data](<https://devfeed.tech/topics/data.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Localization (l10n)](<https://devfeed.tech/topics/localization.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>)

Tags: [array](<https://devfeed.tech/tags/array.md>), [code](<https://devfeed.tech/tags/code.md>), [codesod](<https://devfeed.tech/tags/codesod.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [html](<https://devfeed.tech/tags/html.md>), [humor](<https://devfeed.tech/tags/humor.md>), [php](<https://devfeed.tech/tags/php.md>), [programming](<https://devfeed.tech/tags/programming.md>), [sql](<https://devfeed.tech/tags/sql.md>)

### AI overview

This commentary examines a large, generalized PHP code sample that builds hierarchical output from a presumed database source. It highlights probable SQL injection risk, unused array keys, dynamic localization fields, extensive number formatting and HTML string manipulation, string-based date-time parsing, and repeated code for child and sibling records.

### Source excerpt

Some time ago, Charles shared with us some awful PHP, aka the most common sort. Today's code sample is maybe a little too big to sum up, but I'll let Charles take a crack at it. It's so bad that even analyzing and laughing at it feels impossible. But it's so bad, I couldn't not share it. I'm the only one handling all the IT-related tasks at my company, and I don't have anyone here to vent or laugh about this kind of thing with. So, I figured, why not share it here? I'm hoping it'll provide at least a little bit of catharsis or some dark humor. To make sure the confidentiality of the codebase was respected, I took the liberty of generalizing it. You might notice some inconsistencies, but that's just me trying to keep things neutral while protecting the original structure and functionality. Apologies if it looks a bit patchy - the goal was to avoid revealing any specific details or sensitive code. The whole block is north of 400 lines, and it's doing a lot. Or well, maybe it's not, as you'll see. Let's star with the outermost layer. $resm_data = $data_source->fetchData("group=" . $item_id); foreach ($resm_data as $key => $value) { // rest of the code here } We fetch data from a data source, presumably a database, passing our condition as a string, which reeks of probable SQL injection, but I don't know what library they're using. I also note they're using the key/value style of array iteration, but never actually check the key. $option_id = $value->option_id; $resm_details = $detail_source->fetch($option_id); if ($resm_details) { $label = $resm_details->{"label$lang"}; $description = $resm_details->{"description$lang"}; $category = $resm_details->category; Nice little bit of "meta" programming to get their localization working, it'll fetch labelen or labelde as needed. Definitely not a horrible, dangerous way to solve that problem. We use that again to get our currency figured out. That lets us do number formatting. So much number formatting code. if ($category == 0)

## MSSQL Extension for VS Code: SQL Formatter, Azure SQL Database Provisioning, and More

DevFeed: [MSSQL Extension for VS Code: SQL Formatter, Azure SQL Database Provisioning, and More](<https://devfeed.tech/articles/mssql-extension-for-vs-code-sql-formatter-azure-sql-database-provisioning-and-more-50579.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/azure-sql/vscode-mssql-august2026/>)

Author: Yo-Lei Chen

Published: 2026-08-19T17:18:32Z

Content type: release

Language: en

Sources: [Azure SQL Dev Corner](<https://devfeed.tech/sources/azure-sql-dev-corner.md>)

Topics: [Azure SQL](<https://devfeed.tech/topics/azure-sql.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [Extension](<https://devfeed.tech/topics/extension.md>), [Provisioning](<https://devfeed.tech/topics/provisioning.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>)

Tags: [azure-sql](<https://devfeed.tech/tags/azure-sql.md>), [code-comments](<https://devfeed.tech/tags/code-comments.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [extension](<https://devfeed.tech/tags/extension.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [general-availability](<https://devfeed.tech/tags/general-availability.md>), [keyboard-shortcuts](<https://devfeed.tech/tags/keyboard-shortcuts.md>), [library](<https://devfeed.tech/tags/library.md>), [net](<https://devfeed.tech/tags/net.md>), [preview](<https://devfeed.tech/tags/preview.md>), [provisioning](<https://devfeed.tech/tags/provisioning.md>), [sql](<https://devfeed.tech/tags/sql.md>), [vs-code](<https://devfeed.tech/tags/vs-code.md>)

### AI overview

The MSSQL extension for Visual Studio Code v1.45 introduces a SQL Formatter in public preview and makes Azure SQL Database Provisioning and Shortcuts Configuration generally available. The release supports customizable T-SQL formatting, free-tier Azure SQL database creation with deployment scripts and post-deployment actions, and configurable shortcuts for queries and commands.

### Source excerpt

Writing and maintaining SQL is easier when you can eliminate repetitive steps and keep your scripts cleanly formatted. With the MSSQL extension for VS Code v1.45, we're introducing the Public Preview of the SQL Formatter alongside the General Availability of Azure SQL Database Provisioning and Shortcuts Configuration. You can now apply consistent T-SQL formatting across [...] The post MSSQL Extension for VS Code: SQL Formatter, Azure SQL Database Provisioning, and More appeared first on Azure SQL Dev Corner.

## Introducing sqlfmt: an SQL gofmt-style formatter

DevFeed: [Introducing sqlfmt: an SQL gofmt-style formatter](<https://devfeed.tech/articles/introducing-sqlfmt-an-sql-gofmt-style-formatter-34619.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2026/08/introducing-sqlfmt-an-sql-gofmt-style-formatter/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2026-08-11T12:30:37Z

Content type: release

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>)

Tags: [formatting](<https://devfeed.tech/tags/formatting.md>), [go](<https://devfeed.tech/tags/go.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [sql](<https://devfeed.tech/tags/sql.md>), [tooling](<https://devfeed.tech/tags/tooling.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>)

### AI overview

The article introduces sqlfmt, a gofmt-style SQL formatter based on the author's SQL indentation conventions from The Art of PostgreSQL. It uses a single opinionated style with no configuration options, including river alignment and specific rules for keywords, commas, continuation lines, data types, and comments. The formatter is available through a CLI and a WebAssembly-based web tool.

### Source excerpt

Formatting SQL tends to bring some of the same questions again and again: should we uppercase clause keywords? should we put the separating comma at the start of a line to ease refactoring? how to align the SQL clauses with one-another? Over the years I have grown my own SQL style and didn't find tooling that would implement it. Also, I've been asked here and there if there is a tool that would replicate The Art of PostgreSQL SQL indentation style... and now there is finally a good answer to that question! sqlfmt is a gofmt-style formatter that implements my own favorite SQL indentation style. One opinionated style, no configuration knobs. Run it, commit the result, move on.

## DeveloperHub Introduces a New Editor for More Reliable Documentation Authoring

DevFeed: [DeveloperHub Introduces a New Editor for More Reliable Documentation Authoring](<https://devfeed.tech/articles/a-new-way-to-write-docs-30958.md>)

Original publisher: [Read original article](<https://developerhub.io/blog/our-all-new-editor-experience/>)

Author: Zaid Daba'een

Published: 2026-06-30T09:47:09Z

Content type: release

Language: en

Sources: [DeveloperHub.io](<https://devfeed.tech/sources/developerhub-io.md>)

Topics: [Documentation](<https://devfeed.tech/topics/documentation.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [render](<https://devfeed.tech/topics/render.md>)

Tags: [commands](<https://devfeed.tech/tags/commands.md>), [docs](<https://devfeed.tech/tags/docs.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [editor](<https://devfeed.tech/tags/editor.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [features](<https://devfeed.tech/tags/features.md>), [google](<https://devfeed.tech/tags/google.md>), [image](<https://devfeed.tech/tags/image.md>), [inside](<https://devfeed.tech/tags/inside.md>), [model](<https://devfeed.tech/tags/model.md>)

### AI overview

DeveloperHub has rebuilt its editor around a single document model. The new editor is designed to preserve saved formatting, improve undo and redo, handle pasted content more faithfully, and provide tools such as slash commands, link controls, an image library, variable and glossary pickers, blocks within lists, and keyboard-focused editing.

### Source excerpt

We rebuilt the DeveloperHub editor from the ground up. Here is what is new, and why it makes writing and maintaining your documentation noticeably better.

## Introducing Kempt

DevFeed: [Introducing Kempt](<https://devfeed.tech/articles/introducing-kempt-39037.md>)

Original publisher: [Read original article](<https://www.zacsweers.dev/introducing-kempt/>)

Author: Zac Sweers

Published: 2026-06-23T00:00:23Z

Content type: release

Language: en

Sources: [Zac Sweers](<https://devfeed.tech/sources/zac-sweers.md>)

Topics: [formatting](<https://devfeed.tech/topics/formatting.md>), [pre-commit](<https://devfeed.tech/topics/pre-commit.md>), [hooks](<https://devfeed.tech/topics/hooks.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [Repository](<https://devfeed.tech/topics/repository.md>), [Java](<https://devfeed.tech/topics/java.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [ci](<https://devfeed.tech/tags/ci.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [pre-commit](<https://devfeed.tech/tags/pre-commit.md>), [repo](<https://devfeed.tech/tags/repo.md>), [rust](<https://devfeed.tech/tags/rust.md>)

### AI overview

The article introduces Kempt, a small project designed to replace heavy Gradle-based formatting setups with a repo-local pipeline for formatting and commit hooks. It supports Kotlin, Java, and Rust, and can run locally, in pre-commit hooks, and in CI.

### Source excerpt

Formatting should be boring, in the best possible way.

## Monotonic Indentation

DevFeed: [Monotonic Indentation](<https://devfeed.tech/articles/monotonic-indentation-35605.md>)

Original publisher: [Read original article](<https://www.yegor256.com/2026/05/24/monotonic-indentation.html>)

Author: Yegor Bugayenko (yegor256@gmail.com)

Published: 2026-05-23T21:00:00Z

Content type: opinion

Language: en

Sources: [Yegor Bugayenko](<https://devfeed.tech/sources/yegor-bugayenko.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [code-formatting-style](<https://devfeed.tech/tags/code-formatting-style.md>), [code-indentation-rule](<https://devfeed.tech/tags/code-indentation-rule.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [indentation-in-java](<https://devfeed.tech/tags/indentation-in-java.md>), [monotonic-indentation](<https://devfeed.tech/tags/monotonic-indentation.md>), [off-side-rule](<https://devfeed.tech/tags/off-side-rule.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [python](<https://devfeed.tech/tags/python.md>), [style](<https://devfeed.tech/tags/style.md>)

### AI overview

The article proposes monotonic indentation as a source-code formatting rule: indentation may increase by exactly one unit between adjacent lines but may decrease by any number of units. It presents the rule as an optional check for existing style checkers or as a standalone tool, and compares it with Python's off-side rule.

### Source excerpt

Between two adjacent lines, indentation may grow by one unit only, but may shrink by any number of units -- a rule that resolves most code formatting disputes.

## This week in Nushell #349

DevFeed: [This week in Nushell #349](<https://devfeed.tech/articles/this-week-in-nushell-349-51192.md>)

Original publisher: [Read original article](<https://www.nushell.sh/blog/2026-05-01-twin0349.html>)

Published: 2026-05-01T00:00:00Z

Content type: release

Language: en

Sources: [Nushell](<https://devfeed.tech/sources/nushell.md>)

Topics: [formatting](<https://devfeed.tech/topics/formatting.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [added](<https://devfeed.tech/tags/added.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [command](<https://devfeed.tech/tags/command.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [dry](<https://devfeed.tech/tags/dry.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [friday](<https://devfeed.tech/tags/friday.md>), [nushell](<https://devfeed.tech/tags/nushell.md>), [published](<https://devfeed.tech/tags/published.md>), [spacing](<https://devfeed.tech/tags/spacing.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

This weekly Nushell update lists merged pull requests from April 24 through April 30, 2026. The changes include preserving parentheses in if-call expressions, improving documentation and organization, expanding formatting options, adding tests, supporting alias command formatting, and preserving comment spacing.

### Source excerpt

This Week in Nushell #349 Published Friday, 2026-05-01, including PRs merged Friday, 2026-04-24 through Thursday, 2026-04-30. Nushell @ayax79: removed claude settings and ign...

## Multi-window support and a better compose experience

DevFeed: [Multi-window support and a better compose experience](<https://devfeed.tech/articles/multi-window-support-and-a-better-compose-experience-51571.md>)

Original publisher: [Read original article](<https://www.fastmail.com/blog/multi-window-support/>)

Author: Neil Jenkins

Published: 2026-03-05T00:00:01Z

Content type: release

Language: en

Sources: [Fastmail Blog](<https://devfeed.tech/sources/fastmail-blog.md>)

Topics: [email](<https://devfeed.tech/topics/email.md>), [interface](<https://devfeed.tech/topics/interface.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [screen](<https://devfeed.tech/topics/screen.md>), [Toolbar](<https://devfeed.tech/topics/toolbar.md>), [formatting](<https://devfeed.tech/topics/formatting.md>)

Tags: [desktop](<https://devfeed.tech/tags/desktop.md>), [drag-and-drop](<https://devfeed.tech/tags/drag-and-drop.md>), [email](<https://devfeed.tech/tags/email.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [interface](<https://devfeed.tech/tags/interface.md>), [productivity-tips](<https://devfeed.tech/tags/productivity-tips.md>), [screen](<https://devfeed.tech/tags/screen.md>), [toolbar](<https://devfeed.tech/tags/toolbar.md>), [update](<https://devfeed.tech/tags/update.md>), [window](<https://devfeed.tech/tags/window.md>)

### AI overview

Fastmail released an interface update focused on multitasking and composing email. It adds multi-window compose and conversation views, inline replies, a unified compose experience across mobile and desktop, flexible reply modes, toolbar controls, and drag-and-drop recipient management.

### Source excerpt

Today we're releasing a major update to the Fastmail interface, with improvements focused on making mulitasking and compose better. Here's what's new. Multi-window support Sometimes you need to reference one email while replying to another, or draft several messages at once. Fastmail now supports opening compose and conversation views in separate windows. Hold Shift when clicking reply, forward, or any compose action to open it in a new window. You can also use Shift+R to reply in a new window, or Shift+A to reply all. Or pop out a whole conversation into its own window by shift-clicking in the message list, or using the button next to the subject in the top right if it's already open. Your undo send timer works across windows too -- if you send from a pop-out window, the undo notification appears in your main window so you're still in control. Inline replies Replying to a message in a conversation now keeps you right where you are. Instead of switching to a separate compose screen, your reply appears inline within the thread, so you can see the full conversation while you write. It's the most natural way to reply -- you stay in context, and your draft lives alongside the messages you're responding to. If you'd rather compose in a focused view like before, you can expand your reply to full screen at any time. We'll remember your preference. A cleaner compose We've unified the look of our compose view across mobile and desktop, giving you a cleaner, more consistent interface wherever you're writing. A few highlights: Switch between Reply and Reply All mid-compose without losing your work. A new button in the compose header lets you change your reply mode on the fly, and Fastmail will intelligently recalculate the recipients for you. Hide the formatting toolbar if you prefer a distraction-free writing area. A toggle in the toolbar lets you show or hide formatting options with a single click, and your preference is remembered. Drag and drop recipients between To, Cc, and

## Why Python Still Uses an 80-Character Line Limit

DevFeed: [Why Python Still Uses an 80-Character Line Limit](<https://devfeed.tech/articles/80-characters-in-this-economy-53151.md>)

Original publisher: [Read original article](<https://www.bitecode.dev/p/80-characters-in-this-economy>)

Author: Bite Code!

Published: 2025-11-17T07:51:30Z

Content type: article

Language: en

Sources: [Bite code!](<https://devfeed.tech/sources/bite-code.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [standard](<https://devfeed.tech/tags/standard.md>)

### AI overview

The article argues that Python's recommended 79-character maximum line length remains useful despite modern screens and configurable formatters. It cites readability, side-by-side tools, portability across media, community consistency, and programming practices as benefits.

### Source excerpt

These things don't grow on binary trees you know!

## Swift Default Value in String Interpolations

DevFeed: [Swift Default Value in String Interpolations](<https://devfeed.tech/articles/swift-default-value-in-string-interpolations-21087.md>)

Original publisher: [Read original article](<https://useyourloaf.com/blog/swift-default-value-in-string-interpolations/>)

Author: Keith Harrison

Published: 2025-09-07T08:51:46Z

Content type: article

Language: en

Sources: [K. Harrison](<https://devfeed.tech/sources/k-harrison.md>)

Topics: [Swift](<https://devfeed.tech/topics/swift.md>), [SwiftUI](<https://devfeed.tech/topics/swiftui.md>), [formatting](<https://devfeed.tech/topics/formatting.md>)

Tags: [auto-layout](<https://devfeed.tech/tags/auto-layout.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [ios](<https://devfeed.tech/tags/ios.md>), [localization](<https://devfeed.tech/tags/localization.md>), [objective-c](<https://devfeed.tech/tags/objective-c.md>), [optional](<https://devfeed.tech/tags/optional.md>), [string](<https://devfeed.tech/tags/string.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swift-6-2](<https://devfeed.tech/tags/swift-6-2.md>), [swiftui](<https://devfeed.tech/tags/swiftui.md>), [wwdc](<https://devfeed.tech/tags/wwdc.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

### AI overview

Swift 6.2 adds a `default` parameter to string interpolation, letting you supply a string when an optional value is `nil` regardless of the optional's underlying type. This avoids forcing a type-matched fallback such as `0` for an optional `Int`, and avoids explicitly describing the optional, which would display `nil`. The source reports that this parameter does not work with `LocalizedStringKey`, so the approach is limited for localized strings.

### Source excerpt

Swift 6.2 makes it easier to interpolate strings with optional values. What's The Problem? In this SwiftUI view I need to create a text string from an optional integer value: struct CounterView: View { let count: Int? var body: some View { Text("The count is \(count)") } } The compiler warns about the optional value: String interpolation produces a debug description for an optional value; did you mean to make this explicit? The compiler suggests either providing a default value or to use String(describing:) to silence the warning. Using the nil-coalescing operator to provide a default value removes the warning but is not ideal. The default value has to match the type of the optional value. That can work when dealing with an optional string. In this example I have an optional Int and there may not be a sensible default value for the nil case. For example, I could use zero: // The count is 0 Text("The count is \(count ?? 0)") The alternative of using the String(describing:) approach is both clumsy and ends up showing the nil value: // The count is nil Text("The count is \(String(describing: count))") What I want is a way to provide a default string regardless of the type of the optional value. Default Value Parameter In Swift 6.2, String interpolation has a new default value parameter that accepts a string regardless of the type of the optional value: // The count is not set Text("The count is \(count, default: "not set")") That's an improvement over outputting nil. Localization One issue is that I've been unable to get this to work with localization. The problem seems to be that LocalizedStringKey doesn't support the default value parameter. So this doesn't work: // Not Supported let key = LocalizedStringKey("The count is: \(count, default: "not set")") Learn More SE-0477 Default Value in String Interpolations Swift Default Value in String Interpolations was originally posted 07 Sep 2025 on useyourloaf.com. Want this direct to your inbox? Sign up and get my free WWDC

## Make regular expressions easier to read

DevFeed: [Make regular expressions easier to read](<https://devfeed.tech/articles/make-regular-expressions-easier-to-read-37309.md>)

Original publisher: [Read original article](<https://muffinman.io/blog/make-regular-expressions-easier-to-read/>)

Author: Stanko

Published: 2025-03-31T00:00:00Z

Content type: tutorial

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [Maintainability](<https://devfeed.tech/topics/maintainability.md>)

Tags: [example](<https://devfeed.tech/tags/example.md>), [extra](<https://devfeed.tech/tags/extra.md>), [join](<https://devfeed.tech/tags/join.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [readability](<https://devfeed.tech/tags/readability.md>), [regular-expressions](<https://devfeed.tech/tags/regular-expressions.md>), [value](<https://devfeed.tech/tags/value.md>)

### AI overview

The article presents a formatting technique for making complex regular expressions easier to read: split the expression into multiple string components, join them, and construct the final regex. The approach adds code and requires escaping backslashes, but enables scanning and comments that can improve readability and maintainability.

### Source excerpt

This is a simple formatting trick I use to make regular expressions more readable. The secret? Break them into multiple lines. To achieve this, format the regex as an array of strings and then concatenate the array into a single regex string. Example # Compare this example, written in a single line: const FILTER_REGEXP = /(?<name>blur|brightness|contrast|grayscale|hue-rotate|invert|opacity|saturate|sepia)\((?<value>-?\d*(?:\.\d*)?)(?<unit>\w*?)\)/g; with the multi-line version: const SUPPORTED_FILTERS = [ 'blur', 'brightness', 'contrast', 'grayscale', 'hue-rotate', 'invert', 'opacity', 'saturate', 'sepia', ].join('|'); const FILTER_REGEXP = new RegExp( [ `(?<name>${SUPPORTED_FILTERS})`, // filter name `\\(`, `(?<value>\-?\\d*(?:\\.\\d*)?)`, // value `(?<unit>\\w*?)`, // unit if any `\\)`, ].join(''), 'g' ); The multi-line version has a bit more code, but it's easier to scan and read. It also allows us to write comments for each section, clarifying the purpose of each part of the regex. I've found that complex expressions are much easier to write this way. I believe it greatly reduces the cognitive load for both the writer and the reader. Caveats # You'll need to escape the backslashes in regex strings. While this is a minor inconvenience, the readability benefits easily outweigh it. Conclusion # It boils down to personal preference, but I believe the extra code is worth it, as it improves readability and maintainability. This is especially true when dealing with notoriously difficult-to-parse complex regular expressions.

## 8 More C++23 Examples

DevFeed: [8 More C++23 Examples](<https://devfeed.tech/articles/8-more-c-23-examples-53305.md>)

Original publisher: [Read original article](<https://www.cppstories.com/2024/cpp23_more_examples/>)

Published: 2024-12-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [C++ Stories](<https://devfeed.tech/sources/c-stories.md>)

Topics: [formatting](<https://devfeed.tech/topics/formatting.md>), [function](<https://devfeed.tech/topics/function.md>), [input](<https://devfeed.tech/topics/input.md>), [file](<https://devfeed.tech/topics/file.md>)

Tags: [examples](<https://devfeed.tech/tags/examples.md>), [file](<https://devfeed.tech/tags/file.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [functions](<https://devfeed.tech/tags/functions.md>), [input](<https://devfeed.tech/tags/input.md>)

### AI overview

A tutorial presents eight larger examples combining C++23 library features, including ranges-to-container conversion, formatted output, monadic operations, lazy file-reading sequences, and multidimensional data processing.

### Source excerpt

In this article, you'll see eight larger examples that illustrate the changes in C++23. C++23 brings a ton of cool features, as you can see in my two previous articles (here and here). So far, we explored each new addition one by one, but I'd like to share more examples that combine multiple features. Here we go: 1. std::ranges::to<> The ranges::to<> feature allows you to convert ranges into containers easily: #include <ranges> #include <vector> #include <iostream> #include <string> #include <unordered_map> #include <map> int main() { std::vector<int> numbers = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; std::unordered_map<int, std::string> number_to_text = { {1, "one"}, {2, "two"}, {3, "three"}, {4, "four"}, {5, "five"}, {6, "six"}, {7, "seven"}, {8, "eight"}, {9, "nine"}, {10, "ten"} }; auto even_numbers = numbers | std::views::filter([](int n) { return n % 2 == 0; }) | std::ranges::to<std::vector>(); auto text_numbers_map = even_numbers | std::views::transform([&number_to_text](int n) { return std::pair{n, number_to_text.contains(n) ? number_to_text[n] : "unknown" } }) | std::ranges::to<std::map>(); std::cout << "Even numbers: "; for (int n : even_numbers) std::cout << n << " "; std::cout << "\nTextual numbers:\n"; for (const auto& [k, v] : text_numbers_map) std::cout << k << " -> " << v << '\n'; } Run @Compiler Explorer As you can see, there's no issue in creating not only vectors but maps as well. 2. std::print and std::println The new formatted output library simplifies printing. Here's an example that demonstrates alignment, formatting, and table creation: #include <print> #include <unordered_map> #include <string> #include <numeric> int main() { // Store the data in an unordered_map (country -> size in km²) std::unordered_map<std::string, double> country_sizes = { {"USA", 9833517}, {"Canada", 9984670}, {"Australia", 7692024}, {"China", 9596961}, {"Poland", 312696} }; constexpr double KM_TO_MI = 0.386102; // Conversion factor const double total_km = std::accumulate(coun

## Features to consider when choosing a documentation editor

DevFeed: [Features to consider when choosing a documentation editor](<https://devfeed.tech/articles/7-must-have-features-in-a-documentation-editor-in-2025-30962.md>)

Original publisher: [Read original article](<https://developerhub.io/blog/what-to-look-for-in-a-documentation-editor/>)

Author: Zaid Daba'een

Published: 2024-10-13T19:01:46Z

Content type: article

Language: en

Sources: [DeveloperHub.io](<https://devfeed.tech/sources/developerhub-io.md>)

Topics: [Documentation](<https://devfeed.tech/topics/documentation.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [Syntax Highlighting](<https://devfeed.tech/topics/syntax-highlighting.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [collaboration](<https://devfeed.tech/tags/collaboration.md>), [customizable](<https://devfeed.tech/tags/customizable.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [editor](<https://devfeed.tech/tags/editor.md>), [features](<https://devfeed.tech/tags/features.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [images](<https://devfeed.tech/tags/images.md>), [search](<https://devfeed.tech/tags/search.md>), [syntax-highlighting](<https://devfeed.tech/tags/syntax-highlighting.md>), [technical](<https://devfeed.tech/tags/technical.md>), [version-control](<https://devfeed.tech/tags/version-control.md>)

### AI overview

This article explains how technical writers can evaluate documentation editors. It discusses formatting options, blocks and custom elements, multimedia embedding, collaboration tools, version control, and search functionality.

### Source excerpt

Selecting the right documentation editor is essential for technical writers. Look for features like advanced formatting, customizable blocks, version control, and powerful search functionality. These tools enhance collaboration and ensure your documentation is clear, accessible, and easy to manage.

## Ruff v0.1.8

DevFeed: [Ruff v0.1.8](<https://devfeed.tech/articles/ruff-v0-1-8-82897.md>)

Original publisher: [Read original article](<https://astral.sh/blog/ruff-v0.1.8>)

Author: andrew@astral.sh (Andrew Gallant)

Published: 2023-12-13T00:00:00Z

Content type: release

Language: en

Sources: [Astral](<https://devfeed.tech/sources/astral.md>)

Topics: [formatting](<https://devfeed.tech/topics/formatting.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>)

Tags: [annotations](<https://devfeed.tech/tags/annotations.md>), [code](<https://devfeed.tech/tags/code.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [ruff](<https://devfeed.tech/tags/ruff.md>)

### AI overview

Ruff v0.1.8 adds opt-in formatting for Python code examples in docstrings, including doctest, Markdown, and reStructuredText formats. It also adds automatic quoting of type annotations to support moving imports into type-checking blocks.

### Source excerpt

Ruff adds support for formatting code snippets in docstrings and auto-quoting type annotations.

## Text formatting in C++ using libc++

DevFeed: [Text formatting in C++ using libc++](<https://devfeed.tech/articles/text-formatting-in-c-using-libc-43087.md>)

Original publisher: [Read original article](<https://blog.llvm.org/posts/2022-08-14-libc++-format/>)

Author: Mark de Wever

Published: 2022-09-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [LLVM Project](<https://devfeed.tech/sources/the-llvm-project-blog.md>)

Topics: [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [formatting](<https://devfeed.tech/topics/formatting.md>), [LLVM](<https://devfeed.tech/topics/llvm.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [compilers](<https://devfeed.tech/tags/compilers.md>), [formatting](<https://devfeed.tech/tags/formatting.md>), [libc-plus-plus](<https://devfeed.tech/tags/libc-plus-plus.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>), [std-format](<https://devfeed.tech/tags/std-format.md>), [unicode](<https://devfeed.tech/tags/unicode.md>)

### AI overview

This tutorial introduces C++20 std::format, explains how it improves text formatting compared with stream operators and printf, and describes implementation status in LLVM 15. It also covers formatting options, user-defined types, Unicode grapheme clusters, column widths, and compile-time type errors.

### Source excerpt

Historically formatting text in C++, using the standard library, has beenunpleasant. It is possible to get nice output with the stream operators, but itis very verbose due to the stream manipulators. The other option is usingprintf, which is convenient but only supports a limited number of types andis not extendable. A non-standard option is using the{fmt} library. This article provides ashort introduction to the parts of this library that were standardized in C++20as std::format, as well as the current implementation status in LLVM 15. What is std::format std::format is a text formatting library using format strings similar toPython's formatand extensible for user defined types. #include <format>#include <iostream>int main() { std::cout << std::format("Hello {} in C++{}", "std::format", 20);} Writes the following output: Hello std::format in C++20 The {} indicates a replacement field like % in printf. Withstd::format the argument types are known, so it is not required to specifythem in the replacement field. The desired output format and the positional argument to use for eachreplacement field can also be specified.(For brevity, the following examples omit the required includes.) Writes the first positional argument using different bases, a prefix, andzero padding to 8 columns. int main() { std::cout << std::format("{0:#08b}, {0:#08o}, {0:08}, {0:#08x}", 16);} 0b010000, 00000020, 00000016, 0x000010 It is possible to use an upper case prefix and hexadecimal digits. int main() { std::cout << std::format("{0:#08B}, {0:#08o}, {0:08}, {0:#08X}", 15);} 0B001111, 00000017, 00000015, 0X00000F The alignment and fill character can be specified. int main() { std::cout << std::format("{:#<8} {:*>8} {:-^5}", "Hello", "world", '!');} Hello### ***world --!-- When printing tables it is nice to be able to specify the alignment and widthof the columns. However, formatting Unicode text can be especially tricky,since not every char (or wchar_t) is one "character". For example the lett

[Next page](<https://devfeed.tech/topics/formatting.md?cursor=WyIyMDIyLTA5LTI3VDAwOjAwOjAwKzAwOjAwIiwgIjI0NmVjMjVhLWFhYTAtNDEyZi04NzE0LWY0MWU0MDMzYmU4YyJd>)