This slide deck explores how Ballerina helps software developers build microservices and solve integration problems without compromising on development and scalability.
9. Features
● Native Data Types
● Parallel Processing
● Service Interactions
● Secure Coding
● Graphical Representation
10. function secureOp(@sensitive string param) {
/* the parameter "param" is guaranteed to be not tainted */
...
}
function main(string... args) {
secureOp(args[0]); // compiler error
if (isClean(args[0])) {
secureOp(untaint args[0]); // explicitly untaint the data
}
// function is signalling it returns untaint data
secureOp(cleanit(args[0]));
}
function cleanit(string param) returns @untained string {
// sanitize the data and return it
...
}