-
Notifications
You must be signed in to change notification settings - Fork 2
unique behavior of puts #170
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingdiscussionThings to discuss in order to improve the languageThings to discuss in order to improve the language
Description
While puts is useful for debugging, it can not really be used for writing stuff to the terminal. The main reason for that is how strings are handled. Lets discuss whether this should change or it stays this way and we add another simple way of writing to the terminal.
// what you get
🚀 » puts("1\n2")
"1\n2"
» nil
// what you expect
🚀 » puts("1\n2")
1
2
» nil
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdiscussionThings to discuss in order to improve the languageThings to discuss in order to improve the language