diff options
author | Louis Pilfold <louis@lpil.uk> | 2024-03-26 11:36:11 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-03-26 11:36:11 +0000 |
commit | 04ec0d86c8b43d1cca48adc937b3e596a10577a1 (patch) | |
tree | 8624097a135e0e879588279eed82c4c2f82bfbab /src/content/chapter0_basics/lesson02_unqualified_imports/en.html | |
parent | 9250d4324073874d393282c941f9981ce2686680 (diff) | |
download | tour-04ec0d86c8b43d1cca48adc937b3e596a10577a1.tar.gz tour-04ec0d86c8b43d1cca48adc937b3e596a10577a1.zip |
Improve introduction of modules and imports
Thanks @RyanBrewer317!
Diffstat (limited to 'src/content/chapter0_basics/lesson02_unqualified_imports/en.html')
-rw-r--r-- | src/content/chapter0_basics/lesson02_unqualified_imports/en.html | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/content/chapter0_basics/lesson02_unqualified_imports/en.html b/src/content/chapter0_basics/lesson02_unqualified_imports/en.html deleted file mode 100644 index 8fda45e..0000000 --- a/src/content/chapter0_basics/lesson02_unqualified_imports/en.html +++ /dev/null @@ -1,15 +0,0 @@ -<p> - Normally functions from other modules are used in a qualified fashion, with - the module qualifier before function name. For example, - <code>io.println("Hello!")</code>. -</p> -<p> - It is also possible to specify a list of functions to import from a module in - an unqualified fashion, such as the <code>println</code> function in the code - editor. Because it has been imported like this it can be referred to as just - <code>println</code>. -</p> -<p> - Generally it is best to use qualified imports, as this makes it clear where - the function is defined, making the code easier to read. -</p> |