What's the reasoning behind “part” and “part of” in Dart libraries?

后端 未结 2 1247
孤城傲影
孤城傲影 2021-01-17 08:46

I was wondering what the reasoning is behind the way libraries and their content are defined. More specifically, a library needs to list all parts and the parts need to stat

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-17 09:22

    You can find some informations in this thread.

    From Gilad Bracha :

    Originally, parts were not tied to their libraries. People complained because it was difficult to give good tool support (i.e., what scope are you in when you open a part but not a library that uses it?).

提交回复
热议问题