Content deleted Content added
m Maintain {{WPBS}} and vital articles: 3 WikiProject templates. Keep majority rating "Stub" in {{WPBS}}. Remove 3 same ratings as {{WPBS}} in {{WikiProject Articles for creation}}, {{WikiProject Computing}}, {{WikiProject Software}}. Tag: |
Wawa-nator (talk | contribs) →The mentioned book is horribly out of date: new section |
||
Line 9:
I think this page has too many examples. What do you think about that? [[Special:Contributions/82.58.143.220|82.58.143.220]] ([[User talk:82.58.143.220|talk]]) 11:18, 24 November 2023 (UTC)
== The mentioned book is horribly out of date ==
Well perhaps not out of date (it's only few years old) but the code is not current with the latest version.
For example:
- there is no need to import `ballerina\lang.'int as ints;` because `int` is part of the language and therefore and expression like `int:fromString("4");` just works.
- an `object` is an abstract entity like an interface and cannot be created.
The alternate to this book being dated is that it just garbage - not knowing the history of the Ballerina language or the writer I am assuming that it was correct at some point. [[User:Wawa-nator|Wawa-nator]] ([[User talk:Wawa-nator|talk]]) 01:12, 11 September 2024 (UTC)
|