# code style

Coding conventions intended to improve code readability and consistency.

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

## 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

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

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

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: [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [changes](<https://devfeed.tech/tags/changes.md>), [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>), [open-source](<https://devfeed.tech/tags/open-source.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>), [quality](<https://devfeed.tech/tags/quality.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>)

### AI overview

The Apache Flink Code Style and Quality Guide describes standards for correct, efficient, understandable, maintainable, and well-structured code. It presents best practices, patterns, anti-patterns, common mistakes, and guidance for structuring pull requests for review.

### Source excerpt

Apache Flink Code Style and Quality Guide # Preamble # Pull Requests & Changes # Common Coding Guide # Java Language Guide # Scala Language Guide # Components Guide # Formatting Guide # This is an attempt to capture the code and quality standard that we want to maintain. A code contribution (or any piece of code) can be evaluated in various ways: One set of properties is whether the code is correct and efficient.

## Code Style and Quality Guide -- Scala

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

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

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: [Haskell](<https://devfeed.tech/topics/haskell.md>), [Code quality](<https://devfeed.tech/topics/code-quality.md>), [Apache Flink](<https://devfeed.tech/topics/apache-flink.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [Code](<https://devfeed.tech/topics/code.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [code-quality](<https://devfeed.tech/tags/code-quality.md>), [code-style](<https://devfeed.tech/tags/code-style.md>), [flink](<https://devfeed.tech/tags/flink.md>), [java](<https://devfeed.tech/tags/java.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [quality](<https://devfeed.tech/tags/quality.md>), [scala](<https://devfeed.tech/tags/scala.md>)

### AI overview

A Scala code style and quality guide for the Apache Flink project. It explains where Scala is used, how Scala and Java APIs should remain aligned, and which language features and practices contributors should follow.

### Source excerpt

Code Style and Quality Guide -- Scala # Preamble # Pull Requests & Changes # Common Coding Guide # Java Language Guide # Scala Language Guide # Components Guide # Formatting Guide # Scala Language Features # Where to use (and not use) Scala # We use Scala for Scala APIs or pure Scala Libraries. We do not use Scala in the core APIs and runtime components. We aim to remove existing Scala use (code and dependencies) from those components.

## Code Style and Quality Guide -- Common Rules

DevFeed: [Code Style and Quality Guide -- Common Rules](<https://devfeed.tech/articles/code-style-and-quality-guide-common-rules-48562.md>)

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

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>), [Java](<https://devfeed.tech/topics/java.md>), [Scala](<https://devfeed.tech/topics/scala.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.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>), [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>), [tooling](<https://devfeed.tech/tags/tooling.md>)

### AI overview

A common code style and quality guide for Apache Flink contributors, covering pull requests, IDE tooling, compiler warnings, comments, code readability, nesting, design, and immutability across Java and Scala code.

### Source excerpt

Code Style and Quality Guide -- Common Rules # Preamble # Pull Requests & Changes # Common Coding Guide # Java Language Guide # Scala Language Guide # Components Guide # Formatting Guide # 1. Copyright # Each file must include the Apache license information as a header. /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership.

## 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.

## Libreboot Build System Audit 4

DevFeed: [Libreboot Build System Audit 4](<https://devfeed.tech/articles/libreboot-build-system-audit-4-32664.md>)

Original publisher: [Read original article](<https://libreboot.org/news/audit4.html>)

Author: Leah Rowe

Published: 2026-09-17T04:32:50.666044Z

Content type: article

Language: en

Sources: [News about Libreboot releases and development](<https://devfeed.tech/sources/news-about-libreboot-releases-and-development.md>)

Topics: [audit](<https://devfeed.tech/topics/audit.md>), [Shell](<https://devfeed.tech/topics/shell.md>), [Code](<https://devfeed.tech/topics/code.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [audit](<https://devfeed.tech/tags/audit.md>), [bios](<https://devfeed.tech/tags/bios.md>), [build](<https://devfeed.tech/tags/build.md>), [build-system](<https://devfeed.tech/tags/build-system.md>), [canoeboot](<https://devfeed.tech/tags/canoeboot.md>), [coding-style](<https://devfeed.tech/tags/coding-style.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [coreboot](<https://devfeed.tech/tags/coreboot.md>), [free-software](<https://devfeed.tech/tags/free-software.md>), [libre](<https://devfeed.tech/tags/libre.md>), [libreboot](<https://devfeed.tech/tags/libreboot.md>), [opensource](<https://devfeed.tech/tags/opensource.md>), [patches](<https://devfeed.tech/tags/patches.md>), [uefi](<https://devfeed.tech/tags/uefi.md>)

### AI overview

This article reviews the fourth audit of the Libreboot build system, lbmk, covering code cleanup, generalization, new features, and bug fixes. It reports a reduction from 1,744 to 1,618 shell-script SLOC and a corresponding 7.22% decrease in complexity, while functionality increased.

### Source excerpt

Article: Libreboot Build System Audit 4 Web link: https://libreboot.org/news/audit4.html

## Agentic Code Review: Pattern Matching for AI

DevFeed: [Agentic Code Review: Pattern Matching for AI](<https://devfeed.tech/articles/agentic-code-review-pattern-matching-for-ai-18936.md>)

Original publisher: [Read original article](<https://www.robinwieruch.de/ai-agentic-code-review/>)

Author: Robin Wieruch

Published: 2026-03-18T06:50:46Z

Content type: article

Language: en

Sources: [Robin Wieruch](<https://devfeed.tech/sources/robin-wieruch.md>)

Topics: [ai code review](<https://devfeed.tech/topics/ai-code-review.md>), [Code review](<https://devfeed.tech/topics/code-review.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [project layout](<https://devfeed.tech/topics/project-layout.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-code-review](<https://devfeed.tech/tags/agentic-code-review.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-code-review](<https://devfeed.tech/tags/ai-code-review.md>), [ai-engineer](<https://devfeed.tech/tags/ai-engineer.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [code](<https://devfeed.tech/tags/code.md>), [code-review](<https://devfeed.tech/tags/code-review.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-patterns](<https://devfeed.tech/tags/coding-patterns.md>), [components](<https://devfeed.tech/tags/components.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [feature](<https://devfeed.tech/tags/feature.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [pattern](<https://devfeed.tech/tags/pattern.md>), [pattern-matching](<https://devfeed.tech/tags/pattern-matching.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [project](<https://devfeed.tech/tags/project.md>), [review](<https://devfeed.tech/tags/review.md>), [software-factory](<https://devfeed.tech/tags/software-factory.md>), [team](<https://devfeed.tech/tags/team.md>)

### AI overview

The excerpt describes a review bottleneck as AI-assisted coding increases pull request volume and size, and proposes documenting a team's project patterns and anti-patterns in structured files, combining them into one reference, and having AI agents check code against it on GitHub and locally before a pull request. The approach depends on consistent architecture: the team first establishes shared conventions, such as feature folder structure and a standard server-function blueprint, so there are patterns agents can check. The excerpt ends mid-sentence, so it does not establish further implementation details or results.

### Source excerpt

How to document project patterns and anti-patterns so AI agents can review code against your team's conventions automatically ...

## Arrange Your Code to Communicate Data Flow

DevFeed: [Arrange Your Code to Communicate Data Flow](<https://devfeed.tech/articles/arrange-your-code-to-communicate-data-flow-23863.md>)

Original publisher: [Read original article](<http://testing.googleblog.com/2025/01/arrange-your-code-to-communicate-data.html>)

Author: Google Testing Bloggers (noreply@blogger.com)

Published: 2025-01-07T13:59:00Z

Content type: article

Language: en

Sources: [Google Testing Blog](<https://devfeed.tech/sources/google-testing-blog.md>)

Topics: [code style](<https://devfeed.tech/topics/code-style.md>), [pretty printing](<https://devfeed.tech/topics/pretty-printing.md>), [Code Modularity](<https://devfeed.tech/topics/code-modularity.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [code-health](<https://devfeed.tech/tags/code-health.md>), [cognitive-load](<https://devfeed.tech/tags/cognitive-load.md>), [coherent](<https://devfeed.tech/tags/coherent.md>), [data](<https://devfeed.tech/tags/data.md>), [flow](<https://devfeed.tech/tags/flow.md>), [readability](<https://devfeed.tech/tags/readability.md>), [sebastian-dorner](<https://devfeed.tech/tags/sebastian-dorner.md>), [tott](<https://devfeed.tech/tags/tott.md>)

### AI overview

Arrange adjacent lines to follow data flow so readers can trace related values with less cognitive effort. The excerpt groups the cow-to-milk-to-cheese steps together, then the bread-to-toast steps, with blank lines to make those blocks visible. Extracting a block into a method can help further, but may not work when intermediate data is reused, such as for logging; ordering the related operations coherently still improves clarity. The final example is cut off, so the excerpt does not show the full method.

### Source excerpt

This article was adapted from a Google Tech on the Toilet (TotT) episode. You can download a printer-friendly version of this TotT episode and post it in your office. By Sebastian Dörner We often read code linearly, from one line to the next. To make code easier to understand and to reduce cognitive load for your readers, make sure that adjacent lines of code are coherent. One way to achieve this is to order your lines of code to match the data flow inside your method: fun getSandwich( bread: Bread, pasture: Pasture ): Sandwich { // This alternates between milk- // bread-related code. val cow = pasture.getCow() val slicedBread = bread.slice() val milk = cow.getMilk() val toast = toastBread(slicedBread) val cheese = makeCheese(milk) return Sandwich(cheese, toast) } fun getSandwich( bread: Bread, pasture: Pasture ): Sandwich { // Linear flow from cow to milk // to cheese. val cow = pasture.getCow() val milk = cow.getMilk() val cheese = makeCheese(milk) // Linear flow from bread to slicedBread // to toast. val slicedBread = bread.slice() val toast = toastBread(slicedBread) return Sandwich(cheese, toast) } To visually emphasize the grouping of related lines, you can add a blank line between each code block. Often you can further improve readability by extracting a method, e.g., by extracting the first 3 lines of the function on the above right into a getCheese method. However, in some scenarios, extracting a method isn't possible or helpful, e.g., if data is used a second time for logging. If you order the lines to match the data flow, you can still increase code clarity: fun getSandwich(bread: Bread, pasture: Pasture): Sandwich { // Both milk and cheese are used below, so this can't easily be extracted into // a method. val cow = pasture.getCow() val milk = cow.getMilk() reportFatContentToStreamz(cow.age, milk) val cheese = makeCheese(milk) val slicedBread = bread.slice() val toast = toastBread(slicedBread) logWarningIfAnyExpired(bread, toast, milk, cheese) return Sand

## Code reviews made easy: How to improve code quality

DevFeed: [Code reviews made easy: How to improve code quality](<https://devfeed.tech/articles/code-reviews-made-easy-how-to-improve-code-quality-79616.md>)

Original publisher: [Read original article](<https://coderabbit.ai/blog/code-reviews-made-easy-how-to-improve-code-quality>)

Author: Aravind Putrevu

Published: 2024-04-16T00:00:00Z

Content type: article

Language: en

Sources: [CodeRabbit](<https://devfeed.tech/sources/coderabbit.md>)

Topics: [Code quality](<https://devfeed.tech/topics/code-quality.md>), [Code review](<https://devfeed.tech/topics/code-review.md>), [ai code review](<https://devfeed.tech/topics/ai-code-review.md>), [Unit testing](<https://devfeed.tech/topics/unit-testing.md>), [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Integration testing](<https://devfeed.tech/topics/integration-testing.md>), [Tech Debt](<https://devfeed.tech/topics/tech-debt.md>), [code style](<https://devfeed.tech/topics/code-style.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2025](<https://devfeed.tech/tags/2025.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [adopting](<https://devfeed.tech/tags/adopting.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-code](<https://devfeed.tech/tags/ai-code.md>), [can](<https://devfeed.tech/tags/can.md>), [code](<https://devfeed.tech/tags/code.md>), [code-quality](<https://devfeed.tech/tags/code-quality.md>), [code-reviews](<https://devfeed.tech/tags/code-reviews.md>), [development](<https://devfeed.tech/tags/development.md>), [english](<https://devfeed.tech/tags/english.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [process](<https://devfeed.tech/tags/process.md>), [quality](<https://devfeed.tech/tags/quality.md>), [reviews](<https://devfeed.tech/tags/reviews.md>), [software](<https://devfeed.tech/tags/software.md>), [this](<https://devfeed.tech/tags/this.md>)

### AI overview

The article argues that sustainable code quality depends on protecting reviewer attention: automate mechanical checks and reserve human review for design, architecture, and domain judgment. It recommends small PRs, trunk-based development with feature flags, tests in CI, layered linting, type checking and SAST, and documented conventions. Track team-level PR cycle time and defect escape rate against historical baselines; rising first-review waits point to capacity issues, while repeated review rounds may indicate unclear feedback. For async teams, pre-annotate changes, make comments specific, mark blocking feedback, and assign a primary reviewer. It presents CodeRabbit as an AI first-pass tool for issues such as null checks, unused imports, style, and common security patterns, while humans handle context-dependent decisions. The excerpt reports Taskrabbit's average PR cycle time falling from 10 to 7 days after deployment, and freee saving reviewer time, but does not establish that these results generalize.

### Source excerpt

Code reviews are an essential part of the software development process. They offer numerous benefits that can greatly improve the quality and maintainability of code. In this section, we will explore some of the key advantages of code reviews. **Impr...

## Importance of writing in the engineering industry

DevFeed: [Importance of writing in the engineering industry](<https://devfeed.tech/articles/importance-of-writing-in-the-engineering-industry-30478.md>)

Original publisher: [Read original article](<https://bytesizedbets.com/p/importance-of-writing-in-the-engineering>)

Author: TheAnkurTyagi

Published: 2024-02-19T12:12:49Z

Content type: opinion

Language: en

Sources: [ByteSizedBets](<https://devfeed.tech/sources/bytesizedbets.md>)

Topics: [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [Specifications](<https://devfeed.tech/topics/specifications.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [Slack](<https://devfeed.tech/topics/slack.md>)

Tags: [coding-style](<https://devfeed.tech/tags/coding-style.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [slack](<https://devfeed.tech/tags/slack.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [specifications](<https://devfeed.tech/tags/specifications.md>)

### AI overview

This article argues that writing is essential in software engineering because teams rely on written communication for alignment, code reviews, technical specifications, and code. It recommends prioritizing product specifications, technical specifications, and coding style guides, particularly in mid-sized organizations.

### Source excerpt

Spoiler: It's very important!

## Using Fleet 1.19's AI Assistant to Convert Kotlin Between Imperative and Functional Styles

DevFeed: [Using Fleet 1.19's AI Assistant to Convert Kotlin Between Imperative and Functional Styles](<https://devfeed.tech/articles/the-imitation-tortoise-s-song-a-fleety-conversion-from-imperative-to-functional-will-you-join-the-dance-32082.md>)

Original publisher: [Read original article](<https://www.maiatoday.net/p/the-imitation-tortoises-song-a-fleety-conversion-from-imperative-to-functional-will-you-join-the-dance/>)

Published: 2023-06-10T13:12:44Z

Content type: article

Language: en

Sources: [Maiatoday](<https://devfeed.tech/sources/maiatoday.md>)

Topics: [code style](<https://devfeed.tech/topics/code-style.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Code](<https://devfeed.tech/topics/code.md>), [Advent of Code](<https://devfeed.tech/topics/advent-of-code.md>)

Tags: [advent-of-code](<https://devfeed.tech/tags/advent-of-code.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-assistant](<https://devfeed.tech/tags/ai-assistant.md>), [code](<https://devfeed.tech/tags/code.md>), [coding-style](<https://devfeed.tech/tags/coding-style.md>), [doggerel](<https://devfeed.tech/tags/doggerel.md>), [fleet](<https://devfeed.tech/tags/fleet.md>), [functional](<https://devfeed.tech/tags/functional.md>), [functional-programming](<https://devfeed.tech/tags/functional-programming.md>), [imperative](<https://devfeed.tech/tags/imperative.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [word-games](<https://devfeed.tech/tags/word-games.md>)

### AI overview

The article experiments with Fleet 1.19's integrated AI assistant by converting Kotlin code for the Advent of Code 2022 Day 10 puzzle between imperative and functional styles, comparing the results, and generating poetry.

### Source excerpt

Once upon a time I admit. I have a penchant for word games and weird segues. So I will tell you what this post is about off the bat. You can skip to the code, I won't be offended. Fleet 1.19 was released this week with an integrated AI assistant. I took it for a spin and used it to convert Kotlin code from imperative style to functional and back again. I used some Kotlin code, which solves the Advent of Code 2022 Day 10 puzzle. I had written the solution in two styles and I had the AI assistant do the same conversion and compared the code. And then I played around and generated some poetry. Follow links at your peril, there are rabbit holes, it might make you late or change the size of your free time. Segue the first of many Oh you are still here! You didn't jump to the code starts here section? Why am I doing this? A long time ago, I read a lot of Lewis Caroll, Alice in Wonderland. In one scene Alice talks to the Mock Turtle. He sings a song about sea creatures dancing. When the first language translators appeared on the scene, Altavisa babelfish or perhaps it was the early Google Translate, I converted passages from Alice in Wonderland to French and then back again to see what the machines could do. The Mock Turtle was transformed into an Imitation Tortoise. In this way the reference to the original mock turtle soup was lost in translation. In a roundabout way I was wondering what would be uncovered or lost if I used the AI assistant for some translations in coding style. Couplets of doggerel My trusty and non emotional assistant had no opinion on Lewis Caroll but it made this for me. A definition of functional programming style in rhyming couplets: Functional programming's way, treats functions as the play. Immutable states they use, side effects they refuse. Declarative code is their choice, with functions, they rejoice. Nested functions map, filter, reduce, a clean, elegant code they produce. Compare this with the imperative version: Imperative code, step by st

## Rethinking Habit-Driven Opinions in Programming and Coding Style

DevFeed: [Rethinking Habit-Driven Opinions in Programming and Coding Style](<https://devfeed.tech/articles/rational-thinking-44255.md>)

Original publisher: [Read original article](<https://stitcher.io/blog/rational-thinking>)

Author: Brent

Published: 2021-08-25T00:00:00Z

Content type: opinion

Language: en

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

Topics: [code style](<https://devfeed.tech/topics/code-style.md>), [PHP](<https://devfeed.tech/topics/php.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [import](<https://devfeed.tech/topics/import.md>), [class](<https://devfeed.tech/topics/class.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-style](<https://devfeed.tech/tags/coding-style.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [opinion](<https://devfeed.tech/tags/opinion.md>), [php](<https://devfeed.tech/tags/php.md>), [programming](<https://devfeed.tech/tags/programming.md>)

### AI overview

An opinion piece examines how programmers defend coding-style preferences, using PHP type declarations and fully qualified class names as examples. It argues that seemingly rational opinions may sometimes reflect habit, comfort, or emotion rather than carefully considered reasoning.

### Source excerpt

Read the full post on https://stitcher.io/blog/rational-thinking

## 👨🍳 Cooking Tasty code in Kotlin 🍴 -- Part 2

DevFeed: [👨🍳 Cooking Tasty code in Kotlin 🍴 -- Part 2](<https://devfeed.tech/articles/cooking-tasty-code-in-kotlin-part-2-25710.md>)

Original publisher: [Read original article](<https://blog.shreyaspatil.dev/cooking-tasty-code-in-kotlin-part-2/>)

Author: Shreyas Patil

Published: 2021-01-01T09:23:42Z

Content type: article

Language: en

Sources: [Shreyas Patil's Blog](<https://devfeed.tech/sources/shreyas-patil-s-blog.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [code style](<https://devfeed.tech/topics/code-style.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [advanced](<https://devfeed.tech/tags/advanced.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-style](<https://devfeed.tech/tags/coding-style.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [examples](<https://devfeed.tech/tags/examples.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-beginner](<https://devfeed.tech/tags/kotlin-beginner.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [programming-tips](<https://devfeed.tech/tags/programming-tips.md>), [sealed](<https://devfeed.tech/tags/sealed.md>), [sealed-class](<https://devfeed.tech/tags/sealed-class.md>), [series](<https://devfeed.tech/tags/series.md>), [structure](<https://devfeed.tech/tags/structure.md>)

### AI overview

The excerpt presents Kotlin techniques with practical caveats. String templates can replace concatenation and simplify multiline strings; raw strings treat special characters literally. Destructuring declarations expose object members as variables, but depend on member order, so changes to a class's structure can assign values unexpectedly. The excerpt recommends using destructuring when the structure is stable, such as with a standard-library pair, and shows that unwanted variables can be skipped. It begins describing sealed classes as restricted class hierarchies with subclasses, but cuts off before explaining their details.

### Source excerpt

Part 2 of 'Cooking Tasty Code'. Dive deeper into Kotlin features like delegation, operator overloading, and more to enhance your coding style.

## Kotlin Code Review: Avoiding Unproductive Nitpicking Over Concise and Idiomatic Code

DevFeed: [Kotlin Code Review: Avoiding Unproductive Nitpicking Over Concise and Idiomatic Code](<https://devfeed.tech/articles/kotlin-nitpicker-s-guide-38639.md>)

Original publisher: [Read original article](<https://krossovochkin.com/posts/2020_10_14_kotlin_nitpickers_guide/>)

Published: 2020-10-14T00:00:00Z

Content type: tutorial

Language: en

Sources: [Vasya Drobushkov](<https://devfeed.tech/sources/vasya-drobushkov.md>)

Topics: [Code review](<https://devfeed.tech/topics/code-review.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [code-review](<https://devfeed.tech/tags/code-review.md>), [code-style](<https://devfeed.tech/tags/code-style.md>), [development-process](<https://devfeed.tech/tags/development-process.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [quality](<https://devfeed.tech/tags/quality.md>)

### AI overview

This article examines how code review can become unproductive when reviewers focus excessively on style, concision, or idiomatic Kotlin patterns. It discusses the trade-offs behind some Kotlin constructs and argues that shorter code is not automatically better.

### Source excerpt

Introduction Code review is an essential tool for a development team, which helps ensure high-quality standards of code. While reviewing others' code one might find bugs, design issues, and so on. One another part of reviewing is getting used to the codebase and following team's code style for better maintenance. Though it is pretty cool in theory, in practice team might face few issues, one of which is nitpicking. When review is bloated with dozens of similar comments related to e.g. how beautifully code looks like. Common code style is important, but having a lot of similar comments in each review doesn't help. Instead of trying to understand what code is doing, nitpicker writes a lot of similar comments on the style. Back and forth discussions or fixes of such slow down development process and overall make team's morale worse.

## What a good PR looks like

DevFeed: [What a good PR looks like](<https://devfeed.tech/articles/what-a-good-pr-looks-like-44324.md>)

Original publisher: [Read original article](<https://stitcher.io/blog/what-a-good-pr-looks-like>)

Author: Brent

Published: 2020-10-02T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [Maintainers](<https://devfeed.tech/topics/maintainers.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [clean-code](<https://devfeed.tech/topics/clean-code.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [clean-code](<https://devfeed.tech/tags/clean-code.md>), [code-style](<https://devfeed.tech/tags/code-style.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [maintainers](<https://devfeed.tech/tags/maintainers.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [programming](<https://devfeed.tech/tags/programming.md>)

### AI overview

An open-source maintainer explains how contributors can create higher-quality pull requests by checking existing issues and PRs, discussing proposed changes, following repository style rules, and clearly documenting their code and reasoning.

### Source excerpt

Read the full post on https://stitcher.io/blog/what-a-good-pr-looks-like

## Name It, and They Will Come

DevFeed: [Name It, and They Will Come](<https://devfeed.tech/articles/name-it-and-they-will-come-36181.md>)

Original publisher: [Read original article](<https://overreacted.io/name-it-and-they-will-come/>)

Published: 2019-03-25T00:00:00Z

Content type: opinion

Language: en

Sources: [Dan Abramov](<https://devfeed.tech/sources/dan-abramov.md>)

Topics: [Open Source](<https://devfeed.tech/topics/open-source.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [ci](<https://devfeed.tech/tags/ci.md>), [coding-style](<https://devfeed.tech/tags/coding-style.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [github](<https://devfeed.tech/tags/github.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>)

### AI overview

This essay describes the excitement and uncertainty of developing and launching an open-source project. It concludes with a disappointing response: public discussion focuses on indentation in a README example rather than the project's central idea.

### Source excerpt

A change starts with a story.

## GSOC Project TSE Week 5

DevFeed: [GSOC Project TSE Week 5](<https://devfeed.tech/articles/gsoc-project-tse-week-5-32831.md>)

Original publisher: [Read original article](<https://reactos.org/blogs/gsoc-project-tse-week-5/>)

Published: 2017-07-06T00:00:00Z

Content type: article

Language: en

Sources: [Front Page on ReactOS Website](<https://devfeed.tech/sources/front-page-on-reactos-website.md>)

Topics: [ReactOS](<https://devfeed.tech/topics/reactos.md>), [Refactoring](<https://devfeed.tech/topics/refactoring.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [Code](<https://devfeed.tech/topics/code.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [code-reviews](<https://devfeed.tech/tags/code-reviews.md>), [coding-style](<https://devfeed.tech/tags/coding-style.md>), [free](<https://devfeed.tech/tags/free.md>), [gsoc](<https://devfeed.tech/tags/gsoc.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [os](<https://devfeed.tech/tags/os.md>), [react](<https://devfeed.tech/tags/react.md>), [reactos](<https://devfeed.tech/tags/reactos.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [win32](<https://devfeed.tech/tags/win32.md>), [winapi](<https://devfeed.tech/tags/winapi.md>)

### AI overview

A week-five GSoC project update for ReactOS describes code reviews conducted through Crucible, continued work on QuickLaunch menus, and implementation of context-menu options such as views and showing text. The author also reports refactoring, code fixes, removal of unnecessary interfaces, and menu localization work.

### Source excerpt

Hey there! 0/ Last time you must have seen some snapshots of where the QuickLaunch has reached. Seeing the UI and some functionalities in the snaps must have given you a feeling that it's complete and finished. But, Nah... a lot of work is left, besides debugging so that Dr. Watson would finally be free of his postmortems!! XP Coming straight to the point, this week the best thing was about 'Code Reviews'.

## Empire Node 2016

DevFeed: [Empire Node 2016](<https://devfeed.tech/articles/empire-node-2016-32300.md>)

Original publisher: [Read original article](<https://jack.ofspades.com/empire-node-2016/>)

Author: Jack Tarantino

Published: 2016-11-08T22:57:34Z

Content type: article

Language: en

Sources: [Jacopo Tarantino](<https://devfeed.tech/sources/jacopo-tarantino.md>)

Topics: [code style](<https://devfeed.tech/topics/code-style.md>), [ESLint](<https://devfeed.tech/topics/eslint.md>), [React](<https://devfeed.tech/topics/react.md>), [Redux](<https://devfeed.tech/topics/redux.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [CommonJS](<https://devfeed.tech/topics/commonjs.md>), [middleware](<https://devfeed.tech/topics/middleware.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [code](<https://devfeed.tech/tags/code.md>), [code-style](<https://devfeed.tech/tags/code-style.md>), [commonjs](<https://devfeed.tech/tags/commonjs.md>), [empire-node](<https://devfeed.tech/tags/empire-node.md>), [eslint](<https://devfeed.tech/tags/eslint.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [modules](<https://devfeed.tech/tags/modules.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [new-york-city](<https://devfeed.tech/tags/new-york-city.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [react](<https://devfeed.tech/tags/react.md>), [redux](<https://devfeed.tech/tags/redux.md>)

### AI overview

Notes from Empire Node 2016 cover talks about HyperTerm and its React and Redux plugin architecture, ESLint rules and coding practices, and MongoDB, along with other programming topics.

### Source excerpt

Yesterday I had the good fortune to attend Empire Node at The National Museum of the American Indian, courtesy of InRhythm. A good time was had by all and we got to see some great talks! There was programmable music, smart ways to get into code style linting and, of

## Java 8 workshop at Finn.no

DevFeed: [Java 8 workshop at Finn.no](<https://devfeed.tech/articles/java-8-workshop-at-finn-no-31990.md>)

Original publisher: [Read original article](<https://tech.finn.no2015/02/16/java-8-workshop-at-finnno/>)

Author: Sjur Millidahl

Published: 2015-02-16T07:50:16Z

Content type: tutorial

Language: en

Sources: [Finn.no](<https://devfeed.tech/sources/finn-no.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [Code](<https://devfeed.tech/topics/code.md>), [Exception](<https://devfeed.tech/topics/exception.md>)

Tags: [coding-style](<https://devfeed.tech/tags/coding-style.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [java](<https://devfeed.tech/tags/java.md>), [lambda](<https://devfeed.tech/tags/lambda.md>), [language](<https://devfeed.tech/tags/language.md>), [optional](<https://devfeed.tech/tags/optional.md>), [stream](<https://devfeed.tech/tags/stream.md>), [workshop](<https://devfeed.tech/tags/workshop.md>)

### AI overview

This article describes a two-part workshop at Finn.no on adopting Java 8's functional programming features. It covers streams and lambdas, then Optional and an in-house Either type for handling absent values and exceptions.

### Source excerpt

Pondering on the right lambda for the job With Java 8 comes a whole new set of language features. It even challenges the imperative coding-style of the Java programmer. Java is a core language in Finn.no. More and more of our java-modules are being built with Java 8, adopting new features of the language. A workshop was warranted, with the goal of bringing every developer up to speed on the functional paradigm of Java 8. In Finn.no, we want programmers to do stuff like this db.fetchLastDayAds() .stream() .filter(ad -> "bap-webstore".equals(ad.getAdType())) .flatMap(ad -> ad.getContacts().stream()) .distinct() .flatMap(per -> Optional.ofNullable(contact.getEmail()).map(Stream::of) .orElseGet(Stream::empty)) .peek(contact -> LOG.trace("Sending notification to "+per)) .forEach(this::sendNotification); While avoiding stuff like this IntStream.iterate(0, i -> (i + 1) % 2) .parallel() .distinct() .limit(10) .forEach(System.out::println); (Locking up all cores on a CPU is bad, and should only be done when the machine is right about to become self-aware and turn against you.) Several lambda-arrows pointing in the right direction here We split the workshop into two half days. The first day was dedicated to streams and lambdas. Everyone seemed keen on getting those tests green (a rhyme!). Day 2 we raised the bar with Optional and our in-house version of Either<L,R>. With these structures, much more code can be written functionally in a world where values might not exist (be null), and things may go wrong (throw exceptions). We need power.. lots of power! Both the word "monad" and the phrase "monadic domain" was uttered several times, but we still saw very few making the swoooosh-sound while flying a hand over their head (the internationally recognized sign of communicating that a topic is beyond mental capacity). This might mean that the timing was good, and developers are interested in the new features of Java 8. You may checkout the project and do the tasks yourself, by mak

## How Code Reviews Support Chromium's Code Quality and Team Resilience

DevFeed: [How Code Reviews Support Chromium's Code Quality and Team Resilience](<https://devfeed.tech/articles/code-reviews-for-fun-and-profit-35513.md>)

Original publisher: [Read original article](<https://meowni.ca/posts/code-reviews/>)

Author: Monica Dinculescu

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

Content type: opinion

Language: en

Sources: [Monica Dinculescu](<https://devfeed.tech/sources/monica-dinculescu.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [Chromium](<https://devfeed.tech/topics/chromium.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [bus factor](<https://devfeed.tech/topics/bus-factor.md>)

Tags: [bus-factor](<https://devfeed.tech/tags/bus-factor.md>), [chromium](<https://devfeed.tech/tags/chromium.md>), [code](<https://devfeed.tech/tags/code.md>), [code-reviews](<https://devfeed.tech/tags/code-reviews.md>), [code-style](<https://devfeed.tech/tags/code-style.md>)

### AI overview

The article explains how Chromium uses code reviews and style guides to manage a large, actively changing codebase. It argues that review helps catch broken or poor-quality code, maintain consistency, and reduce reliance on a small number of contributors.

### Source excerpt

Stats: a preamble I've been reading too much about March Madness brackets, so I thought I had to run some numbers around here like the cool kids do. Get your umbrella out, it's about to rain cold facts. In the history of time, Chromium has had 205,095 commits made by 1,943 contributors representing 7,431,088 lines of code. In the last 30 days, there have been 5021 commits, by 637 contributors, including 53 new hoomans. I did some advanced Nate Silver analysis here for you, and that's at least 167 commits and 1+ new committers a day. On average, that's at least 7 commits an hour. Every hour. All of the hours. That's an imperial ton of new code being added, by what it seems like new people. Imagine if everyone could commit code willy-nilly. Are you imagining a minefield? You should. Code reviews ftw Good news for our browser using audience! Chromium isn't a minefield, and on top of it, has pretty awesome looking code. This comes from the fact that any code changes need to be reviewed and blessed before they can land on the master branch. More eyes means less bugs means you're less likely to commit broken code and break the internet. And you really don't want to break the internet. Even if you have tests, and everything is going your way, you can write correct, but genuinely shitty code. 7 million lines of kinda-shitty code is not something anyone wants to work with, and are worth investing a little time in fixing. Code reviews also bring up the bus factor, which is my favourite sinister nerd metaphor. You know, the buuuuuus factor. The number of people that can get run over by a bus on a team before that team is royally and epically screwed. If all the code that you write has been closely read by a different person, then you're probably ok getting run over by a bus every once in a while. But still, you probably shouldn't. Who would feed your cat? Consistent code is the best code Code style guides are sooper neat, and are a huge part of code reviews, because ain't nobo

## October 2013 Meeting Minutes

DevFeed: [October 2013 Meeting Minutes](<https://devfeed.tech/articles/october-2013-meeting-minutes-33163.md>)

Original publisher: [Read original article](<https://reactos.org/project-news/october-2013-meeting-minutes/>)

Published: 2013-11-14T00:00:00Z

Content type: news

Language: en

Sources: [Front Page on ReactOS Website](<https://devfeed.tech/sources/front-page-on-reactos-website.md>)

Topics: [ReactOS](<https://devfeed.tech/topics/reactos.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [code style](<https://devfeed.tech/topics/code-style.md>)

Tags: [code-style](<https://devfeed.tech/tags/code-style.md>), [development](<https://devfeed.tech/tags/development.md>), [free](<https://devfeed.tech/tags/free.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [os](<https://devfeed.tech/tags/os.md>), [react](<https://devfeed.tech/tags/react.md>), [reactos](<https://devfeed.tech/tags/reactos.md>), [win32](<https://devfeed.tech/tags/win32.md>), [winapi](<https://devfeed.tech/tags/winapi.md>)

### AI overview

Minutes from the ReactOS project's October 31, 2013 meeting cover team coordination, adoption of a coding style guideline, and the availability of foundation funds for development hardware.

### Source excerpt

2013-10-31 19:00 UTC dev.reactos.org, #meeting Proceedings Meeting started at 19:08 by Aleksey Bragin. Point 1: CoordinationPoint 2: Code Style GuidelinesPoint 3: Donations and HardwarePoint 1Aleksey Bragin opened up the meeting with a statement that the project's members need to coordinate and work better together to avoid internal confusion as to what work is being done and what work requires some help due to other commitments by team members. Point 2Colin Finck presented for approval a finalized draft for the project's coding style guideline.

## Improving Frontend Code Quality and Workflow

DevFeed: [Improving Frontend Code Quality and Workflow](<https://devfeed.tech/articles/improving-frontend-code-quality-and-workflow-19697.md>)

Original publisher: [Read original article](<https://word.bitly.com/post/37725436365>)

Author: Wordbitly

Published: 2012-12-11T18:45:27Z

Content type: article

Language: en

Sources: [Bitly](<https://devfeed.tech/sources/bitly.md>)

Topics: [Code quality](<https://devfeed.tech/topics/code-quality.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Handlebars](<https://devfeed.tech/topics/handlebars.md>), [Code review](<https://devfeed.tech/topics/code-review.md>)

Tags: [code-quality](<https://devfeed.tech/tags/code-quality.md>), [code-review](<https://devfeed.tech/tags/code-review.md>), [coding-style](<https://devfeed.tech/tags/coding-style.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [style-guide](<https://devfeed.tech/tags/style-guide.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

After its product launch, Bitly's frontend team standardized JavaScript style and adopted tools it found improved workflow and maintainability for new features. Its conventions followed most of Google's JavaScript Style Guide, omitted JSDoc, and used lowercase_with_underscores for non-method variables; the team emphasized consistency and code review. It continued using CoffeeScript, citing concise syntax, a default style, and compile-time syntax checking. A custom watcher sent Growl error notifications for CoffeeScript and Handlebars compilation, while precompiling Handlebars templates reduced client work. Backbone Models, Views, and Events separated application state and business logic from UI behavior, making models easier to test. For testing, the author favored flexible Mocha with Sinon spies, stubs, and mocks; Should.js was suggested for expressive assertions. These are the author's reported choices and rationale, not a comparison of measured results across tools.

### Source excerpt

When I started at Bitly as a Frontend Engineer, we were about to launch the new bitly. It was exciting to be so close to a product launch and we were cranking out lots of code each day. It took me a few days to get my bearings in the sprawling codebase and I saw lots of opportunity for refactoring, cleanup, and style normalization as well as some architectural concepts we weren't leveraging. Product launch mode kept us from doing house keeping for the next few months after we released the new product as we collected feedback and iterated on several designs/functionalities. Once we had a chance to take a step back and regroup, I saw that we could be more productive if we invested in a common JavaScript style (both syntax and module level patterns) and re-evaluated which libraries we were leveraging to build the site. When we decided the next feature work would be on save/share modal dialogs, I used this as an opportunity to evaluate my new picks for tools and libraries. The result was a success and allowed us to adopt the new tools and libraries for all new features (see Easily Save and Share the Links You Love). Keep reading to see what tools we ended up using to make us more productive! Coding style guidelines If you've seen frontend JavaScript codebases older than six months with two or more developers working on them, you've seen how hard it is to enforce style. The goal of a style guide (and code conventions in general) is to reduce the amount of friction when switching between different modules in a codebase and increase the consistency and readability of code. If every module follows the same patterns, you can easily get your bearings in code written by your coworkers. Every team should have a common style that is enforced in code review and ideally written in a document that can be referred to for new hires. For JavaScript at Bitly, we mostly use the Google Style Guide without the JSDoc and with a variation that non-method variables are lowercase_with_undersc

## My HTML/CSS coding style

DevFeed: [My HTML/CSS coding style](<https://devfeed.tech/articles/my-html-css-coding-style-45534.md>)

Original publisher: [Read original article](<https://csswizardry.com/2012/04/my-html-css-coding-style/>)

Author: Harry Roberts

Published: 2012-04-20T18:58:53Z

Content type: article

Language: en

Sources: [CSS Wizardry](<https://devfeed.tech/sources/css-wizardry.md>)

Topics: [code style](<https://devfeed.tech/topics/code-style.md>), [CSS](<https://devfeed.tech/topics/css.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [coding-style](<https://devfeed.tech/tags/coding-style.md>), [css](<https://devfeed.tech/tags/css.md>), [html](<https://devfeed.tech/tags/html.md>), [html-css](<https://devfeed.tech/tags/html-css.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

### AI overview

A personal account of HTML and CSS coding conventions, covering syntax, formatting, experimentation, and choices such as when to quote HTML attributes. The author presents these practices as personal preferences rather than universal recommendations.

### Source excerpt

My HTML/CSS coding style Written by Harry Roberts on CSS Wizardry. N.B. This post is almost completely out of date now; please refer to my CSS Guidelines for more up-to-date information. Whenever I post jsFiddles, tutorials, articles or do some work here at Sky, I'm very particular about my coding style and am often asked questions about it.

## Tip for 1-click indentation settings changes in Visual Studio

DevFeed: [Tip for 1-click indentation settings changes in Visual Studio](<https://devfeed.tech/articles/tip-for-1-click-indentation-settings-changes-in-visual-studio-38406.md>)

Original publisher: [Read original article](<https://khmylov.com/2011/02/tip-for-1-click-indentation-settings-changes-in-visual-studio/>)

Author: Andrew Khmylov

Published: 2011-02-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Despite the odds](<https://devfeed.tech/sources/despite-the-odds.md>)

Topics: [Visual Studio](<https://devfeed.tech/topics/visual-studio.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [ide](<https://devfeed.tech/topics/ide.md>), [C#](<https://devfeed.tech/topics/csharp.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [change](<https://devfeed.tech/tags/change.md>), [code](<https://devfeed.tech/tags/code.md>), [code-style](<https://devfeed.tech/tags/code-style.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [ide](<https://devfeed.tech/tags/ide.md>), [macros](<https://devfeed.tech/tags/macros.md>), [spaces](<https://devfeed.tech/tags/spaces.md>), [style](<https://devfeed.tech/tags/style.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>)

### AI overview

A tutorial explains how to create a Visual Studio macro that toggles the C# indentation setting between tabs and spaces. It uses the DTE TextEditor CSharp InsertTabs property and provides keyboard-accessible macro commands.

### Source excerpt

I work at several projects at a time, and I have different settings/requirements concerning the code style for each of them. The main issue is 'Tabs vs. Spaces' option - the first project requires using tabs, the second - spaces. It's obvious that going Tools -> Settings -> ... is not an option for everyday use. Sounds like a good task for the automation macros, right? Navigate to Tools -> Macros -> Macros IDE (or use Alt+F11) Create new macros in Project Explorer (Project - Add Module) Write a method that changes the indentation settings: Public Module TabsModule Public Sub ToggleTabs() Dim currentSetting As Boolean = DTE.Properties("TextEditor", "CSharp").Item("InsertTabs").Value DTE.Properties("TextEditor", "CSharp").Item("InsertTabs").Value = Not currentSetting End Sub End Module Now you can use Macros Explorer (Alt+F8, also you can dock it as one of your panels) to quickly change settings (by double-clicking on the corresponding item name in the macros tree)