#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?

DQC45.gif