[Development] Future of QBS
Konstantin Tokarev
annulen at yandex.ru
Tue Oct 17 12:03:48 CEST 2017
17.10.2017, 12:49, "Konstantin Tokarev" <annulen at yandex.ru>:
> 17.10.2017, 05:06, "Kevin Kofler" <kevin.kofler at chello.at>:
>>> * Its language has native support for properties, with syntax that really
>>> looks like properties in another languages
>>
>> That is what the GET_*_PROPERTY and SET_*_PROPERTIES CMake commands are for.
>> The verbose syntax allows you to see immediately what type of object you are
>> getting or setting properties of.
>
> Try doing some non-trivial operations on properties, e.g. appending value if it is not
> present in the list already, or remove some value from the list, and code quickly
> becomes unhealthy
Not to mention that you have to create temporary local variable every time you simply want
to use property.
--
Regards,
Konstantin
More information about the Development
mailing list