r/CodingForBeginners • • Nov 03 '26

Query about offline coding environments

A follow up question about my questions about Systems/electrical engineering query

With all of the happenings in the world, I am seeking advice about how to build things offline without an internet connection

I do realise a lot of the world uses things like GitHub, but I am wondering if there is an another way to do this offline to prevent someone from getting into my stuff, my own Github account is completely private

For some reason my laptop is suddenly refusing to connect to the internet at the moment, and I have no idea how to fix that (I'm on my mobile)

I am primarily looking at environments or programs for coding related to S/E, but I am also open to people mentioning other kinds for the benefit of other beginners looking through the thread for advice on the same subject

My own question is about Python environments, and code used in Systems engineering, and Telecommunications, things like Crystal radios etc

2 Upvotes

16 comments sorted by

View all comments

1

u/StrayFeral Nov 04 '26

Let me clarify something - GitHub is just a website which offers a place to put your code. It is not required to be public - you can make it private. Also - in case someone gets into your account - you will not have there code for NASA satellite positioning and landing probes on Mars, so you're fine to go.

Second - concerning GitHub - on your phone you can install things like Google Authenticator (if you're on an iPhone there are similar things) to let GitHub authenticate with it. So it would be difficult for anyone to get into your account.

Third - if you still want to be completely offline, you don't need GitHub. What GitHub uses under the hood is called Git - it is free and works completely offline primarily. It can operate online too,but the primary use of Git is offline mode. The online mode is just for syncinc with a remote repository. But if you never do it, it will work entirely locally.

All thus said is to disperse your concerns. You are totally fine to keep your code locally. The issue is what happens with your code if the medium it is located fails. Like for example your laptop gets broken or stolen. Or if you keep it on a flash stick - if the stick gets corrupted or lost or your dog chews it and breaks it.

You are not even required to use git. In the past we simply used copy or making zip files. It was all fine and all offline.

The huge benefit of Git is to keep your code safe, organized and able to investigate problems, track changes, rollback changes if you have to. You are free to explore older alternatives, just like Subversion (SVN), Bazaar and even CVS if you want to. And even just simple ZIP files. But git is the way to go.

Ah forgot to mention I am a professional developer with nearly 20y of experience in corporations.

Now about Python - honestly you don't need much here. You are totally safe to go with light editors. If you want to try something heavy, go with VSCode or Pycharm. I personally go with VSCodium because it goes without the Microsoft stuff.

But I use a tripple-editor setup: VSCodium, Geany and vim. And reason for this is each have specific features I need. I will not go into details.

Lightweight editors: Geany, Notepad++, vim, neovim and many others.

Most newbies go with Notepad++. I would advocate for Geany as it is cross-platform. Not sure about Notepad++.

vim is also cross-platform. Whatever you do, learning vim is a really useful thing to do.

You can try neovim, but compared to vim it is more difficult to setup. Not for me.

Ah forgot - you can try emacs. There is a centuries old war between vim and emacs. Emacs is used by scientists a lot. But it is a bit of a different beast.

I use vim.