Comments (4)
Most languages don't have Println builtin
Actually many do
- Python
- Javascript
- Kotlin
- Lua
- Swift
- PHP
- Ruby
- ...etc.
I think we should follow this.
What will we get from this except the need to import? I personally never like the need to import fmt
in Go to make basic IO stuff.
BTW Go has builtin print
function (it's never used tho)
from neva.
I think we should keep builtin as small as possible and packages more grouped. We should decide what package is for what and break off pieces into those packages.
from neva.
I agree that some stuff could (and maybe should) be moved from builtin
somewhere else, but I'm not sure about Println
.
builtin
package currently serves 2 purposes:
- compiler is aware of that package and uses knowledge about its structure in analyzer and desugarer
- things that are used frequently (I personally think that printing comes to this section)
Also, if there would be strong arguments for moving println out of builtin, then the question arise - should it be io
? Why not e.g. create fmt
like Go does? I believe there are other languages with this structure (e.g. Odin)
from neva.
Related Issues (20)
- Inconsistent output inside `For` with branching HOT 7
- Match allows array-port overwrite HOT 1
- Consistent naming for boolean components
- Alternative syntax for outports (network nesting) HOT 4
- `Zip` component HOT 2
- Iter should support strings HOT 3
- Race-condition with fan-in pattern HOT 3
- Force Outport Operator HOT 3
- Data processing components out of the box
- `Find` component HOT 1
- `Has` component HOT 2
- `Collate` component
- Reduce noise when using ports by replacing `:` with `.` HOT 1
- HTTP Client
- Improve struct field selectors syntax
- Reduce as higher order component for binary handlers HOT 1
- Move Lock to sync
- Alternative `nodes` syntax HOT 1
- `os.Args` has no inports
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 neva.