+ 1

Codeplay input formatting

I think you should make code playground more interactive so that users dont need to give input before running program. He may able to give i/p at the place where it is needed that will be easy for us to get the code

2nd Jul 2018, 8:00 PM
Adarsh Srivastava
Adarsh Srivastava - avatar
8 Answers
+ 3
certain languages allow a set selected condition for such and others a form while certain languages require initial input ~ the playground works well as constucted.
2nd Jul 2018, 8:21 PM
BroFar
BroFar - avatar
+ 2
KrOW BroFarOps brothers there are many online platforms that takes input when needed not initially
3rd Jul 2018, 5:24 AM
Adarsh Srivastava
Adarsh Srivastava - avatar
+ 2
Adarsh Srivastava your example led to a form which I pointed out ~ am I confused
3rd Jul 2018, 5:37 AM
BroFar
BroFar - avatar
+ 1
Adarsh Srivastava Its not simple (if not impossible) do this because compilation/interpretation happen on SERVER and not on client
2nd Jul 2018, 9:02 PM
KrOW
KrOW - avatar
3rd Jul 2018, 5:30 AM
Adarsh Srivastava
Adarsh Srivastava - avatar
0
Can you make an example?
3rd Jul 2018, 5:25 AM
KrOW
KrOW - avatar
0
repl.it work in different way than SoloLearn... In SoloLearn when you run a code, your browser send a request to SL server (except for Web codes) then SL interpret/compile your code and send you a response (the output). On repl.it all happen on CLIENT (your browser do much more work, it interpret/compile codes and run they). Either obviously have pros and cons
3rd Jul 2018, 6:41 AM
KrOW
KrOW - avatar
0
EDIT: I see deeply repl.it and seem that some languages run directly on browser, others run like SL (on server side) and make interactive input thanks to an persistent websocket connection (while script is runned) that "comunicate" with the client for "update it". Its good but make all comunications more hard to maintain
3rd Jul 2018, 6:54 AM
KrOW
KrOW - avatar