Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

How to Learn More repl.it

Give Feedback

qmark42 on Feb. 20, 2020

2 points come to mind at the moment. In an on line editor, what kind of security can a person expect for his programs, and do you use the debugging tools very often? I have read that some programmers prefer to just put in a print statement to see how far the program will run, and then go through the code at that point. Thanks for the course, and I’ll finish soon.

Martin Breuss RP Team on Feb. 21, 2020

Good questions @qmark42!

Security

Since your code is stored on someone else’s computers (in this case repl.it’s servers), you are essentially subject to whatever security they are implementing.

The question here is also what type of security are you talking about. Your local computer is save, since everything happens somewhere on a remote server. The worst that can happen here is that someone hacks your repl.it account and, idk, posts an offensive code snippet in your name 😜

By default, your code is public. You can send the URL to anyone else and they can see and even run it. So security in terms of intellectual property is not given. Some online coding environment certainly also have options for private code. Then, however, the security of your code again depends on whatever measures the company implements on their servers.

I wouldn’t suggest writing any larger codebase on a remote dev environment in any case, it is mostly meant for quick platform-independent iteration and for sharing code with others.

So I think the main security issue here is for repl.it to make sure that none of the code that people write on their servers actually breaks something on their machines, and I’m sure they are taking good measures regarding that :)

Debugging

Debugging with print() is very common and I personally do it all the time as well. Especially for very simple pieces of code it is fast and easy to understand.

Debuggers come in handy when the codebase and complexity of your program grows, and it’s certainly worth it to get familiar with the concept early on.

Become a Member to join the conversation.