Интеграция утилиты Artistic Style в скрипт сборки прошивки

Есть утилита для автоматического выравнивания отступов в исходных кодах. Называется astyle.exe. В этом тексте я покажу, как работать с утилитой Astyle.

https://habr.com/ru/articles/1004610/

#Artistic_Style #astyle #codestyle #indent #indentation

Интеграция утилиты Artistic Style в скрипт сборки прошивки

Программирование микроконтроллеров это не только написание прошивок, но и программирование самого процесса сборки. Для этого есть целые языки: make, cmake, ninja и прочее. Это дает больше гибкости в...

Хабр

I'm falling in love with this weird curly-braces style. I don't know what to call it. The indentation in 2 characters wide.

void weirdy()
..{
....printf("I know I'm weird\n");
}

#C #indentation

Use a backslash to add indentation or your code errors.

#coding #python #indentation

Yes..
#Python s #indentation craze is annoying

Had to fix a code renderer recently cause py will no longer work without its beloved "my precious" indents ..

https://www.quora.com/What-are-the-reasons-for-people-complaining-about-Pythons-indentation-based-syntax-Is-there-a-more-modern-language-that-they-could-be-using-instead

  
#repost •acws #acws

#Development #Techniques
Responsive ‘tab-size’ · Code indentation meets responsive design https://ilo.im/168dkg

_____
#Tabs #Indentation #Code #Content #Blog #ResponsiveDesign #WebDesign #WebDev #Frontend #CSS

Responsive tab-size

There exists a not well-known CSS property: `tab-size`. It sets the width, in spaces, of the tab indentation, usually found in code blocks of authors who use tabs instead of spaces (good job, authors). However, who says that this value should be static?

I'm researching for a rewrite of our OData tutorials in our SAP Developer Centre and came across this example of an Atom feed (you know the connection, right?). I cannot unsee the absolute randomness of indentation here, so I thought it only right that I share it here. #XML #Indentation #Atom #OData

What's a command-line tool to hard-wrap a file but preserve #indentation ?

(No, I'd never hard-wrap anything willingly, but sometimes you have to bow to evil in order to achieve greater good.)

#wrapping #linux #opensource #terminal

I have #legacyCode with #indentation switching arbitrarily between 1 and 2 spaces
I shit you not

I do not love my job every single day.

This is what I imagine people's code looks like when they complain about the forced indentation in #python.

And yes, this code is correct.

#programming #c #formatting #indentation #tabsvsspaces #whitespace #developers #developerexperience #debugging #fail #goodluck

Judging a programming #language based on whether it uses #braces or #indentation for block scoping is like judging a dinner course by the shape of the pot it was cooked in.

#python #dinner #dish #course #block #scope #syntax #programming