r/AskProgramming • u/raccoonthrowaway_ • Oct 12 '20
does anyone else feel like a fake?
sorry if this isn’t the correct sub, r/LearnProgramming is for technical questions only so i figured this was the most appropriate one.
i’m working on my own implementation of bash in rust right now, and every time i can’t figure something out, i usually look up other people’s implementations on github and take ideas from them, like how to make the syscalls or how to tokenize user input.
i always feel like none of my code is actually my own ideas, and they’re all a mishmash of other people’s ideas, and no matter how much i try to put my own spin on things, it’s never “mine”, or my way is never the right way, and other people always do it better than me.
is this feeling common at all?
6
u/Kat_nu Oct 12 '20
Lol it's pretty normal don't worry, there's even a name for it "Imposter syndrome"
5
4
u/BluishInventor Oct 12 '20
All great artists steal. -Pablo Picasso
Think of like making a salad for yourself. You get the ingredients from the store, but you're still making the salad to what you desire to eat. You didn't grow the lettuce, tomatoes or chickens that you grill up, but you still made the salad.
It's not about being 100% original, it's about making something you want in your own way with the tools/resources you have at hand. And with the wide array of programming resources out there, it's literally a waste to not take other peoples ideas/code/snippets if it accomplishes what you want.
4
3
u/javaAndJouissance Oct 12 '20
"I don't know how to do a thing that I am assigned, so I am going to pay someone else to do it then pass it off as my own work" -- This is a fake
"I don't know how to do a thing that I am assigned, and I lack the imagination to come up with actual solutions, so imma just keep telling my boss that I'm working on the thing that I'm supposed to work on until he realizes that I'm not working on it and hope I don't get fired." -- Also a fake.
"I don't know how to do a thing that I am assigned, so I'm going to write down how I think it should work, and break the tasks down into smaller tasks. Then I'm going to try and find solutions to the smaller tasks, and once I have my solutions I'll try to stitch them together in a way that meets the expectations of the assignment.
If I don't understand something, I'll look it up and hopefully gain enough understanding to pull this off." -- Based and Blessed af
2
u/anh86 Oct 12 '20
I got my first job in the tech space in 2016. I‘ve always felt like an impostor and that I didn’t deserve to be here. Despite that I’ve tripled my salary and survived multiple rounds of layoffs. I must be doing something right but I’ve never felt like I was good at my job in that time.
2
Oct 12 '20
I get this feeling, but if you're a programmer, you should feel like an engineer. You need to take small pieces that work and construct a bigger working mechanism. Every line of your code is already someone else's work. No need to worry about that.
What I suggest is that you should try algorithmic problems on Project Euler or codewars, or any other platform.
Inventing algorithms is a huge part of programming, but it's not the only one. Sometimes it's learning how to use an existing solution, and applying it to your project. Sometimes it's debugging, sometimes it's inventing architecture.
This is why algorithmic problems are so good. It's pure coding.
2
Oct 12 '20
Impostors Syndrome as others have already mentioned.
Guess what?
You are not alone.
No one re invents the wheel
It's ok to use other's people code as long as you can:
customize it
read and understand how it works.
Let's say you are reading the React Docs and the docs already have some examples and you simply copy amd paste their code to your applications.
What is actually happening:
The docs most of the time provide the best practices.
1
Oct 12 '20
Well, unless you are the very best, there will always be people better than you. Sites like StackOverflow, stackexchange,etc do exist and it's up to you to use it responsibly. Some people just ask a question and copy paste the answer without going through it. If you can really understand the answer, then you're all good. I google stuff all the time especially when I'm learning a new language.
1
u/onebit Oct 12 '20
what's the difference between using a tokenizer on github vs using stdlib? github code is just a non-compiled language extension. :)
1
u/Lonewulff24 Oct 12 '20
I felt the same Way for a while - the thing is, if you understand other People’s code, and simply implement it in your own Way, without copying, then you are good to go.
1
u/LunarLorkhan Oct 12 '20
I’ve come to the understanding that the more I learn the less I know. This field is full of brilliant people who have spent a lot of time coming up with great solutions, so you’d be silly to not borrow from them.
1
u/BerserkerSwe Oct 12 '20
First of all understand have been there many times. Second; isn't this called learning ? We do it in all aspects of life. Relax and good luck !
1
1
u/cgeopapa Oct 12 '20
Everyone here gave some good advice and I hope that you now realize that this is 100% normal feeling.
The only thing I'm going to add, is that you should always make sure that, whatever code you are copy-pasting into your project, you totally understand what it does and why it works. That way not only do you better understand the tools you are using but you also get to think as a programmer and start coming up with your own solutions and ways to overcome complex situations.
1
Oct 12 '20
If you were in a band that only played covers of other people's songs. Does that make you a bad band and bad musicians?
1
u/whiskey_soup Oct 13 '20
My dude you're not alone at all. I always have at least 6 SO tabs open at any given time during my workday. I also feel like a fake but I'm starting to be able to ignore that as mostly imposter syndrome. Just keep on rocking
1
u/gvozden_celik Oct 13 '20
I used to feel like a phony as I am a chemist by trade but work as a programmer. A couple of my coworkers, all of them either graduated from a single college or nearing graduation at the same college, always talked about theoretical stuff (usually guys who are still in college ask the guys who finished stuff they need for the exam), and I often didn't know any of that as I was self taught. Nevertheless, I managed to accumulate enough practical knowledge to know where to look when database queries take too long or when a process is segfaulting or a web service is not responding at all.
You seem to be in a similar spot - you don't feel like you know the theory, but you know where to look and what to look for when you encounter a problem, and that is one of the more important skills you need to have.
1
u/gitblame Oct 13 '20
I used to feel like you, like nothing was my work and I needed to reinvent every wheel because its the only way I would truely understand what I was doing. But that's not how it works, at least in my experience. At my job I try and build things doing as little as possible and mash together other people solutions so you would think I don't "understand" it. But inevitably you run across places where this system you've built doesn't work or there are gaps. Then you'll find you need to understand more to move forward and you don't have a choice. You might even contribute your solutions back to open source projects. Programming is about creative solutions at every step. You only have so much time in life, focus on the problems you 'have' to solve, because theres more than enough of them to keep you occupied.
39
Oct 12 '20 edited Oct 12 '20
[removed] — view removed comment
8
u/raccoonthrowaway_ Oct 12 '20
I’m not promoting it, i just thought it would be relevant to give some context, especially with regards to tokenization and making the syscalls.
Rust provides two ways to make fork/execvp syscalls, through the stdlib or through libc ffi bindings. Other implementations I see online use libc bindings while I used the stdlib, and the issue is I really don’t know which method is best.
I’m not aaking for help, i’m just trying to justify why i brought it up.
10
u/smokelxrd Oct 12 '20
That is true, Software Developers all around the world are using each-other's ideas, otherwise we wouldn't have progress because one person's code can be adapted for a great idea that may benefit someone else in the future.
Try to think of it as a symbiotic relationship between all developers around the world))1
u/OracleGreyBeard Oct 13 '20
Google even patented an old idea around iteration by simply naming said old idea to a new one.
The funniest part of that is how low-effort the name is. It's literally concatenating the operation names. I'm surprised they didn't patent ForIf as "algorithm for conditional operations over an indexed collection".
12
u/humm1010 Oct 12 '20
If you can understand other peoples code and realize the why and learned, your good, even a great programmer. But if your simply copying then yah might be a charlatan.