Comments (3)
Agreed on that we need visibility levels, yet to finalize keywords.
from ballerina-lang.
Based on the discussion held on 21/11, our current state is as follows,
- We need to have visibility levels.
- All functions of a package is visible to everywhere in the same package
- No relationship with files and visibility levels of functions, everything is decided based on the packages
- By default no function is visible outside the package, if we want we can make them visible by adding keyword 'public' or similar keyword.
- Keyword to make the function visible to outside is not yet finalized
- Still we have no agreement on visibility of Resources, we know that it is visible to the external world, but not decided on whether we need visibility levels for Resources within Ballerina code.
from ballerina-lang.
Keyword is "public"
Visibility of the Resources, is something we don't need to worry about as they are not callable.
from ballerina-lang.
Related Issues (20)
- [Improvement]: Fix delay in code completions during VSCode startup.
- [Bug]: Alternate receive worker message passing hangs for nil return
- [Improvement]: Reorder top level node list
- [Bug]: When a transaction is marked for abort, the `xa_rollback()` is called on resources while the transaction is still in ACTIVE state.
- [Bug]: Remove `generateRecordDefaultFPLoadIns` instruction and add default values of record in to `typedesc`
- [Bug]: Getting `Idle timeout triggered before initiating outbound response` when doing load test
- [Bug]: Desugar crashes for mapping binding pattern in destructuring assignment with error binding pattern
- [Improvement]: Reduce the overhead of using `foreach` loop
- [Improvement]: Improve error message when there is a mismatch in worker send and recevie pairing
- [Bug]: Linkage error when loading interface implementation of a compiler plugin from a Ballerina Tool HOT 1
- Validate customer migration details HOT 1
- [Task]: Investigate the delay in the initial startup of the Eggplant project
- [Bug]: Testerina code coverage report does not allow horizontal scrolling
- [Bug]: Project fails when there are global variables declared with client invokes
- [Improvement]: Improve error message for multiple receive error return
- [Bug]: Add `error:NoMessage` only if it is there in the all the receive types in `alternative-receive-action`
- [New Feature]: Add parser changes for `stream-receive-action`
- [Task]: Create a comparison doc for XML navigation expressions with XPath
- [Task]: Codegen optimization for Ballerina
- Compilation error while pull the package ballerinax/github HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ballerina-lang.