widoz / konomi

A WordPress Plugin to save posts as favorites based on Interactivity Api
GNU General Public License v2.0
0 stars 0 forks source link

Decide which Coding Standard to use #12

Closed widoz closed 6 months ago

widoz commented 6 months ago

If Inpsyde or WordPress coding standard

widoz commented 6 months ago

Definitely Inpsyde coding standard, WPCS does have some rules which are not making it compatible with PSR-4 and I don't like long array declaration form, nore the being more verbose on echoing template values.

These and some other points are making me keep going with the Inpsyde coding standard. The only thing I don't like much nowdays is using camelCase for functions and methods. I think if we talk about readability snake_case is still better, indeed I use this naming convention for my unit tests.