Categories
Programming Hues

Programming Goals You Can Make and Achieve in 2020

Happy New Year !! 😀 , 2020 is right on the floor and its interesting to set some challenging goals to achieve and cherish. However, there are languages like Python and Javascript having their stakes high in 2020. The importance and relevance of these languages keep climbing up as their applications are from Machine Learning to Web Development, Automation to Data Science and each of these applications is broad and keep evolving. Also, to be a wholesome ; it becomes beneficial to set smart and strategic goals that would help you in reaping from the programming tools. Here are some things you can do in 2020.

Keep Growing Your Programming Skills

Growing is the key to evolve and be better. Always learn new patterns and new techniques, build logics and learn more on how to program ? what techniques can be used ? Try to master the new skills, you can learn more about Software Design Patterns this year. Here is a list of some interesting and profitable activities you can do to enhance your skills this year !

  • Start reading documentation of Standard Libraries of a Language you love this will help you get through the advances in that language.
  • Build a project and manage it, this would help you learn better development and maintenance skills.
  • Check if there is anything on the “4 Most Important Things to be a Successful Programmer” that you don’t know and explore more tech articles.
  • Enjoy Coding and avoid stressing !!

Join a Coders Community This 2020

Community is a great asset. Coders in a community will help you a lot and will make you learn more. You can contribute to community, you can get answers on confusing concepts and also help people in community. There are various communities, you can be a part of in your country or you can join online communities too. Community developers help in opening new doors, learning inside – development skills and hacks and also open collaborative opportunities for you.

Take New Challenges

Learning begins with challenges. Take some personal projects and set a timeline this 2020, stick to the timeline and juggle with the challenges. More flexible you will become, more growth will tend to occur. If you have a community, ask for help if you lack behind.

Monitor your growth and this 2020; you will be a better programmer and developer. You will emerge better and stronger on the other side of the Challenge.

Attend Tech Events and Read Books

Attend meet-ups and events related to your tech interest. This will give you first; Exposure, it will help you know more about what’s happening in Tech Industry and second; Networking, it will introduce you to Developers, Coders and even CEOs of different tech companies, you can exchange contacts and need not to explain what these connections can do for you.

OK ! I know you would be thinking, Why books in this digital age ? Let me clear this, Books are the best source to learn even in this era. Books are a good guide to learn step – by – step process of implementation in coding. Even after learning shortcuts online, we need to have strong conceptual basics that could be achieved by books itself. Books are easily reachable and provide the know-hows behind each process. Don’t see this as a boring routine; see it as a learning process to get better in 2020. Here are some suggestions from my side :

My 2020 book list :

Be a Trend – Seeker

Every Technology evolves. You must have heard about newer versions coming out. Latest versions have new features to catch up with the trends. Developers should learn and read about these trends. Learning trends lets you know what is upcoming in Industry and what are the upcoming events. Knowing the trends early will drive you to a good position with respect to the Tech Industry.

Achieving each of these things may seem as overwhelming and difficult, but if you decide, have a mindset to achieve and strategize time for it, no goal is unachievable. Set out the clear goals; It is a strategy for your growth. And you know what ? Set realistic goals – ones that you can imagine to be executable. A weekly or monthly challenge for yourself is something you can do. See your goal process as a milestone that can be attained in parts. That way, it won’t appear cumbersome to you. Also, Best of luck for completing your goals in 2020 !

Thank you for being here !! 😀 If you found this content useful and would love to have more blog posts like these, help me by any of the ways given below :

  • Like Us
  • Follow Us
  • Comment down your thoughts
  • Share this on Social Media Platforms

If you have some suggestions or didn’t find what you were expecting, feel free to contact us via Contact Page. I am waiting for all your likes, comments and suggestions. 😀

Till then Happy 2020 and Happy Coding !! 😛

Categories
Programming Hues Python Dairies

4 Undeniably Important Data Structures In Python

Welcome Python-ers !! 😀 Lets get started with Python Data Structures. Here we will talk about what are Data Structures in Python ? How these works ? and how are these used ? Also, If you haven’t seen the previous post, you should surely give it a Look !!

1. List : (This could help you make your shopping list too ;D )

Imagine you have to purchase an article, what will you use to store it ? A variable will solve your problem. But what if you have 10 articles to be purchased ? Well, in that case will you use 10 variables ? Also, if the number of articles becomes 100 ? Thus, List gives us a new way to store these sought of large count of articles, under a same roof.

List is a collection that is used to store a number of values.(this could be int, float or any other data type). It is as simple as creating an Array and storing values in it. Let’s see the way to use it.

my_shopping_list=["clothes","milk","eggs"]

It could be a simple list of Integers. like –

integers=[1,2,3,4,5]

Now, how to get the values from these lists, for that we use Index. The first element has the index 0, the second one has its index 1 and so on.

The code in Python used to get the elements of the List is :

my_shopping_list=["clothes","milk","eggs"]
print(my_shopping_list[0])     #clothes
print(my_shopping_list[2])     #eggs

Also, to add the elements in the List, we have a method append, this is used in Python as :

my_shopping_list.append("vegetables")   #my_shopping_list=["clothes","milk","eggs","vegetables"]

Here the “vegetables” is added to the my_shopping_list, after the last element of the given list. It is super simple to use append by giving the element to be added as the parameter to the append method.

2. Dictionary : (give me the Key, I will give you the Value 😀 )

We have learned about indexing on Lists via numbers but what if we don’t have to use numbers, like if we want to store the quantity of the element along with the name of the element of my_shopping_list; for these purposes we can use the Dictionary Data Structure.

Dictionary is a collection of key – value pairs. This can be visualized as :

dictionary_ex={
"key1" : "value1",
"key2" : "value2"
}

#Example of Dictionary
details_dict={
"name":"Sheena",
"nickname":"Shiya"
}

#to print dictionary element 
print("My name is %s" %(details_dict["name"]))     #this prints the name saved in dictionary

The dictionary values are accessed by the keys and the advantage is; it can have any data type element as its value.

3. Tuple : (You can’t change me, because I am a Tuple 😀 )

Tuples are similar to the Python lists except they are immutable i.e. they can’t be changed. Tuples are represented by Parenthesis. Growing and Shrinking of Tuples doesn’t take place as they can’t be changed.

Tuples are used where functions require a fixed set of values which are not to be changed. Tuples can be visualized as :

integer_tuple=(0,1,2,3)
text_tuple=("mango","Sheena","eggs")

#to print element of tuple
print("I like %s"%(text_tuple[0]))

here the tuple element is printed, this is done same as the list elements are addressed and printed; by the help of Index.

4. Set : (I am always unordered 😀 )

Sets are unordered collection of unique objects. Sets are iterable, mutable and supports no duplicate elements. Sets use parenthesis, for it’s representation. It also uses operations like Union(|), intersection(&), difference(-) etc.

Sets are used over lists whenever we need to check whether a specific element is present in it or not. Sets can be visualized as :

set_1=(set(["a","b","c"]))

but we cannot address elements of Sets through index, as there is no order in a Set.

However, we can loop through in every built-in Data Structure of python. These Data Structures are quite useful in building Python Applications, Competitive Programming etc. and are also used to write Program with a limit to lines of code.

So, That’s it for the day !! 😀 Till then have fun keep learning and keep coding !! 😀

Categories
Programming Hues Python Dairies

How To Learn Python In A Better way

Python being a popular shot now-a-days and is easy in context with the syntax of it. It is one of the best paid programming languages in today’s era. Python is one of my favourite languages and I am sure, you will enjoy learning python to a great extent.

However, learning new language and getting through new concepts of that language is not easy. I know that everyone assumes this syntax eating as an overwhelming procedure. But first of all, Congratulations !! 😀 for choosing Python as your new target. Python will definitely help you in tweeking Technology and creating Magic 😛 So lets jump in !!

What is Python ?

Python is an interpreted, interactive, object – oriented high level language. It was developed by Guido van Rossum and was named after a British comedy group Monty Python. Python’s presence in the world is everywhere, Python is used in building and maintaining some really popular sites and apps like Instagram, Dropbox, Quora, and Youtube.

To know more about what exactly you can do with Python switch to the “Why is Python worth learning this Year”. You will find great applications of python there.

Install Python and Get ready !!

Python is free and open – source software, that works on various platforms including Mac, Linux and Windows. It comes installed in Mac and Linux. Also, in HP laptops we have python installed with Windows.

You can install the latest version of python from here. For detailed installation procedure, you can click here.

After installing Python, you will have an interactive shell and an IDLE (named after Monty Python’s Eric Idle) to code in python. The shell is less powerful then IDLE, but is useful to try one-line code statements. IDLE can do the work of shell, but also allows you to write multiple lines of code, that can be saved as a script and executed later. It allows code reusability.

I have a Plan to code !!

In my thought, learning python is similar to riding a Bike, you will have to accelerate but will enjoy the journey there after. To code a problem, you will be in need of a Plan, by plan I mean, you will have to build the logic and then through syntax you can make it working. Thus, work hard on your logic building and that will give you the ability to figure out the plan to solve a given problem. So, lets learn to have a plan !!

without a plan on how to solve problem, you will be like Elmo !! 😀

Lets get started with Python !!😀

The Basics :

  • Variables – Variable is just a value stored in a memory cell which is named by a word. The value can be an integer, boolean (True / False), strings, float, and so many other data types. This can be seen by a simple example.
one=1
bool_val=True

here one is the word (it is a name given to a memory cell) and 1 is an integer and bool_val is a boolean variable storing True.

  • Conditional Statements – “if”, “elif”, “else” are conditional statements.
    • The if statement uses an expression to evaluate whether the given statement is True or False, then it executes the code which is indented inside the ‘if’ block, if the statement evaluates to True.
    • The elif statement is used for checking upon further statements, If the statement in ‘if’ evaluates to False, then ‘elif’ condition is checked, If it evaluates to true the code in ‘elif’ block gets executed.
    • The else statement is used when all the conditions of ‘if’ and ‘elif’ evaluates to False. The code in ‘else’ block gets executed whenever the conditions in ‘if’ and ‘elif’ statements becomes False.
    • The simple examples of Control Flow Statements are :
if True :
    print("I am in if block.")        

Code in the ‘if’ block executes as the condition is true.

if 6>7 :
    print("The if block.")            
elif 7>6 :
    print("The elif block.")          

The ‘if’ statement evaluates to False, then ‘elif’ statement is checked which evaluates to True, hence the code block indented after ‘elif’ statement gets executed.

if 6>7 :
    print("The if block.")            
elif 5>7 :
    print("The elif block.")          
else :
    print("The else block.")          

The ‘if’ and ‘elif’ statement evaluates to False, then ‘else’ statement is checked which evaluates to True, hence the code block indented after ‘else’ statement gets executed.

  • Loops / Iterator – In python we iterate by : “for” and “while”.
    • while looping : the while loop means while the condition is true, the code inside the block is executed. So the example below prints numbers from 1 to 5.
    • for looping : the for loop uses an iterating variable and then for every iteration the for code block executes. The for block iterates the iterating variable. The below code will print numbers from 1 to 5.
num=1
while num <=5 :                             
    print(num)
    num=num+1

The indented code gets executed, until the while condition evaluates to True.

for i in range(1,6):                        
    print(i)

Here, in for loop we have ‘i’ as iterating variable, and range function is used to iterate it from 1 to 5.

Yeah!! Let’s Celebrate, we are done for today !!

We have learned a lot today, Go and throw a small party for yourself 😀 , In the next post, we will talk upon Python Data Structures. Till then have fun !!, shower your likes and comments upon this post. Also, give it a loud share 😀 .

Also, you can find “Dare to Learn” on Instagram and Facebook for more interesting stuff 😀 .

Categories
Programming Hues Python Dairies

Why is Python worth Learning in 2020

Python is a Programming Language which is gaining popularity exponentially. I myself was a Java person, but lately I am loving Python. Python is everywhere, the applications of python are covering a huge domain and solving a lot of problems. Also, Instagram, Spotify and Quora all have python in their backend web development. So, definitely go with learning Python and may be some day you will be a Python Developer or may be a Data Scientist !! 🙂

Why Python ?

But why should I learn Python ? Is learning Python worth it ? ; If you are thinking to expand your skillset or you are a beginner in programming, then go for learning Python. For me the first reason I started learning Python was ; it is simple in regards to syntax like code comes naturally, just like writing an algorithm or set of instructions in English. And the second reason was its super versatile, It has a huge range of Libraries and Modules that can be used for a whole lot of applications.

Python has a huge range of Libraries

What can exactly be done by Python ?

Python has a huge application base. But over time I have observed these 3 applications of Python :

  • As a Scripting Language : Scripting Languages are used to automate simple Tasks, like sending bulk mails and analyzing emails on the basis of some keywords. This can be easily done by the help of Python. Also, Next time when laziness strikes to you try writing small script of python to automate your task:D.
  • Data Science and Machine Learning : Machine Learning, the word itself is intimidating. However, Machine Algorithms can be easily implemented by the help of Python Libraries(Tensorflow and scikit-learn are quite popular for this). Python can be used for Data Visualization and Data Analysis too. The libraries like matplotlib can be used for the same.
  • Web Development : Web Frameworks like Django and Flask are quite popular now-a-days. These help in creating backend code, that runs server – side. You can choose any one of them to just get started.

There are more applications of Python Language, like we can use PyGame library to develop games. We can also build embedded applications with Rasberry Pi.

But what to learn ; Python 2 or Python 3 ?

Python 3 is more appropriate as its more new and more modern. I would suggest going with Python 3 over Python 2.

So, we had a lot of Python talk right now !! :D. Let’s take this conversation ahead; Show your love for python, comment down 😀 if I have missed upon something about python. Also, don’t forget to like it, share it, let me know your views upon it.

Categories
Programming Hues

4 Most Important Things to be a Successful Programmer

Hello !!!! What’s up ?? Want to learn programming ? Do you think programming is how it is shown in movies ? Do you think Programming is just a piece of cake ?

Pardon me please, for asking you those weird questions but let me tell you programming is not just about tons of key presses on a keyboard just like shown in the movies. It could be intimidating. Infact , it was intimidating for me at first but later it became more happening and enjoyable for me. Programming gives you a power to develop stuff in reality (that stuff could be a Web app, a desktop software or a Mobile app etc.) that is just an imagination of a programmer’s head. Oh Yes!! 😉 programming can make things really easy and purposeful, it is more about problem – solving.

Programming is similar to a Game .

But for being a Successful Programmer, there is a journey to be crossed. So, here I have a bunch of important things for you to work on. These are :

  • Mental Preparation : The learners who begin with programming are quite zealous in start but later on there zeal and enthusiasm feds away. They stop putting their efforts and ultimately programming becomes quite difficult for them. Programming comes from positive attitude. 😀 A learner should have a positive attitude towards a problem, instead he/she should take it as a challenge and find an optimal solution to the problem.
  • Pick a language and then stick to it : There are a lot of languages available, choose one and learn it through. For example, If you want to travel from Mumbai to Pune , it would be a better choice to travel by road or by air ; instead of flipping between bus, then flight, then again bus. This would make the journey more tedious and difficult. Similarly, switching between programming languages will make learning a tedious task. Also remember, programming is more about semantics and less about syntax.
  • Never Ever Give Up : I am not gonna lie to you.. Learning Programming is hard. It is hard but if you take it as a challenge, if you don’t give up you will get through. There will be a point where you will think of : Programming is not for me ; May be this code is simple in other language, let’s switch the language ; I am not meant for programming. But trust me, if you are not giving up, then results will be a lot fruitful. Take it as a fun dare and conquer it as a challenge.
  • Play, Play and Play 😛 : Programming is more like a game, play with it. Don’t focus only on the curriculum of a given course you take to learn programming. In spite of that, find new concepts, exercise your brain and come up with new solutions to a problem. You can also choose for competitive programming (on HackerRank, Hackerearth, CodeChef etc.) for playing and solving the questions. Use each new concept learned and play with it, experiment with it.

Programming is about making things in real. The secret of programming is to learn and explore as far as you can, it is about overcoming the hard part with exciting failures and then coming up with a solution to a given problem. It’s about carving your own niche.

So, Let’s talk in next blog post, till then happy programming !! Likewise, let me know was this useful to you ? propose me the subjects you need the blog entries on. Furthermore, like it, share it and comment on it. 😀

Categories
Programming Hues

5 steps to learn Programming in 2020

Yeah !! It’s December, New Year Celebrations are coming 🙂 we are towards the end of 2019, and will enter 2020 in a few days. So, Let’s make a kick-ass project in 2020, by programming in the coming year. But to program we will be in need of a programming language. Talking about programming languages, if you are new to programming or you are a good programmer, programming language is a need to write your logic in. Also, the first step into the journey of becoming a programmer is learning programming languages. However, a whole lot of programming languages are available to start with. But choosing one can be intimidating.

To overcome this chaos, A programmer could start like:

  1. Start with a programming language that is close to the systems (like C,C++) – C is a programming language which is quite popular as beginner language, it has various concepts like pointers etc. which are quite related to the system memory and address binding. C++ is an extended version of C, but it is partially object – oriented language (cannot say this officially though). Learning C++ after C will help in getting a better understanding of switching from a Procedural Language to Object – oriented Language.
  2. Move on to modelling real world problems by the object – oriented programming languages (Java or Python) – The real world problems are more easily modeled by objects and classes, which gave rise to the object – oriented programming languages like Java and Python. Java is quite popular and used a lot in IT Industry, the web – based projects built in Java are really awesome. Python also is popular now-a-days as it can help in implementing Machine Learning Algorithms and is simple to other languages in context to the syntax of it.
  3. Understand logic – building and problem solving : After learning the languages its important to learn how these languages can solve a particular problem in real world. This problem solving capability can be developed by the competitive programming platforms like Codechef, Hackerrank, Leetcode, Hackerearth etc. This will also help in understanding what syntax or keywords is to use where; while solving a problem.
  4. Learn a powerful scripting language (Javascript) – The Scripting Language is a language which is not compiled rather is interpreted. Scripting Languages are used for the automation of tasks; the languages like Javascript can be embedded within HTML and are used to add functionality (like changing menu styles, serving dynamic advertisements etc.) to a Web page or Website.
  5. Languages required to fulfill the purpose should be learned (like Java or Kotlin could be learned for Android Development) – After learning these languages working on projects is the next exciting step in a programmer’s journey. The implementation of a concept, feature or a purpose is done by these languages by the realization of Data Structures and DBMS Concepts.

If you are a beginner in programming, spoil your hands in C then switch to C++ and Java or Python. You can also learn various frameworks of the language, and then switch to building projects, it can be a Web development project, an Android development project or any ML/ AI project etc.

Remember, Master a single object – oriented language and try building projects in it ; rather then switching between a number of languages initially. Always prefer Quality over Quantity.

Till then enjoy programming !! Also, tell me was this helpful to you ? suggest me the topics you want the blog posts on. And like it, share it and comment on it. 🙂

Categories
Know your Author

A Beginner’s guide : Everything you need to know about “Dare to Learn”

How often do you feel nervous about Technology ? Do you get shivering by just listening of Programming Languages like C, C++ , Java and Python. If yes, then subscribe my blog now, I have a fix for this nervousness and shivering . No, No, I am not going to suggest some medication or cure it like a doctor, I am here to have technology learnings and discussions molded in a reliable way with fun elements.

But before that, Let’s have an Introduction of me; Oh Yes!! me the one who is trailing you over this techie and fun Journey. So, Let’s get started !!

Talking about me, I am a very ordinary girl studying in an Engineering college who is passionate about Technology. Learning Technical Concepts and experimenting with them is what I love the most. I love working on Projects ( If you have some kick-ass ideas, suggest me and write them to me!!! ). Solving Problems finding a fix by programming is my favorite pastime too.

I started exploring Technology after my school years, when I was landed to an engineering college. I found it interesting and started exploring more. My curiosity landed me to Developers Students Club, AITR(@DSCAcropolis) where I started working with Android and started building apps, slowly and steadily, with the help of some mentors of my life, I learned Python and in a way of learning Machine Learning too.

Recently, I have attended Developers Students Clubs India Summit’19 as the DSC Lead, and it’s been a great experience (I hope we have a blog on that too.), I realized that learning and exploring more technologies along with more logical stuff will yield me more experimental agility. To be simple, I got new experiences, new people, new perspective about Technology. I have some pictures attached too here.

While this college phase of mine, I realized a lot of people are drifting apart from Programming and Technology Learning because they find it intimidating. The thoughts then striked my mind were :

  • We have a lot of Technology Users but we need more Developers too.
  • The idea of “Dare to Learn – Tweek Technology and create Magic.”

At “Dare to Learn”, I will try to make Technical concepts more relatable to you, by keeping my language simple and conversational. I will try my best to let the Technology win, but for that let’s begin.

Can’t think how to get started ? To help you get started, here are a few questions for you:

  • How was your journey to Tech started ?
  • What topics do you think first, when you get the word ‘Technology’ to hear ?
  • What are the most annoying experiences while learning technical concepts ?

I am waiting for your answers 🙂 ,Write it down here; you can also write to me on Instagram @dare2learn.tech or you can ping me via an email at: daretolearntech@gmail.com too. Just write the first thing that pops into your head.

Till then follow me, tweek Technology and create magic.

#technology #programming #developerstudentclubs #daretolearn #zerotohero

Design a site like this with WordPress.com
Get started