Talk:Ballerina (programming language)

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

Too many examples

edit

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

edit

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