Skip to main content

Posts about python (old posts, page 18)

A Hundred Days of Code, Day 001 - Beginning With Classes

Notes I’ve taken from the videos I watched, today. This is my attempt at Feynman-ing (below), what I learnt so far.

Classes and Object Oriented Programming started to come together for me, when I saw Kushal using them.

To use my father’s carpentry analogy, I could in theory just hammer nails into wood to join them.
But to make a really strong joint, I could use other methods.
I could screw pieces of wood together, which is markedly better than just nailing them.
I could chisel wood and create a dovetail or mortise joint.

So it all comes down to understanding what I want to do and figuring out the best technique to get it done.

Read more…

A Hundred Days of Code, Day 000 - Begin Again

How do I begin this post?

By simply beginning :) Again!

This probably is the fourth (or is it fifth) time, I’ll be attempting to learn how to program.
And probably the same number of attempts at #100DaysOfCode.
I did 47 days last time and 37 days before that.

I will try my utmost to go the distance this time.
Because even if I didn’t complete a full run, I still learnt tonnes from all my previous efforts.
I do have a beginner’s grasp of Python.
And I hope get even better, much better, this time.

What am I going to do?
Well, I want to do Miguel Grinberg’s Flask Course, but as I stumbled through it the last time, and when I read other folks’ code, I realised that I need to get much better at understanding Object Oriented Programming.

So that’ll be the focus now.
And Reuven Lerner’s OOP Course is what is going to help me.

So here I set sail again …
Now, bring me that horizon!