Sunday, 22 January 2017

Programmer’s skill set


coding-keyboard.jpg


Hey guys welcome to another article of Thecodingproject. Today I will share an answer to another interesting question for you budding programmers out there.
When I first started learning to code this same question came to mind time and again and the question was what skills sets I should posses as a programmer ? What tool set should I start collecting in my coding toolbox ?


A programming language is just an ends to meet the automation/programming goal of a software engineer. So, I would like to touch base on the skills required by an automation engineer irrespective of the language skill set since it would be applicable to every type of programming language be it JAVA, R , Python etc. So, let's see what skills we need to have as a automation engineer-


  • Logical skills- This is a rather obvious skill that every programmer should have because a even writing the first line of code requires logical thinking so that you can frame your code around the correct logic.
  • Designing skills- A programmer also needs to be a designer. A good code also needs to have a good design because a badly designed code takes no time to transform itself into a coding nightmare. Who knows due to a bad design there might be a ticking logic bomb waiting to go off when you are doing a demo in front of potential clients.
  • Thinking strategically - When designing a piece of code you have to think strategically no matter how small or big the code but you have to think the most efficient solution to the coding problem.
I think the above skill set are the tools that every programmer requires. It doesn’t matter if you are writing a small code for your weekend project or you are designing an enterprise level utility but having these tools in your toolbox will take you a long way down your journey in designing an efficient and beautiful code.
These are my thoughts they doesn’t need to be perfect or a complete set of the required programming skills. So, feel free to add some more skills that you think an automation engineer should possess.


SO, folks this was all for this week but more stuffs are coming your way next week, til then happy coding.


If you wanna get started in learning Python then why not get started with the python basics chapter. Check out this link to access the Python Basic Chapter for free. If you want to download a copy of the chapter then purchase the chapter by clicking on the following link.

Subscribe to my youtube channel to watch new python programming tips and tutorials..

If you have any questions, suggestions or comments you can post your comment here or you can also bug me on Quora, Twitter or on Facebook.

Friday, 13 January 2017

What next after learning Python ?


Learning  a new programming language is like getting a new powerful Motorcycle. You have that shiny new machine which is a work of art and is powerful like a beast. What you do with it? You ride it for a couple of days at neck break speed tackle on a few twisties seek attention of a few people my twisting the hell out of the throttle and then after a few days you just keep it in your garage where it sits idle for a couple of months or years till the time when you again get in the mood to take your old love for a whirl. Well, I don’t do that with my motorcycle or my programming skills and I would suggest that you don’t do it either. Programming is a lot like acquiring a new motorcycle skill, the more you use it responsibly the more mastery you get in it.
Many time I see people learning a programing language and then just keep it in their mind vault for months or years without using it sometimes it’s out of being clueless as to where to implement the newfound skills and at times it’s due to pure laziness. If it’s out of the latter then I can’t help you but if it’s because you are clueless as to how to use it then I am here to take your hand and show you the way or at least suggest you some.
  • The only mantra is to Learn more and keep exploring more.
  • Create a blog and share with others what you have learned so that people can learn from you and you can learn from them.
  • Implement your knowledge into some practical project on a personal or professional workspace. I am a software test engineer by profession and I have actually implemented my python knowledge to create a framework which helped us to reduce our testing effort by almost 50%. While doing that I learned more as I faced challenges and as I progressed towards resolving those challenges. You may also create a blog or website and put your knowledge to public so that you can actually contribute to the community from which you have acquired the knowledge.
  • I run a blog Thecodingproject where I regularly post topics/articles related to python and by doing this I actually learn something new every time since I have to research a topic myself before creating an article and posting it in my blog.
That’s about it all the more you use your skills the more you will enhance it and while you are on your journey to sharpen your new Jedi force you also give some back to the community from which you acquired the skill in the first place.


SO, folks this was all for this week but more stuffs are coming your way next week, til then happy coding.


If you wanna get started in learning Python then why not get started with the python basics chapter. Check out this link to access the Python Basic Chapter for free. If you want to download a copy of the chapter then purchase the chapter by clicking on the following link.


Subscribe to my youtube channel to watch new python programming tips and tutorials..

If you have any questions, suggestions or comments you can post your comment here or you can also bug me on Quora, Twitter or on Facebook.

Sunday, 8 January 2017

Hey Friends I need your help


Hey friends, here at TheCodingProject I constantly try to post topics and articles which are based on questions/topics requested by you on Quora, Twitter & Facebook. It's my constant endeavor to bring to you the best answers to your questions which will satisfy the curious geek in you But I don't think that that it's sufficient, I want to share more with you and for this I am planning to share with you my experiences and Knowledge that I have gained during the years of my tenure in the software industry so that I can also help you achieve your goals and progress in your professional life. I am planning to share this information with you in the form of a book but I really need your help on the project that you want me to work so that I can give you what you want. So, Please fill in the below short survey which will point me in the direction of your thought.




Friday, 6 January 2017

What is the scope in python?


Hey everyone TheCodingProject is back with the answer to another question from the world of Python and this time it’s about the “scope” in python code.
In Python the scope is indeed decided by the number of indents. It must be 4 spaces. In Python every object always has a local scope and the scope is always decided by the indent of that particular block within which the object is defined. Let's consider an example
  1. def foo ():
  2. var = 'abc'
  3. return var
In the above example, the scope of the variable var is limited to the function foo and how is the scope of the variable var is defined? It's defined by the indent that it maintains I.e. by making the indentation such that it comes under the function definition of foo, which tells the Python interpreter that the variable var is within the local scope of function foo. Now if you do the following -
  1. def foo():
  2.   var = 'abc'
  3. return var
  4. var = 'xyz'
  5. print (var)
  6. print(foo())
The output should be like the following-
  1. xyz
  2. abc
Why do you think the value of var was as such? The reason was again teh local scope of variable var. Notice that when the variable var was having a value ‘xyz' then the indent of the variable was same as the function definition of foo so the scope of variable didn't fall under the function definition. So, when we say print(var) then the current value of var was printed I.e. ‘xyz'. In the second print statement when the function foo was called then the value of variable var that was defined inside foo was printed since the instance of var having value ‘abc' was defined inside the indentation of function foo.
Now when we give only 1 space before the variable var inside foo-
  1. def foo():
  2. var = 'abc'
  3. return var
When you try to call the above function the interpreter will throw an error since we have defined only a single space before the variable var.
So, you see in Python the scope is decided by the indentation and the indent is 4 spaces and this is how the interpreter understands that which scope is to be used and under which block of code.
So, folks this was all for this week but more stuffs are coming your way next week, til then happy coding.


If you wanna get started in learning Python then why not get started with the python basics chapter. Check out this link to access the Python Basic Chapter for free. If you want to download a copy of the chapter then purchase the chapter by clicking on the following link.


Subscribe to my youtube channel to watch new python programming tips and tutorials..

If you have any questions, suggestions or comments you can post your comment here or you can also bug me on Quora, Twitter or on Facebook.