D28666: Refactor for loops
Carson Black
noreply at phabricator.kde.org
Wed Apr 8 14:50:00 BST 2020
cblack added a comment.
In D28666#644079 <https://phabricator.kde.org/D28666#644079>, @ngraham wrote:
> I'm not a Javascript expert, but the old/current versions seem much more readable to me. Is there a performance advantage to your proposed new versions?
No, the main point is writing idiomatic JavaScript. To people familiar with idiomatic JavaScript, these constructs will immediately let them know what's going on instead of them having to parse a multiline structure.
REPOSITORY
R169 Kirigami
REVISION DETAIL
https://phabricator.kde.org/D28666
To: cblack, #kirigami
Cc: broulik, ngraham, plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, apol, ahiemstra, davidedmundson, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200408/d7df7261/attachment.html>
More information about the Plasma-devel
mailing list