Indentation vs Braces: THE HOLY WAR of Programming!

Python's mandatory indentation vs JavaScript's braces - which syntax wins? MOST CONTROVERSIAL!

#python #javascript #pythonvsjs #indentation #braces #syntaxstyle #codeformatting #viralcoding #programmingdebate #holywar #mindblown #controversial

https://www.youtube.com/watch?v=8TtaYmL2TTE

Indentation vs Braces: THE HOLY WAR of Programming! #holywar

YouTube
uv format: Code Formatting Comes to uv (experimentally!)

The latest uv release (0.8.13) quietly introduced an experimental new command that Python developers have been waiting for: uv format. This addition brings code formatting directly into uv’s toolkit, eliminating the need to juggle multiple tools for basic Python development workflows. What is uv format? The uv format command provides Python code formatting through uv’s interface. Under the hood, it calls Ruff’s formatter to automatically style your code according to consistent standards.

Converting a Git repo from tabs to spaces

This post is about the thing in the title. I used to work for Yelp. For historical reasons — probably “the initial developers preferred it” — their mostly-Python codebase had always been in

Code formatting discussions are terrible 🤦‍♂️. Where and when to add a line break? How to indent? Where to put the braces? Which quotes to use?

In my new article I show how to end them simply with Spotless and Gradle.

https://medium.com/@michakutz/great-gradle-goodies-code-formatting-with-spotless-2a595e657add

#gradle #codeformatting

Great Gradle Goodies: Code Formatting with Spotless

Recently I had the opportunity to try some new (to me) features in my favourite build tool Gradle, I’d like to share what I learned about these. Today: Code formatting with Spotless. To be honest, I…

Medium
When making changes in a function do you believe it's ok to bring the function in line with the projects coding style? I'd love to know your thoughts in detail as well, it's not something I ever considered controversial.
#softwareDevelopment #coding #codeFormatting
No, Never
10%
No, Code changes should conform to the function
0%
Only on lines that have changed
0%
Yes
90%
Poll ended at .

Laravel Pint + VSCode = Effortless Code Formatting & Enhancing Code Consistency

https://www.youtube.com/watch?v=fNMEGyKN5-Q

- Setting up Laravel Pint in your Laravel project with ease.
- Integrating Laravel Pint with VS Code for real-time feedback and auto-fix.
- Leveraging built-in rules and configurations for clean, consistent Laravel code.

#laravel #php #vscode #CleanCode #DevOps #CodingTips #100DaysOfCode #freeCodeCamp #codeformatting #webdev #frontenddev #backenddev #CodeNewbies

Laravel Pint + VSCode: Start Automating Code Style to Keep Your Laravel Code Clean & Consistent

YouTube

Laravel Pint + VSCode = Effortless Code Formatting & Enhancing Code Consistency

https://www.youtube.com/watch?v=fNMEGyKN5-Q

- Setting up Laravel Pint in your Laravel project with ease.
- Integrating Laravel Pint with VS Code for real-time feedback and auto-fix.
- Leveraging built-in rules and configurations for clean, consistent Laravel code.

#laravel #php #vscode #CleanCode #DevOps #CodingTips #100DaysOfCode #freeCodeCamp #codeformatting #webdev #frontenddev #backenddev #CodeNewbies

Laravel Pint + VSCode: Start Automating Code Style to Keep Your Laravel Code Clean & Consistent

YouTube

A Deep Dive into ESLint, Prettier, and VSCode for JavaScript Developers

https://www.youtube.com/watch?v=F0IrHtPo-Ec

In this tutorial, you'll:

- Set up ESLint for JavaScript projects.
- Configure Prettier for consistent code formatting.
- Learn code formatting within VSCode.
- Integrate ESLint and Prettier seamlessly.
- Optimize linting and formatting with best practices.
#javascript #eslint #prettier #vscode #codequality #codeformatting #webdev #frontenddev #devlife

ESLint, Prettier, and VSCode Setup for JavaScript Code Linting & Formatting | Tips for Clean Code

YouTube

A Deep Dive into ESLint, Prettier, and VSCode for JavaScript Developers

https://www.youtube.com/watch?v=F0IrHtPo-Ec

In this tutorial, you'll:

- Set up ESLint for JavaScript projects.
- Configure Prettier for consistent code formatting.
- Explore built-in VSCode JavaScript linting.
- Learn code formatting within VSCode.
- Integrate ESLint and Prettier seamlessly.

#javascript #eslint #prettier #vscode #codequality #codeformatting #webdev #frontenddev #devlife

ESLint, Prettier, and VSCode Setup for JavaScript Code Linting & Formatting | Tips for Clean Code

YouTube

All these via the HN comments-thread:

https://news.ycombinator.com/item?id=22706242

related to this story:

"The Hardest Program I've Ever Written" [2015], Robert Nystrom (http://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/).

#Programming #PrettyPrinting #Dart #CodeFormatting

The Hardest Program I've Ever Written – How a code formatter works (2015) | Hacker News