re: The shortest way to conditional insert properties into an object literal VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

I don't criticize the use of idiomatic code (I often use it, too) but the emphasis on the shortest way.
It seems to encourage the writing of compact or idiomatic code at any cost, and it is not always the best choice.
As with natural language, if you use very strict jargon, you reduce the number of people who are able to understand it with little effort.

The shortest way means only one thing: fewer characters are required.
The second part you deduced is your personal interpretation of the title, which obviously does not reflect my thinking at all.

No problems 😃!

See you at the DevFest, with peaceful intentions of course 😝

I've never had any non-peaceful intentions :-)
See you at the DevFest!

code of conduct - report abuse