-
String Reversing Algorithm Performance In JavaScript
Wherever performance is the key factor, choosing the right algorithm, (in a very unbiased fashion,) is a very crucial factor. And generally for reversing string in JavaScript applications, I endorse this petite string reversal algorithm using Array.reverse() method.
-
Load jQuery Plugins Only When Required (Runtime)
I have often observed that websites that are template-driven (like blogs, cms, etc), tend to load all the required scripts and css in every page. One such example would be WordPress blogs with plugins for various types of content processing (overlay, tooltip, animation, etc.) Every page of such a WordPress driven site loads the relevant…
-

Optimising JavaScript (part 1)
In my years of experience in programming, I have observed that certain performance ‘tweaks’ work best for certain languages. This is mostly due to the nature of the interpreter ((Interpreters are programs that execute codes one line at a time. See: Interpreter in Wikipedia))/compiler ((a program that decodes instructions written in a higher order language.…
-

Object Oriented Philosophy
Wading through the marshlands of object-oriented programming, one must eventually realize that two fundamental skills are essential to truly embody the spirit of the object-oriented paradigm: Humanity’s knowledge base is replete with discussions on what object-oriented programming is, its benefits, and how to apply it. Today, however, we will venture into the realms of our…
✒︎ programming
