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

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

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

#Artistic_Style #astyle #codestyle #indent #indentation

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

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

Хабр

Immer wieder lese ich Beiträge aus dem Anfängerbereich des Java-Forums und muss feststellen, dass die Grundlagen der Java Konventionen nicht eingehalten werden. Die meisten kommen vielleicht aus anderen Programmiersprachen oder fangen ganz neu mit Java an was die großen Wissensdefizite erklärt.

https://magicmarcy.de/kamele-in-java

#CamelCase #Konvention #lowerCamelCase #UpperCamelCase #CodeStyle

Kamele in JAVA | magicmarcy.de

magicmarcy.de | Programmieren für Einsteiger

magicmarcy.de

Bevor du nicht mindestens tausend Getter & Setter geschrieben hast, verwendest du kein Lombok! Mit diesem Worten meines Kollegen begann irgendwann meine Karriere als Java-Entwickler. Und er sollte damit auch recht behalten … Project Lombok, dass ist eine Java Bibliothek die einem viel Arbeit a

https://magicmarcy.de/project-lombok

#java #lombok #project-lombok #cleancode #codestyle

Project Lombok | magicmarcy.de

magicmarcy.de | tech // it // java // programmer // nerd // 1337 // webdesign // js // php // html // css

magicmarcy.de

Immer wieder lese ich Beiträge aus dem Anfängerbereich des Java-Forums und muss feststellen, dass die Grundlagen der Java Konventionen nicht eingehalten werden. Die meisten kommen vielleicht aus anderen Programmiersprachen oder fangen ganz neu mit Java an was die großen Wissensdefizite erklärt.

https://magicmarcy.de/kamele-in-java

#CamelCase #Konvention #lowerCamelCase #UpperCamelCase #CodeStyle

Kamele in JAVA | magicmarcy.de

magicmarcy.de | Programmieren für Einsteiger

magicmarcy.de
Zig needs to add a hard copiler error for using spaces for indentation instead of tabs, because it is a #footgun to use a non-flexible indentation, and also for writing too many comments in one place because if you can't read the code to understand, you already have too many #footguns , and you are a bad programmer, and you have to stop programming, as we have stated in zig zen "Focus on code rather than style.
", this is not about style. #zig #ziglang #Zigtools #programming #codestyle

Everyone so far seems to respond positively on the idea. OK.

But, for this to work without friction, doesn't that require a quite precise #codestyle? Otherwise, there's going to be some poor sod that configures his editing process as well as possible, and then fights with the CI 'cause they have different ideas.

...

Automatic #programming #codestyle #enforcement, what do y'all think or feel regarding that?
Max Leiter

and we knew this back in the 80s

Max Leiter's website

I like coding convenience, so I always try to promote unpacked parameters when it's feasible, especially strings.

✅ The dev uses multiple parameters
✅ The dev uses a single array
✅ The dev unpacks an array

When I need the function to accept two types of parameters, I never use unpacked parameters (because these SHOULD be the same type).

#Programming #Coding #Code #Software #SoftwareDevelopment #WebDevelopment #WebDev #PHP #CodeStyle