So, as a programmer do you feel ashamed of asking questions? and let us say that you are new to programming, do you care about that?
The most important thing that I have found over the past few days is that newcomers to programming feel scared of how the community will react to them when you ask a question, a stupid question or even any question. So why we don’t make it simple, why we always laugh on each and every question we got?
Maybe am so lucky to not feel ashamed of asking questions, even if I found out the solution by myself or even I found out that the approach that I have taken was not correct, and sometimes the APPS that am using caused it. And this is something that happened to me in the past two days, I was pulling my hair from not being able to work with Lumen via PUT request, and I was angry talking about it, pinging everyone and even complained about it on twitter, to find out finally that Postman was not sending the correct header. and before anyone jumps and says that I should write tests, that’s what I was doing, I wrote tests and they failed too when I tried
$this->pull function that comes with Lumen Test case class, which caused a lot of running around and trying it and even try to debug each and every call I made to the API, and I finally fixed it by creating an ajax call
$this->ajax with the type
PUT to the same API endpoint.
To find out later that the problem mostly comes from Postman, and for some magical reason, even my tests started to pass.
I even got some funny reactions from some people on the IRC, someone even started to argue with me that Laravel IRC channel is not for Lumen questions and that Lumen codebase is not related to Laravel .. etc, another one didn’t want to help because I didn’t answer his question, why am using Lumen, or I think it was what I was trying to do, even though I have answered his question, trying to use PUT requests to update database record.
Now let us imagine that a new programmer was asking those questions, and everyone mocked him, do you think he will feel confident? and he will keep asking questions and learn? if we got him to think that asking questions is a shame and you should already know the answers. It’s already a hard thing for a new programmer, they already have a hard time following us all, and try to figure out how they can learn new things, as each day we have a new thing. Trust me I do have a problem following up all those new trends.
So let’s make it easier and start to enhance our communication skills, no need to mock someone just because you are better than him, or because you are a core contributor to the project, we are all human. and based on what I know no one was ever born fully educated.