Is it guaranteed that the code styles will not evolve ? #415
-
Currently I'm using ktlint as a code formatter but the biggest problem is that I cannot fix the version of the intelliJ plugin. So my plugin's rules are not the same as the one in my CI since I have two different versions. I'm looking to migrate to an other formatter and ktfmt caught my attention. I'd like to use a 4 ident style format so I will be using DROPBOX_STYLE. However I'd like to know what will happen if that style will evolve ? Is it a fixed code style and won't be changed in the future ? Or maybe one day the style will change to 2 indent per say and I'll have to reformat my entire codebase again ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Code style evolves but there are different ones. For example the official Kotlin style uses 4 spaces and only if the official specs change to 2 spaces ktfmt would change. |
Beta Was this translation helpful? Give feedback.
Code style evolves but there are different ones.
For example the official Kotlin style uses 4 spaces and only if the official specs change to 2 spaces ktfmt would change.