Live data from Hacker News

Ask HN: Can you program without an Internet connection?

news.ycombinator.com

11–20 of 28 posts

Re: Ask HN: Can you program without an Internet connection?

#11
I don't have any concern over having to use the internet to reference things or find samples that save time.

In the 90's I had a large book collection that I used for learning and for reference which served similar purposes. That plus the man pages and SDK docs you got with libraries was basically your goto. And even then, we still had programming forums (BBS) and usenet for finding help and samples.

Oh and if/when you did Microsoft programming keeping the MSDN docs on your machine was an option, which was like 4Gb if you installed it all.

FWIW: I do fairly often write code without internet but if I am using a library I am unfamiliar with or need to do something that is less common I'll save some docs or key web pages locally to help me.

Re: Ask HN: Can you program without an Internet connection?

#13
I almost want to ask if this is a real question.

Obviously, things have changed since then, but there was a time that not everyone had 24/7 always-on access to the Internet. Really, that's only a recent thing. How do you think programming took place -- across a generation or two -- before then?

In my case, it was 1999 before I was able to get an Internet connection that wasn't dial-up Internet -- but I lived in a small, rural town in the midwest, not in a major city. I was the first person in our area (perhaps a 30 mile radius) to have an "oh-my-$deity-this is-so-amazingly-fast" 768k/128k DSL line (besides the two guys who ran my ISP) as I knew them and they asked if I would, effectively, be a "beta tester" to make sure things were working as they 2were supposed to be before they started offering the service to customers.

So, yeah, before then it was possible to program without a Internet connection. That was the "default", normal situation, in fact. We had (dead-tree) books, for example, and could telephone other people, there was FIDOnet ("before Internet"), Usenet ("after Internet"), e-mail and mailing lists and, eventually, even the web (from 1991 on, of course). Plenty of programming happened without Internet access before then (in fact, all of it did, basically).

Of course, some programming is more complicated nowadays, when you need a library for every little thing you do, so I suppose programming without an Internet connection might not be possible if you need to download a library for for .. loops or something.

(By the way, when I was in high school, I'd write code on paper (whatever program I was working on at the time) while sitting in class. When I'd get home after school, then I could type it in on the computer.)

Of course, if you are one of those "programmers" who have to stop and Google something afte every five lines of code, well, it's probably not possible.

Re: Ask HN: Can you program without an Internet connection?

#14
When I took my long term "sabbatical", I got some of my best programming done in a park without any internet.

Occasionally I'd look stuff up on my phone, but since it's a Palm Phone with a 3.3" screen and not very much battery life, I didn't do it very frequently. Every so often I'd need to download libraries and whatnot, or I'd really get stuck on something, so I'd head home or to a coffee shop to continue.

But yes, I'd say more often than not, I had a great time programming without the internet, even though one of my targets was the web.

Re: Ask HN: Can you program without an Internet connection?

#15
I work on sensitive government materials. One of the rules is that development occurs on an airgapped system. If I want to check the internet, I need to leave the room and retrieve my phone from a lock box.

Occasionally I need to do that, but for the most part, we get by without. We also make a point of having an offline copy of all reference manuals and other documentation we might want.

We also have source code of all of our dependencies, which helps.

Re: Ask HN: Can you program without an Internet connection?

#16
It has been studied and found that your brain will remember where to externally find data when it knows that it can rely on that external source. You can program without an Internet connection, but you have to practice doing it so your brain can adjust (it will).

https://scholar.harvard.edu/files/dwegner/files/sparrow_et_a...

Re: Ask HN: Can you program without an Internet connection?

#17
> Am I even a competent developer if I have to use the Internet every five minutes to code?

It just means you are slowed down by the need to look things up. Do you consider speed part of competency?

The ability to look everything up on the internet didn't appear until the late 90's. I finished my BSEE + MS CompSci degrees before 1994, effectively without the modern internet. We had manpages. And enormous books. All that's really changed is most pop languages don't have manpages, but at least we aren't killing forests for the X specification printouts!

Re: Ask HN: Can you program without an Internet connection?

#19
You got yourself in a mental trap from formed habit. You say you didn't want to "reinvent the wheel", but in reality you didn't want to do the work. You wanted to replace 10 minutes of thinking about the problem and writing the solution with 10 minutes of Googling for the solution and copy/paste.

Just stick with it. Before long your router will shit itself, be off all day and you don't even notice. Have essential documentation like MDN offline.

Re: Ask HN: Can you program without an Internet connection?

#20
I've used this exact use case (can you do X without internet) as an example to explain why I like Go so much. I can write Go without internet no problem. I barely ever have to look up how things work and the libraries are simple enough to dove in myself if I don't understand something.

Developing Android, however, is entirely impossible without stack overflow, because the libraries and paradigms and hacks and workarounds make it impossible to produce something working.

Post reply on HN