r/learnpython • u/Dexteroid • May 01 '20
Am i still a python programmer if use stack overflow a lot and finish projects?
so i am sort of a python developer, i am an automation developer, my job is to automate tests, create framework etc.
but i find that i keep using stackoverflow a lot, question is am i still a programmer if i keep using stack overflow a lot?
726
u/Nacho_Overload May 01 '20
You'd be a terrible developer if you didn't.
247
May 01 '20
It's funny. I grew up programming in the 80s and early 90s. I would have KILLED for a resource like SO / Google back then. You basically had to brute force your way through every problem and reinvent the wheel every time you had a problem.
Now its "alt-tab; search; ctrl-x, ctrl-v, tweak as required by my code, boom"
It DOES feel like cheating. But it also feels like freedom and progress.
51
u/Astrokiwi May 01 '20
That said, I think by sitting down and properly reading a textbook, you do get less gaps in your knowledge. But SO is incredibly useful for practical application of that knowledge, for "best practices", and for filling in other gaps.
39
May 01 '20
My usual process is:
do some research; read a website or two; watch a video or tutorial
build a few toy apps
get a book (like a real printed physcial book); work through relevant sections
begin to develop whatever
use SO / Google to fill in things that should be obvious / trivial
use my reference book for deep diving
18
May 01 '20
I mean, that's soild and great way to get that information to sink in. But do you find you have time to do all that? This might be bad to admit, but I'd guess that 50% of my production code is actually prototype code.
5
May 01 '20
some of these steps won't be very long. this more like: "oh, i need to learn node.js" or "hmmm i've not used PHP since 2012" or "i should learn Go"
1
u/Astrokiwi May 01 '20
I'd do this over the course of a year or more, because you still gotta get stuff done in whatever language you already know in the meantime.
0
May 01 '20
[deleted]
8
u/PM_me_ur_data_ May 01 '20
If it works, it works. It can always be fixed later but the Jira tickets never stop.
2
u/noslenramingo May 01 '20
A solid approach my friend. I'm sure this has served you well many times
1
9
u/Ratatoski May 01 '20
I've been a lot on relationship subs and read SO like "significant other" and couldnt for the life of me figure out how my non technical wife would be of help. Let alone be "incredibly useful"
8
13
8
May 01 '20
Now its "alt-tab; search; ctrl-x, ctrl-v, tweak as required by my code, boom"
It's just a much quicker alternative to knowing who had which manual so you can either pick their brain, or poach the book we had back then.
2
May 01 '20
Except I was a student! So I was learning in my house full of philosophy majors. news groups, BBSs were helpful but SLOW.
4
u/ReyMakesStuff May 01 '20
For a long time I was the only perl person in my area. I'd tinker with it and keep notes in binders. So if I ever had a thought like, "wait, how did I process CSV?" I'd just go to my binders. So it was a combination of brute and save.
6
u/s0v3r1gn May 01 '20
I think there is also so much more to know now then there was in the 80s that it’s impossible to function without such a global reference.
3
u/theWyzzerd May 01 '20
I think SO is a great resource for understanding why what you're trying doesn't work but I don't think C&P is a good strategy. If I do find something on SO that works for me I tend to rewrite it. This way it is semantically the same as other code I have written (written in my "style," so to speak) and I feel that I gain a better understanding of what exactly the code is doing this way.
2
u/99Kira May 01 '20
I would also give props to the ides available. Like in django, whenever I want django to use the
login_requireddecorator, I just search for implementation of the decorator in django itself, see if I can extend it with some hack, else copy the required code fron the source, and modify as required. It keeps the code close to best practice, and customizable as well7
May 01 '20
oh man. I remember the first ever IDE I used back in like 1990. It was, I think, a Pascal IDE. The first time I saw autocomplete I was like HOLY SHIT! THIS IS MAGIC!
2
u/KarmaLaunderer May 01 '20
Right? SO in the 90s was basically books at B&N, if you were lucky enough to find relevant material and/or find floppies in the back of books to steal.
1
u/ambigious_meh May 01 '20
Agreed. From the early 90's, building any kind of application was a challenge as it was ALL new. I use SO and Google as a reference tool, snippet finder, and all around "Did I do this right, or the best way?"
2
May 01 '20
i remember writing code long hand in notebooks because there were no laptops or portables. that was fun.
2
u/burlyginger May 01 '20
Had a Prof (in the 2000s) who had us write a java program on paper in a midterm.
It was a really good exercise.
1
22
u/borntrucker May 01 '20
Was going to say this too
21
1
u/eloydrummerboy May 01 '20
I would add, if you use SO and don't understand the answer and why it works, you're a hack. But using it to get to the answer faster, or to get a better answer, is perfectly OK. Your probably learning without knowing it, as the answer on SO is likely better than the one you (or 90% of us) would come up with. So you learn tricks.
And, it's probably normal every now and then to not entirely understand why an answer works and not have the time to look into it due to deadlines. (But to be clear, this is bad. It's just that we all do bad things occasionally. Don't beat yourself up over it.)
But if you want to feel better, and become a better programmer, when you have the time, slog through solving the problem on your own. Read documentation, try things out. Then once you have a working solution, check it against SO. Even if the best answer there is a lot better than yours, at least you can say to yourself "If I HAD to do this in my own, I could".
165
u/MattR0se May 01 '20
Use Stack overflow a lot? Yes, naturally.
Finish projects? No, you usually finish them for like 80 % and then get distracted by your other side projects.
53
17
u/darthminimall May 01 '20
80%? That's generous.
20
May 01 '20
$ mkdir project1 && cd project1
$ git init
$ echo "WIP" > README.md
$ git add . && git commit
$ cd .. && mkdir project2
1
10
7
2
u/toastedstapler import itertools May 01 '20
tbh it's fine not finishing projects, usually for me it's to learn a new skill and the polish on the top is secondary
1
50
u/tsustyle tsustyle May 01 '20
Half of being a 'programmer' is knowing how to google/use resources effectively :p
9
u/JoeDeluxe May 01 '20
And what about the other 60%?
....
Cause I always give 110% =P
...
Also furloughed and looking for work... please help.
4
2
1
66
u/lovesrayray2018 May 01 '20
Yes, a good dev doesnt claim to know everything off the top of his head :) a good dev knows where to look if he needs help, and SO is another tool in the toolkit
24
u/Sigg3net May 01 '20
I don't understand the question.
We learn from other people, and you doing it too is just a measure of maturity.
(As long as you understand the code. If you're working on something critical, you don't want to import new vulnerabilities.)
23
u/aplawson7707 May 01 '20
My boss called me an hour before the end of the day to tell me we DESPERATELY needed a count by end-of-day of all the new clients from this month. The fun part was that the names were spread out over 17 shitty spreadsheets and the only identifier was (of course) that their names were highlighted in green. There were thousands of names. Awesome data management, right?
It seemed to me that the fastest route to a solution was going to be a script that could count cells by color. Stack Overflow to the rescue, baby. The CEO is happy, I've got some shiny new code that's useful as shit in this God-forsaken organization, and as far as my boss is concerned I'm a damn wizard.
4
u/mr_zungu May 01 '20
Does this mean that someone manually highlighted new clients in green, across 17 spreadsheets?
3
u/aplawson7707 May 01 '20
Yes. At some point, whichever team was responsible for adding them to this list was told to make sure they highlighted them in green so we could differentiate between new and old clients.
I can think of so, so many ways they could better be handling their data but the people higher up on the pay scale than myself are more interested in slapping together shitty data and making huge, ridiculous requests of their staff than actually learning and implementing more forward-thinking data management strategies.
To stay on-topic, though, I think the main thing that makes a programmer a programmer is the cognitive ability to leverage the technology at hand to find efficient solutions to complex problems. I don't think there's any difference between learning a skill from a textbook and finding a solution on Stack Overflow. Even searching for - or actually implementing - a solution on Stack Overflow requires some foundational understanding of computer science, so in that regard even being capable of successfully using Stack Overflow to solve a problem sets you apart from the average bear, in my opinion.
29
u/awsPLC May 01 '20
One of the hardest challenges in life is admitting you need help solving a problem. The internet exist in its entirety as a tool solely for you to use to you advantage. This post was created specifically for you. You accessing data done by others simply saves you time and money allowing you to focus more on the main goal.
21
8
7
u/x-for-x-in-range-10 May 01 '20
Don't get hung up on labels.
Knowing what to search for and figuring out how to fit the puzzle pieces together is the valuable part.
6
u/ehdufuure May 01 '20
It's fine to use stack overflow, but I only use those things, which I understood thoroughly.
My recommendation is to not just copy and paste but really understand it, so the next time you might be able to use it without looking up.
5
5
u/ipherian May 01 '20
No you aren't. See, when a programmer asks another programmer for help he is cast out by the High Council of Engineers and can never be allowed to work with software again.
4
4
4
u/widowhanzo May 01 '20
Ask yourself this: could a non-programmer using stackoverflow end up with working software?
3
3
3
3
3
u/FloydATC May 01 '20
Using stackoverflow, google, twitter and instagram for advice is perfectly normal, but finishing projects?!? This is unacceptable!
3
u/Tots-Pristine May 01 '20
Hold up a minute! You "finish projects"?? Imposter! Projects are never finished!
3
May 01 '20
Mate, being a developer is all about knowing how to identify, understand, and solve the problem. Relying on useful information from others that have solved it before you is what will make you a good programmer.
Literally every person in IT that is worth their salt will use resources like Stack Overflow. At this point, we're all qualified expert Googlers.
1
u/TheJourneyman92 May 01 '20
Googling is definitely is a skill worth having for a progammer! Sometimes you google something dont find anything, a couple of key word tweaks later, boom! There is the answer in plain text.
3
3
2
2
u/dat_niqqa_henry May 01 '20
Hell yeah. As a programmer you're a problem solver. You search around for a solution that will work.
2
2
u/chinguetti May 01 '20
Knowing how to cut and paste the right code from the right source to the right place and make it work is half the job. Almost every problem has been solved by someone else. Tap into the hive mind of ten million programmers.
2
2
u/Alphavike24 May 01 '20
Nobody knows everything. We can only get better when we share our knowledge with others. Stack overflow is a great platform for that.
2
u/Sbvv May 01 '20
The problem comes if you do not understand the code you are copying... Then you should work harder...
2
May 01 '20
Even professional developers that have been coding for 10 years and are quite good at coding (I'd say) Google a lot etc
Why wouldn't you be a programmer? What kind of a stupid question is that?
2
u/Se7enLC May 01 '20
It's good that you're questioning it.
There's a difference between "I don't know how to do this, I will search the web to learn how" and "I don't know how to do this, I'll just copy/paste blocks of code from StackOverflow until it works."
That's not to say you can't use code you find. I just mean that you shouldn't use any code you don't understand.
2
2
u/sethg May 01 '20
One of the big differences between school and real-life work is that in real life, the people who give you problems to solve don’t care if you have to look things up.
Real life is an open-book exam.
2
u/anpago May 01 '20
If the internet failed tomorrow so many of those in various technology based industries would basically be at a loss.
When in college before the interweb was really what it is today, well in fact the internet didn't really exist as we know it now.
The best Tutor (Electronics) I have ever had. He had been in the real world and he also realised the world was changing dramatically, this was in 1991 or 1992
He allowed us to take notes into his exams and tests. We learnt and practised formulas and we learnt how to review our manuals we carried out experiments and made notes.
He would say please don't memorise, make better notes, index well those notes. Then read those notes and make sure every concept, formula you understand how to use
Why? He said your issue will not be remembering things by rote as often had to happen in the past as there was no way to find the information when actually working.
Your issue will be you will have so much information you will not know how to pick the wheat from the chaff. You will also work on far more complex issues due to this increase in access to knowledge.
Please bear in mind this was in 1991/2 and for a while after many Tutors were still using the learn by rote path for study but now with Technology moving so quickly you try to recall all you should know your fail badly. When young your memorise all and then realise that information in the main has now been superseded so you have to memorise version 2 then 3 ,4,5,6,7,8,9 and forever more. The typical human brain simply can't do that.
Even today I am having to say to people I train or mentor at work. Forget the memorising of facts learn how to understand the technology and concepts and learn how to research the resources you have to hand.
SOrry I typed this out earlier then got distrated.
2
May 01 '20
I'd say you are, yes. I used Google all the time to finish whatever project t I'm currently working on. Sometimes I feel like I'm copying & pasting other people's work and not really learning anything but in fact, I was. I don't just copy & paste I read and analyze the code to see how it works. I seek help on a Facebook group I'm a member of. I used to feel like a beginner each time I asked a question until one day I was told by a programmer with 10+ years of C/C++ experience that it's completely normal for even advanced programmers to resort to Google to refresh what they knew.
2
u/yowhun May 02 '20
i feel this, i'm a computer engineering student and every time i ask for help on SO and other sites i feel like i'm cheating.
2
Mar 20 '22
I know i am two years late to this but this is my opinion on it.
Its amazing to have such resources now adays as it gives us a sense of freedom.
All i will recommend is if you do use a snippet from say Stackoverflow makesure you do type it out and not just ctrl + c and ctrl + v so that way you actually learn something new :)
1
u/KickBassColonyDrop May 01 '20
I do what you do for my bread and butter, having dozens of tabs open across multiple windows on how to solutions engineer is not a weakness. That just means you know how to do good research, which is a very useful skill.
1
1
1
May 01 '20
Are you still an english speaker / reader if you use a dictionary or reference books sometimes ?
1
1
1
May 01 '20
Work smarter, not harder
1
u/thrallsius May 01 '20
if you extrapolate that hard enough, you end concluding it's best not working at all xD
1
u/thrallsius May 01 '20
There's no problem using SO to learn or just get things done, but you must consider the option that the SO content might become unavailable for free at some point, there have been some problems with the SO management trying to turn that way.
1
u/Kriss3d May 01 '20
Being a developer/programmer these days is looking up things and steal the code left and right.
So youre doing it right.
1
u/-vikram- May 01 '20
we all do, you can't expect anyone to have every knowledge from the get-go, but even if u want or not at some point you start learning and developing in the process, and that's what our job is
1
1
u/BoaVersusPython May 01 '20
If everyone had to solve every single problem themselves, then nothing would ever advance. That's not just programming, that's literally every field of human endeavor.
1
u/candianconsolemaster May 01 '20
If using stackoverflow makes you not a programmer then there is likely only 1 programmer in the world and he's shit.
1
u/mobilecheese May 01 '20
Are you being paid to write code? You're a developer. Stackoverflow is a great tool for developers. If you had to develop everything from scratch with no help from places like stackoverflow, I bet you would take much longer and (possibly) write worse code.
1
u/trick2011 May 01 '20
Using stackoverflow isn't indicative of being a good programmer. Understanding what you copied and being able to create it is.
1
u/zekobunny May 01 '20
I am currently working on a project and I found myself googling and searching stackoverflow for every little thing. What bothers me about this is that even if I do find a solution and it works, I still don't understand HOW that piece of code works and that really bothers me because It feels like I've copied somebody else's work without really knowing what the hell did I copy.
1
1
May 01 '20
I wouldn't be able to debug anything without it, there is always that one weird error message from a library or a language functionality you know but can't remember the syntax of.
1
1
u/JimyLamisters May 01 '20
Stack overflow is fine, but what's this about finishing projects? That part may revoke your programmer cred lol
1
1
May 01 '20
Yes. A huge part of any technical job isn't remembering every little detail, it's knowing where to go to find the answer or documentation that you need.
1
1
May 01 '20
For me (and other programmers here) the answer is yes.
We are not just coders. We don't just write code. We also solve the problem, so it's natural for us to search for a solution or get help.
1
u/Nanogines99 May 01 '20
I'd say you're not a programmer if you don't use stack overflow on regular basis
1
u/lordwerwath May 01 '20
I think for all programmers, as long as you know what you want and how to implement it, the actual execution or where you source the solutions is not too important. I always say coding is like using a thesaurus. You can write the program in very simple sentences, or look up ways to embellish and write the program well. Either way, programming is an art, just like writing, and art should take influence from wherever it can.
1
u/WiggyB May 01 '20
I'd seriously question the quality of someone's code, if they said they never use SO. I'm working on a project at the moment involving parsing text (Fortran code, ugh). Most programmers know how to manipulate strings easily. But I can either spend 20 minutes fudging stuff together, and it will work. And eventually after some refactoring, it will be neat, tidy and efficient. Or I can literally just Google, "how to do X to a string python" and immediately get a neat, one line solution to the problem.
I can program without SO, sure. But it is soooo much faster and less frustrating with it. Why make things harder than they need to be?
This goes twice if you use multiple different languages. You know exactly what you want to do, but your brain is in python mode, but you need to write java. And you just can't remember what the method is called in java. So sometimes you just end up Googling really basic shit. Doesn't make you a bad programmer at all.
Work smart, not hard ;)
1
u/ragnampizas May 01 '20
In my experience, clients/boss/whoever has tasked me a project don't really care about HOW I complete the task. All they care about is HAVING a completed task. Doesn't matter if I Google my way there or figure out everything myself or a mix of both (most projects are usually a mix of both).
1
May 01 '20
Thanks to Stack Overflow I was able to program at all. Not related to your questions but still, thank god.
1
u/BlazedAndConfused May 01 '20
Are you still a gardener if you use a shovel and hoe to help you plant and grow your garden?
1
u/PM_me_ur_data_ May 01 '20
Tbh, I'm pretty sure the exact opposite statement is the true one. If you don't need to refer to outside sources, you probably aren't doing "real" programming. The only time I don't look something up is when I'm knocking out toy projects.
1
1
1
u/techworkreddit3 May 01 '20
Everyone thinks stack overflow is a bad thing. it really isn't. You can't be expected to know all of the smaller details or aspects of a language while also being able to build projects and other features. Don't reinvent the wheel, someone before you ran into the same issue found a solution and you used that to save time. In Development a lot of times speed to market and pushing code quickly is of huge importance. This doesn't mean you should be blindly copy pasting code from stackoverflow, but you should be able to discern what the code is likely trying to do and then test it with your code.
1
u/zex_mysterion May 01 '20
Seeing as how you didn't write the stock libraries either, it doesn't really matter where you get the code you reuse. It makes you more efficient, and you also learn from the code you find. It will tip you off to methods and technique you hadn't thought of that will be useful later.
1
u/cmcgarveyjr May 01 '20
If you are using resources when you are stuck, that's what everyone does. If you can't accomplish anything without it. You want to spend a bit more time drilling down on topics.
1
u/totemcatcher May 01 '20
I think it's important. Whenever I run into an interesting problem, I think up a few ways to solve it and then run to stackoverflow to see how I fare.
Often there's an absolute gem of a solution buried in the comments somewhere which likely has decades of experience behind it and attests as the "best practice" --- but it's rarely the accepted answer. ;)
1
u/sg77777 May 01 '20
Just put an effort into understanding the info you get from SO/google. Understated why your solution didn't work, and why the SO answer made it better.
As long you're not just copy/pasting and you're learning, SO is a great resource
1
1
1
1
u/Zenith_N May 02 '20
Yes. Why would you think other wise ? What have you the impression that you are not ? If you can cook you are a programmer. Lol Don’t let the snubs tell you otherwise
1
1
u/aeternum123 May 03 '20
A lot of these responses make me feel a lot better. I spend a lot of time Googling. To see people say they do the same makes me feel a lot better.
1
u/JamesSmith203 May 01 '20
oh yeah, I think most of my implementation time goes to searching in google and obviously in stack overflow!!
0
-4
u/mean_king17 May 01 '20
You are absolutely not a programmer. Infact anyone who uses stackoverflow is the scum of the earth. You are just a poser, not a real developer. Real developers know exactly everything, and do not need stack overflow to save their lives. People who proclaim to be "developers" but use stackoverflow, are nothing more than filty peasants. But that's just how I see it...
1
27
u/johninbigd May 01 '20 edited May 01 '20
I still occasionally forget that Python uses
elifand notelseif, then have to look up which it is. I don't think there's a programmer in existence who doesn't look things up fairly often.