+ 19

SoloLearn Code Playground user input mechanism needs improvement

When I run programs on code playground the page requires all input to be entered upfront. It would be great if the input can be entered during the execution of the program when needed similar to what happens with every major IDE / editor. Code Playground is great but could be even better. What do you think?

17th Nov 2017, 7:15 PM
Red Hawks
Red Hawks - avatar
16 Answers
+ 34
SoloLearn is for user to learn the basics of programming languages. If somebody wants to make advanced code, he/she can test it local and post it here. So I agree with @Jamie.
17th Nov 2017, 9:05 PM
Worm
Worm - avatar
+ 32
but then you need a permanent internet connection or a client siede execution. What is about a virus???
17th Nov 2017, 7:27 PM
Worm
Worm - avatar
+ 31
or the SoloLearn App was build as a sandbox.
17th Nov 2017, 7:31 PM
Worm
Worm - avatar
+ 26
tell Sololearn [email protected]
19th Nov 2017, 6:01 AM
Nithiwat
Nithiwat - avatar
+ 10
As for what I think, I think it's something that's tricky for anyone that does it and there is a lot to consider for the safety of your users and your servers. The code is being compiled and executed on their servers, rather than on your local machine. This is why it's severely restricted compared to what you can do on your own computer. As well, this is open to the public and to everyone in the world, which is a lot of people (19 million last I counted) using SoloLearn. Imagine if I decided to write malicious code and posted up the link for you all, and Code Playground did nothing to prevent me from harming you all. Since SL is free, I could create another account and keep doing that to cause harm to the users of SL and potentially their servers. I understand completely what you're saying though, and I've even seen other sites that were able to accomplish that. However, it's what we have here for now, and their main focus is on adding more content that we all want. I'm sure they'll eventually evolve all of their systems, but for now it's what we got.
17th Nov 2017, 7:24 PM
AgentSmith
+ 9
I truly agree. Perhaps we need to program our own input box.
18th Nov 2017, 10:13 AM
Programmer Jr.
Programmer Jr. - avatar
+ 6
Analyze it. How would this be done? (If you're not sure, I can work through it with you -- it's an opportunity for me to see something new, too)
17th Nov 2017, 7:20 PM
Kirk Schafer
Kirk Schafer - avatar
+ 6
Just not that, there's much room for improvement. It's servers are A BIT slow too. And no GUI programming for Java, even in the presence of cross platform stuff like LibGDX.
24th Nov 2017, 11:07 AM
Taabeer Murtaza
Taabeer Murtaza - avatar
+ 5
I've thought of this severally,the code playground needs a serious upgrade.Sometimes i found out some things work on codepen.io but fail here thereby I can't work on that code!
17th Nov 2017, 8:19 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 3
C++ Shell cpp.sh is a good example. Input / output is handled quite nicely. Hope we can have the same interaction on code playground.
17th Nov 2017, 7:30 PM
Red Hawks
Red Hawks - avatar
+ 3
complex codec improvment by the java 9 https://code.sololearn.com/c5v7k68877xw/?ref=app
18th Nov 2017, 10:48 AM
Aks6Dark
+ 3
I emailed this question to SoloLearn last week. No response yet.
25th Nov 2017, 9:26 PM
Red Hawks
Red Hawks - avatar
+ 1
I hands down agree with @Netkos Ent on this. great answer man
18th Nov 2017, 9:53 AM
Jacob Mathew
Jacob Mathew - avatar
- 1
How to add multiple input in code playground
1st Jun 2020, 9:19 AM
Sai Shreyansh
Sai Shreyansh - avatar
- 1
For python
1st Jun 2020, 9:19 AM
Sai Shreyansh
Sai Shreyansh - avatar
- 5
o
18th Nov 2017, 9:21 PM
dsmrphn
dsmrphn - avatar