Re:Ballerina: An open-source programming language for the cloud
by sanjiva on Saturday October 30, 2021 @08:26AM
(#29048240)
There's a lot of focus on testing in Ballerina: https://ballerina.io/learn/testing-ballerina-code/writing-te...
Re:Ballerina: An open-source programming language for the cloud
by latchkey on Saturday October 30, 2021 @09:54PM
(#29053835)
I stand corrected. Thank you.
Re:Ballerina: An open-source programming language for the cloud
by hderms on Friday October 29, 2021 @02:10PM
(#29041721)
yeah all the other stuff is fluff if a language doesn't have a compelling story about tests. As much as I love static typing and algebraic data types, they don't really prove that the behavior of the code is actually what is expected.
Doubly so with a language that attempts to bring distributed programming to the base level of the language. How do you test distributed programs in a way that simultaneously doesn't require everything to be an integration test but also gives you certainty that you aren't creating loads of bugs? This is an example of something Ballerina could have excelled at if it was given priority.
Everyone shrugs off writing tests and I can't tell you how many times it has saved my butt. Especially with brining new developers onboard a complicated system.
I'm building software that runs on thousands of machines. If it doesn't have automated tests, how can I reliably deploy it?