![]() ![]() ![]() In computer science, syntactic sugar is syntax within a programming language I think this is a bit odd and also confuses people, especially since anyĪctual definition I’ve found is generally positive, such as this one from In other cases when peopleĬall something syntactic sugar, it’s often in a context that’s somewhat ![]() Of those features and justify their existence. So while the above two examples both argue that both Javascript classes andĪsync/await aren’t syntactic sugar, they also kind of come to the defence Maybe it even suggests to me that the language would be fine without. That are ‘just’ syntactic sugar, aren’t quite as important as features thatĪren’t. JS classes are not “just syntactic sugar”.Why Async/Await Is More Than Just Syntactic Sugar.Ever so often the term ‘syntactic sugar’ comes when people discuss languageįeatures, and it’s not uncommon to see the word ‘just’ right in front of it ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |