#45 π¬ Comment and indent code in Qlik Sense
π Because there will always be a next Qlik developer, think of him
π¬ Comment, Indent and keep your code clean
Have you ever had to audit, correct or upgrade an app you didn't write?
I bet you do or that it will be
I also bet you didn't only have kind words for your predecessor. it has often been my case π€¬
The reverse is also true though... π
Indent and comment code is often perceived as a waste of time. We write it down and leave it as it is
Because we think: it's very clear!
Will it still be the same for you in 2 years? not sure.
When you are trained, you are taught about // , /* and Indentation
My tip? π‘ Indent every aggregation function
The benefits are many and real, and make your code :
Readable, maintainable, shareable and headache-free
I confess, I'm not a good player in this field, but I try all the more to pay attention to it.
What's about you? Are you good at it?
What's your advice for good comments and code organization?