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 | tech // it // java // programmer // nerd // 1337 // webdesign // js // php // html // css

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

Мне всё равно, какой у вас код-стайл

Привет, Хабр. Меня зовут Рогатнев Сергей. Я работаю в Контуре ведущим разработчиком уже более 7 лет. За это время я поработал как минимум над десятью разными проектами в разных командах. Это были и проекты с историей на 10 лет, и стартапы, делающие свои первые шаги. Где-то я был всего 2-3 месяца, а где-то задерживался на пару лет. Такой формат работы позволил мне увидеть совершенно разные подходы к работе и написанию кода. За это время я адаптировался к переходам и смене команд, но мой собственный code style практически исчез, потому что нет двух команд с одинаковым стилем. В этой статье я хочу показать вам примеры таких холиваров, которые я встретил работая над разными C#-проектами.

https://habr.com/ru/companies/skbkontur/articles/879706/

#c# #codestyle #code_style #стиль_кодирования

Мне всё равно, какой у вас код-стайл

Привет, Хабр. Меня зовут Рогатнев Сергей. Я работаю в Контуре ведущим разработчиком уже более 7 лет. За это время я поработал как минимум над десятью разными проектами в разных командах. Это были и...

Хабр

My rules on PHP:

- Class constants: SCREAMING_CASE
- Enum cases in StudlyCase

End of discussion

#PHP #Programming #CodeStyle #Coding #WebDevelopment #WebDev #SoftwareDevelopment #AppDevelopment

Any recommendations for PHP code linters or static analysis tools?

#php #codestyle #softwareengineering