this post was submitted on 13 Feb 2025
490 points (95.5% liked)

Comic Strips

14165 readers
3550 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] sxan@midwest.social 137 points 1 week ago* (last edited 1 week ago) (7 children)

That's what mobile phones are for.

And, also... has it really gotten to the point where developers are unable to write code without the internet?

[–] dan@upvote.au 62 points 1 week ago* (last edited 1 week ago) (1 children)

I think coding offline, without reference material, is mostly a lost art.

That's how I learnt when I started - I didn't have internet access (wasn't very widespread in Australia yet) and didn't have any books. Had to learn everything through trial and error plus any sample code that came bundled with the IDE.

I think these days, there's more abstractions and a much larger reliance on third party packages that don't come bundled with documentation. This is especially the case with languages like JavaScript, where the standard library is missing so much stuff that practically any app larger than "hello world" pulls in a bunch of third party libraries.

It's still possible to write apps without any third party libraries (like in C# which has a fantastic standard library, .NET), but offline documentation (like the old MSDN CDs) has mostly gone away too.

[–] sxan@midwest.social 14 points 1 week ago (1 children)

I've been programming in Go for over a decade now, and unless I need to add a new dependency - which is almost never, and nearly always at the start of a project - I don't have to go online for anything. All of the docs - including for the dependencies - are there locally. The only place it hurts is if I'm being lazy and wanting to look online for example code to steal, rather than figure it out myself. That's pretty rare though.

There is an area that requires internet, though, and that's usually around specifications. I've been fighting with dbus and mpris lately, and have been spending more time with the browser than the editor. I'm not sure whether I'd be able to make any progress without examples; I'm developing a love/hate relationship with dbus - it's so absurdly convoluted and seems unnecessarily complex. Only the fact that it hasn't been replaced by something better keeps me believing all of the byzantine metadata crap is somehow necessary. Fucking CORBA isn't this obtuse.

Anyway, maybe she's having to do something with dbus, or trying to understand a Rust compiler error message. Then I can see why she might be blocked by having the internet down.

[–] Venator 0 points 1 week ago

Plz go (j/k) 😜

[–] ObsidianZed@lemmy.world 11 points 1 week ago

Yeah I thought this was going to go somewhere along the lines of ChatGPT being unavailable.

[–] criss_cross@lemmy.world 7 points 1 week ago (1 children)

Some companies have everything hosted in a server and you code there. It's awful but it's out there

[–] sxan@midwest.social 4 points 1 week ago (1 children)

Yeah, I guess. I also forgot about that low-code/no-code fad that went around a few years ago. I'll bet some companies are still stuck with those shitty decisions.

[–] amon@lemmy.world 2 points 1 week ago (1 children)

Hahaha... wait nocode isn't a joke?

[–] sxan@midwest.social 2 points 1 week ago
[–] brian@lemmy.ca 5 points 1 week ago (1 children)

Personally, I've never downloaded documentation of a programming language, and certainly not any third party libraries.

[–] sxan@midwest.social 3 points 1 week ago

It's probably language dependent. I used to download Java API docs for faster reference, when I did that for a living. Now I've been using Go for a decade and API docs come as part of the packages.

I mean, is your LSP really calling out to the web every time you pull up a function signature documentation in your editor? That must be frustratingly slow, and inefficient. What language LSP does that?

[–] samus12345@lemm.ee 4 points 1 week ago (1 children)

Yeah, I go through a similar process when my internet's out at home and my brain goes straight to "use phone."

[–] sxan@midwest.social 3 points 1 week ago

Shit, there have been times when I've just hot-spotted my desktop through my phone.

[–] AnUnusualRelic@lemmy.world 3 points 1 week ago

The language documentation is installed alongside the language packages.

[–] shadowedcross@sh.itjust.works 3 points 1 week ago

And they're using laptops so they could just use the phone's hotspot.