user input before running code in codeplayground restriction | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

user input before running code in codeplayground restriction

Don't you think that codeplayground limit user coding to something that just works when the user entry the data only before the code execute? I like to code programs that interact more than once wtih the user.

10th Jan 2018, 4:12 PM
Federico Toledo
Federico Toledo - avatar
5 Answers
+ 24
yes //but some users have found ways to deal with that to a good extent
10th Jan 2018, 5:02 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 5
@Gaurav, true, some sololearners are really creative to overcome the limitations : )
10th Jan 2018, 5:34 PM
Ipang
+ 4
It's actually a wise decision I guess, collecting all necessary input and send them along the code to be processed means one transaction and one traffic, another activity would happen only after the code completed, be it with success or failure. Contrary, interactive means get the input on demand, means more transactions on the server and more traffics to send data back and forth, to and from server, which eventually means, more workload for the server. For a few connections this is fine, but for the many SL users to do that at almost the same time?
10th Jan 2018, 4:40 PM
Ipang
+ 4
Thatā€™s why I do most of my code in Visual Studio.
10th Jan 2018, 8:50 PM
Jacob Pembleton
Jacob Pembleton - avatar
+ 3
yeah, i know SL is big and it would be pretty much data being processed at the same time but it limits your coding, although there are nice and creative codes in the community
10th Jan 2018, 4:46 PM
Federico Toledo
Federico Toledo - avatar