Talk:Ballerina (programming language)

This is an old revision of this page, as edited by Wawa-nator (talk | contribs) at 01:12, 11 September 2024 (The mentioned book is horribly out of date: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Latest comment: 11 months ago by Wawa-nator in topic The mentioned book is horribly out of date

Too many examples

I think this page has too many examples. What do you think about that? 82.58.143.220 (talk) 11:18, 24 November 2023 (UTC)Reply

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. Wawa-nator (talk) 01:12, 11 September 2024 (UTC)Reply