Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b.println() should allow multiple parameters #216

Closed
trych opened this issue Nov 13, 2017 · 6 comments
Closed

b.println() should allow multiple parameters #216

trych opened this issue Nov 13, 2017 · 6 comments

Comments

@trych
Copy link
Contributor

trych commented Nov 13, 2017

b.println() should allow for more than one parameter. At the moment, it just prints the first parameter to console.

Also, and this is a question, not a suggestion: p5.js replaced println() by just print() (and therefore removed a dedicated print() method). Processing still has both. Would it make any sense to replace the b.println() command by b.print() for easier typing?

@b-g
Copy link
Member

b-g commented Nov 13, 2017

At the moment I would vote to have both ... to have maximum compatibility with p5 and processing.

@ff6347
Copy link
Member

ff6347 commented Nov 13, 2017

Me to. Also print should be equivalent to $.write wit no new line

@trych
Copy link
Contributor Author

trych commented Nov 13, 2017

Ok. Not sure, if I've ever seen someone use b.print(), but no harm in leaving the methods as they are.

Then we should just allow for multiple parameters.

@ffd8
Copy link
Member

ffd8 commented Nov 13, 2017

Also vote for definitely keeping b.println() – b.print() doesn't hurt to have a version that doesn't auto add the new line.. but also never use it myself, since println is soo useful!

@ff6347
Copy link
Member

ff6347 commented Nov 28, 2017

+1 on the multiple parameters. :-)

@trych
Copy link
Contributor Author

trych commented Dec 8, 2017

Implemented via #235.
Closing.

@trych trych closed this as completed Dec 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants