Profile cover photo
Profile photo
Harisankar Krishna Swamy
About
Harisankar's posts

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Coding lessons from Hollywood: Readable Python conditionals with visitor pattern
Programs have conditional statements. They read like the following if condition do action  else do something else.  These can get long, hairy and will read like  if condition_1 do this  else if condition_2 do that  else if condition_3 do that  .....  ..... ...

Post has attachment

Post has attachment
Using *args and **kwargs : Python code post
In a previous post  we looked at *args and **kwargs in different function calls. This post is about a practical use of these two in object oriented programming and inheritance.  Again, these can be used is to avoid having to write _init_ for every class t...

Post has attachment

Post has attachment

Post has attachment
Text search: Rabin Karp rolling hash algorithm in Python
Searching for sub-strings is a functionality provided by programming language libraries. There are multiple methods to implement this. One algorithm we looked at previously is the "Looking Glass" algorithm which performs some preliminary operations and crea...

Post has attachment
Wait while more posts are being loaded