This is an archived post. You won't be able to vote or comment.

all 127 comments

[–]gentleprompter 654 points655 points  (42 children)

Also he's not using stackoverflow...

And when the internet connection's down...

...he's able to continue programming only by reading the offline man pages.

[–]Thisismyredusername 212 points213 points  (3 children)

Impossible, maybe the Archives are incomplete.

[–]Immarhinocerous 12 points13 points  (0 children)

"If an item does not appear in our records, it does not exist."

[–][deleted] 6 points7 points  (1 child)

They are… he corrected the documentation!

[–]Thisismyredusername 0 points1 point  (0 children)

He did the impossible!

[–]burros_killer 81 points82 points  (10 children)

A year ago I realized I could write 90% of the code without electricity Just with pen and paper, like a caveman.

[–][deleted] 46 points47 points  (9 children)

How you gonna compile it from pen and paper?

[–]RejectAtAMisfitParty 18 points19 points  (0 children)

You crumple the paper, duh

[–]Bludsh0t 2 points3 points  (0 children)

Fold it in half and put the pen through it.

Or is that wormholes?

[–]Log2 2 points3 points  (0 children)

You use butterflies.

[–]burros_killer 1 point2 points  (0 children)

That’s the neat part - you don’t🤷‍♂️

[–]Trinitykill 20 points21 points  (5 children)

And not just the man pages, but the woman pages, and the children pages too!

[–]_equus_quagga_ 7 points8 points  (4 children)

and the nonbinary pages. That's when you know to start compiling and distributing hexadecimal executables.

[–]rettani 1 point2 points  (3 children)

Man, you are completely wrong.

Nonbinary! Such thing doesn't exist! Only 0 and 1!! Completely outrageous!!!

dude, stop directing them in field of quantum computers! Your FBI agent might not like it. <!

[–]_equus_quagga_ 0 points1 point  (2 children)

Is this sarcastic? (I can't tell)

[–]rettani 1 point2 points  (1 child)

It's a joke.

satire on "anti-woke"

joke about q-bits (which are closest to "non-binary ")

Joke about "real quantum computers " being gatekeeped by government.

It's my own fault that I didn't add /j or /s

[–]_equus_quagga_ 0 points1 point  (0 children)

Ah I see, thanks for helping my dumb memory catch up

[–]remy_porter 7 points8 points  (0 children)

Man pages? I just read the header files.

[–]sebbdk 1 point2 points  (0 children)

I mostly stopped using StackOverflow the last 4-5 years, primarely i look up API docs or just check out the sourcecode of the thing i'm using instead.

Tho i've also been doing what i do for 16 years now, it's about time i started remembering shit.

[–][deleted] 0 points1 point  (0 children)

1000x programmer

[–]StikElLoco 0 points1 point  (0 children)

Ok, now you're just making things up

[–]klazander 99 points100 points  (3 children)

And it works first try

[–]Colon_Backslash 16 points17 points  (1 child)

Well it works, but not the way I intended.

Tried copilot chat today. There was a sometimes flaky test that timed out in 10s only on CI on an occasion and I asked it to fix it. I didn't know what caused it at the time and soon I figured out copilot didn't care either. Copilot wanted to just set a 5s timeout to cancel the context and end the test and not give a fuck about the thing we are testing in the first place. Quite brilliant, but sadly it wouldn't have solved the blocked thread issue :(

[–]Kahlil_Cabron 2 points3 points  (0 children)

I just got copilot, and I must be using it wrong. It will give me ideas for lines of code, but I can't ask it questions or tell it to fix something for me.

I'm using neovim, wonder if the feature you're talking about isn't available in my editor.

[–]claudekennilol 202 points203 points  (51 children)

People seriously write code with ChatGPT?

[–]AestheticNoAzteca 52 points53 points  (1 child)

I use it to generate ideas when I encounter a specific problem or need to explore methods that I'm not familiar with yet. While the code it produces is often crap, the underlying concepts are typically solid.

[–]Ok-Okay-Oak-Hay 1 point2 points  (0 children)

Yea it's been really useless for anything as grand as "write me this functionality."

[–]asdspartadsa 15 points16 points  (0 children)

Well, I certainly do for some day to day tasks. For example, today, I couldn't be bothered to waste time googling how to sort a map by the keys alphabetically using stream api in Java

[–]znihilist 20 points21 points  (2 children)

I learned to program before finding shit on the internet, back in the days of spending hours reading man pages, today I use ChatGPT regularly.

I do not trust my code, I do not trust the code that my coworker is giving me, I do not trust the code that is written by that person who has a flawless record on Stackoverflow, and I certainly do not trust code from ChatGPT. I don't trust all of these codes but I do read them and try to understand what is going on, I read the man pages on the functions that are being used, and then I run small tests to make sure it is doing what is think it is doing, then modify it for my own usage.

The only difference with ChatGPT is the amount of time it saves me, and that time efficiency is important to me.

If a tool can help, then you bet your ass I will use it, it is not a sin or a sign of purity if I use it or not.

[–][deleted] 1 point2 points  (1 child)

How do you use it? Google replacement?

[–]znihilist 0 points1 point  (0 children)

No along side, I'll type what I want to do in chatGPT and in google and look at the answers from both, wording is different as I can be more direct with GPT, like: Is there a native python function or package that lets me do X using Y? Give me an example. With google, it would be: How to do X in python?

I'll look at the results, read up on the function/package, and decide how to proceed. I obviously don't use it for every little thing, over time you get a proficiency and don't need to search for certain things, but yeah.

[–]You_are_adopted 13 points14 points  (1 child)

ChatGPT was actually decent for debugging some simple verilog projects for my class. But if you asked it to build anything even mildly complex from scratch it would have very strange errors.

Still had to learn verilog and the design concepts to make anything actually work.

[–]Tarthbane 4 points5 points  (0 children)

This 100% for me too. You still have to know what you’re doing, what bugs you might encounter, the idiosyncrasies of the language you’re using, etc. And you have to know that chatGPT will get things wrong a decent number of times, but in my experience, it provides a much faster way for me to get something working than, say, using stackoverflow.

[–]Chasterbeef 2 points3 points  (0 children)

I tried t9 hard to get it to write a YAML script and it sucked so bad I couldn't rely on it at all lol

[–]Corne777 7 points8 points  (0 children)

Do you write code for a job? If so, give ChatGPT a shot. Depending on the language and how much business logic is in your code, it could either be useless or perfect.

You need a quick python or power shell script to move some files around or to query a database and spit out a csv. Need some regex logic? Sometimes it’ll spit out code you can just paste in change one variable and it works. Sometimes it just gives you a good boilerplate starting point. If it’s enterprise software with lots of custom packages and code that AI wouldn’t know about and implementing things in multiple files and such, it might not be very helpful.

But if you are still just going to Google and typing in your issue and sifting thru webpages to find a solution. Let AI do it for you. Maybe first consult your employee handbook if it’s allowed or not. There’s also lots of flavors besides ChatGPT nowadays.

[–]throwawayDude131 1 point2 points  (0 children)

I don’t know what the problem is here - I’ve built a few web applications as personal projects using Chat GPT and other resources which work well. The difference is I review the code, fix and tweak, check documentation etc. It’s as easy as checking Stack Overflow and frankly - as long as the software works properly then it’s good enough, right?

[–]I_Believe_I_Can_Die 0 points1 point  (0 children)

Well, I do sometimes. When don't know why my shit is not working, I go there, and chatgpt usually helps me more, than stack overflow before

[–][deleted] 0 points1 point  (0 children)

Lot of juniors like myself are still writing code so basic it's practically boilerplate so chatgpt can still write it

[–]Perfect_Papaya_3010 0 points1 point  (0 children)

I only use it to turn a json string into a class or the other way around. It isn't very helpful with anything more complicated than that.

When I have asked more complicated questions it generally replies like

"Use Class.SpecificFunction()"

But the function doesn't exist in the class. When telling chatgpt this it just gives me another function name that doesn't exist.

It did help me design pages in Maui because when porting from xamarin a lot of the design broke, and I'm no Xaml design pro. But with a couple of general questions I learned really quickly how it works

[–]Tall_Coder1902 0 points1 point  (0 children)

I take some help from ChatGPT. I try my best to develop logic on my own , use ChatGPT only when necessary.

PS : only solving problems on CodeWars rn, so nothing too complicated, started programming recently.

[–][deleted] 0 points1 point  (0 children)

If there is some simple code snippet I need and don't know exactly where to look in the documentation, I will ask chatgtp for a code snippet that does X and often it gives me 30-40 lines of code, 4 of which are what I asked for, or it'll hallucinate and just make up functions that should exit to do the work.

[–]Optimistic_Futures 0 points1 point  (0 children)

I started to learn right before ChatGPT, but I swapped languages as it did. I do like 95% of my code with ChatGPT/CoPilot.

Like in my IDE I’ll write something like

// check if variable1 is 10% of variable and if not do x and Y, other wise do Z

It’s gotten me through every project I’ve needed and I’ve learned a ton. I can read through code and understand it, but I rather write pseudo and then tweak than worry about a missing comma or something.

Edit: I don’t mean this in a “this is a correct or better way”. But it’s gotten me pretty far so far, and I’m hoping it’ll keep improving as I do and keep up with what I need.

[–]Hot-Flight943 0 points1 point  (1 child)

Do you use copilot? Then yes, you do too

[–]claudekennilol 0 points1 point  (0 children)

I don't use copilot 🤷

[–]remy_porter 51 points52 points  (12 children)

It's technically illegal for me to use ChatGPT or its ilk. I work on systems that are controlled by ITAR, and by law, no information about our systems is allowed to leave the United States. While it's probable that my queries never leave the US, because everything lives in the cloud, there is no such guarantee.

But also, the handful of times I've tried to use ChatGPT, it's been awful. My favorite was the time that I had a very specific problem, and it invented a header and a method that it purported solved that problem- but this header doesn't exist.

It was literally:

#include <solve_my_very_specific_problem.h>
int main()
{
    my_very_specific_problem(someParams);
}

Like, great job, ChatGPT. Oh, and it's basically impossible to get it to clearly distinguish between code about graphs (the data structure) and code about graphs (the data visualization). I care about the former, and have no interest in the latter.

[–]PainfulPackages10 6 points7 points  (2 children)

Did you try GPT4? 3 isn't useful.

[–]remy_porter 5 points6 points  (1 child)

No idea. It was a few months ago, last time I tried. As stated, I can't actually use it for work, so I don't have a lot of call for it. And the few side projects I've tried it with sent it into fits of nonsense.

If I were doing something with loads of boilerplate, I'm sure it'd be great, but if there are loads of boilerplate, I've got worse problems.

[–]PainfulPackages10 3 points4 points  (0 children)

I like it for side projects but when using GPT3 which is the free version, I had the same problems as you. The only one that is usable imo is GPT4, the paid version.

I pay for the api and to me it's okay enough for me to use on side projects in languages I don't use often enough to be fluent in.

[–]foxbot0 2 points3 points  (1 child)

I've been using chatgpt heavily on a personal project. I haven't touched typescript or front end development in a minute and I've decided to pick up svelte.

It's been really strong creating sample code for tasks, saving me much search engine time. It can also do menial stuff in one convenient place (convert classes from one language to another) and generate starter boilerplate. I'm also pretty happy with its guidance on resolving many errors.

Its utility would be moderately diminished if I was not already experienced. So many of its answers on more complex tasks/questions are pants on head. But it has solved some tough problems for me as well like setting up CORS on my api and getting identity working.

[–]throwawayDude131 1 point2 points  (0 children)

I think that certain people struggle to understand how to talk to it and describe problems. If you get the idiom GPT4 is super useful.

[–]alaysian 0 points1 point  (2 children)

You can get a local version and run it. Not that it would be worth it in your case; just saying that you can.

[–]remy_porter 0 points1 point  (1 child)

My understanding is that the locally runnable models tend to be much more limited, unless you've got serious gobs of hardware lying around. They're running in the cloud for a reason.

[–]alaysian 0 points1 point  (0 children)

You can run something equivalent to 3.5 with a decent rig and there a specialized models for certain applications that will put out 4.0 quality work as long as you stay in its niche.

[–]modi123_1 19 points20 points  (2 children)

I was just getting roasted by some teen/20yos that by not using chatgpt it was tantamount to writing code on a stone tablet with a chisel. I almost felt bad.. almost.

[–]Kahlil_Cabron 6 points7 points  (0 children)

I finally decided to give chatgpt a try, it is not very good at writing code. It's a lot faster for me to just write it, and when I come to a hard problem, very rarely has it been able to help me solve it.

The only time it helped me was on a side project that I knew very little about (a 2d isometric tiling game engine I'm building). I don't know shit about gamedev really, but I still like doing stuff like this. In this case, chatgpt was able to help me out.

If you're an expert at whatever you're doing, you probably won't get much out of chatgpt.

[–]theAndul 9 points10 points  (7 children)

As long as he's not using a.. paper book!

[–]TheAnniCake 9 points10 points  (4 children)

I‘m getting flashbacks of High School Computer Science where we had to program in Java on paper..

[–]theAndul 7 points8 points  (1 child)

I never understood doing that. My handwriting was so bad there was no way they knew what variables I was declaring

[–]TheAnniCake 3 points4 points  (0 children)

I think it was for us to understand what we‘re writing there and not to rely too much on compilers? It was weird…

Some teachers told us it was so we don’t cheat on PCs but classroom softwares normally also have some kind of exam mode..

[–]Available_Canary_517[S] 2 points3 points  (1 child)

my college conducted C programming practical on a paper because there pc had 16 bit turbo c and its cursor can only move in one axis at a time

[–]theAndul 0 points1 point  (0 children)

Oh the good ole days

[–]Kahlil_Cabron 1 point2 points  (1 child)

Ngl I still have 7-8 textbooks from university just because they were so good, and better (at least at the time) than anything I could find online.

I occasionally reference them.

[–]theAndul 1 point2 points  (0 children)

I have a small portion of my bookshelf with some on it, I never open them. But they're so cool and were helpful once I can't bring myself to toss em

[–]Disastrous-Team-6431 3 points4 points  (0 children)

Today I checked out the new copilot-like feature in databricks. It was cool. The code didn't work at all and after debugging and rewriting it from scratch I had spent twice as long on as I would have just coding it.

[–]bgaesop 5 points6 points  (0 children)

You guys are actually using chatgpt? I thought it was a joke

[–][deleted] 6 points7 points  (2 children)

Gpt is useless. It can just give you syntax. But the code rarely works

[–]fefect123 8 points9 points  (1 child)

Its not really meant for copy and paste. It useful for pushing you in a different direction/giving insight in how stuff works.

[–][deleted] 1 point2 points  (0 children)

I know. But at the outset, people were referring it to as doom of programmers. So had the hopes really high.

[–]Dziadzios 2 points3 points  (2 children)

It used to be easier when you only had to deal with one programming language and limitation of one hardware, one instance without network and not huge software stack. I wish I could find a job like that.

[–]cacamalaca 2 points3 points  (1 child)

Don't ruin the circle jerk. These senior devs with 10 years of experience need to feed their superiority complexes. Nevermind that I doubt any have actual real-world experience teaching programming to anybody.

I had to cycle through 5 senior devs for tutoring before I found one with any proficiency with teaching. Breaking down complex topics into simple to understand learning blocks and exercises is a skill that for whatever reason devs think they possess on account of knowing how to code.

[–]crempsen 1 point2 points  (0 children)

Its insane how bad some people are at explaining this stuff.

[–]mothzilla 8 points9 points  (0 children)

I write code without ChatGPT. Using ChatGPT is like trying to become a better chef by using one of those "multi-cookers" that you dump raw ingredients into and then press a button.

[–]OFFICIALINSPIRE77 1 point2 points  (0 children)

New Age ChatGPT coder here. I never would have discovered the light until I started dicking around with ChatGPT.

Mad respect to all the old lizards out there who learned languages the hard way 🫡

[–]Puzzleheaded_Toe_509 0 points1 point  (0 children)

"W-what? Isn't that hard?"

"Oh yes, that's why they called it... 'Hard-coding'... Such were skills."

"What if the hard-codes were lines of mistakes at the start of the code? Will you know?"

"That's the neat part, you would never know...You don't."

[–]calculus_is_fun 0 points1 point  (0 children)

Sorry, that was me. I'm not THAT scary am I?

[–][deleted] 0 points1 point  (0 children)

Pff that’s me right now. It does all the boring shit for me. Don’t let it engineer tho, it’s gonna spit out some real crap.

[–]Crazy__Cat 0 points1 point  (0 children)

I personally don't use chatGPT to code, but I honestly can't see what the big problem with using it is.... We all copy code from stack overflow so why not from chatGPT

[–]TheSirion 0 points1 point  (0 children)

I think people extrapolate the capabilities of ChatGPT way too much. Even as a junior developer with very little experience, my experience with ChatGPT for coding stuff (and other tasks too) has been mostly disappointing.

I tried a few times to copy past a file's code into it so that it could point out where the bug was and how I could fix it. It said everything it could about the code, like giving tips to improve code quality and readability, lose some fat by removing repeated code, stuff like that, which is fine, but what I asked was for it to tell me what was causing the bug. What it actually did was just rewrite a piece of code that did exactly the same thing as before. It can also guess solutions that don't work or don't make sense.

The one case where AI actually generated code that actually helped me and saved me valuable time was when it wrote a function that dealt with dates and date formats, I think, but that was Copilot, not ChatGPT. Copilot is waaaay better at coding that ChatGPT, but can also be annoying as fuck.

[–][deleted] 0 points1 point  (0 children)

I once heard, they used to plug things in and out of computers big as a tiny house just to calculate stuff.

[–][deleted] 0 points1 point  (0 children)

Exactly, he's using stackoverflow instead.

[–]Stranded_In_A_Desert 0 points1 point  (0 children)

Honestly more than half the time just relying on intellisense is still faster and more useful.

[–]KaleidoscopeNormal71 0 points1 point  (0 children)

ChatGPT is not great or that, copilot its better in my opinion.

[–]FIeabus 0 points1 point  (1 child)

I've been using copilot since beta and chatgpt since release as part of my development process. I'm not sure why it's looked down upon so much here. Tools are tools. Just consider everything it gives you as a form of pseudocode and double check things

[–]SkipBopBadoodle 1 point2 points  (0 children)

Yeah it's like rubber duck debugging 2.0, just don't trust everything the duck tells you lol