blog banner alt
Introspection in Python

Introspection: Reflection in Python

Last updated Feb 17, 2018

If you are from another programming language background, you might have used the Reflection feature with in that language.

For example, the ReflectionClass in PHP or ‘object.getMethods()’ in Java.

In Python, the terms Introspection and Reflection

Read More

Dynamic Import in Python 3

Dynamic Import in Python 3

Last updated Feb 10, 2018

A couple of month ago, I made a post about Factory Patten in Python3. If you’ve looked in the source code on Github, you probably have noticed a few changes, especially some weird looking code in animals/fish/__init__.py.

...

Read More

2017 realizations and 2018 plans

2017 Realizations & 2018 Plans

Last updated Dec 27, 2017

At the time of writing this post, it’s already two days after Christmas of 2017, and we are at the final days of the year.

On the side note, my two weeks Christmas break almost seem too short.  Especially after spending the entirety of the first week playing around with asynicio in Python, and trying to get my head around it.

Maybe it’s just me, b...

Read More

Easy factory pattern in python3

Factory Pattern in Python 3 - The Simple Version

Last updated Nov 24, 2017

If you came from another programming language background, you probably already know what “factory method design pattern” means in software development. To put it in a simple manner, Factory Method Pattern is a design pattern which you let a function / method to handle the creation of an object.

I’m sure you have probably come across other tutorials on h...

Read More

php south coast conference

Adventure at PHP South Coast 2017 – Day One

Last updated Jun 17, 2017

Over the weekend of June 9th and June 10th, I went to Portsmouth to attend my first PHP community conference, and it is definitely the best conference I have ever been too!

And I know, this blog is about one week too late…but that’s okay!

If you are reading this blog post, and you are a PHP developer who has never been to a community conference b...

Read More