-
My questions are regarding readability for developers coming from other languages, related to this design tenet
I looked at the issues and discussions to see if there was information related to my questions but didn't find any. When looking at the example on the home page, the first statement has the
and then in the details about the module system it says
In both places, the word to express the semantic of Questions
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Choice of keyword here is deliberate. An import/include/bring statement is used to fetch code that’s elsewhere and make it available here. My theory is that, the bring statement is often the very first thing you’d notice in a source code online, and if it’s alien enough, you are more likely to look it up and go “hey what language is that?”. Which by the existence of this ticket, it proves my theory was right :) Aside from that, I have design plans for bring’s future. Been experimenting with the concept of bundling raw source code as JSII modules during compile time. |
Beta Was this translation helpful? Give feedback.
Choice of keyword here is deliberate. An import/include/bring statement is used to fetch code that’s elsewhere and make it available here.
My theory is that, the bring statement is often the very first thing you’d notice in a source code online, and if it’s alien enough, you are more likely to look it up and go “hey what language is that?”.
Which by the existence of this ticket, it proves my theory was right :)
Aside from that, I have design plans for bring’s future. Been experimenting with the concept of bundling raw source code as JSII modules during compile time.