What is the difference between a map and a dictionary?

Two terms for the same thing: “Map” is used by Java, C++ “Dictionary” is used by .Net, Python “Associative array” is used by PHP “Map” is the correct mathematical term, but it is avoided because it has a separate meaning in functional programming. Some languages use still other terms (“Object” in Javascript, “Hash” in Ruby, “Table” in Lua), but those all … Read more

What is tail call optimization?

Tail-call optimization is where you are able to avoid allocating a new stack frame for a function because the calling function will simply return the value that it gets from the called function. The most common use is tail-recursion, where a recursive function written to take advantage of tail-call optimization can use constant stack space. … Read more

what does “nulled script” mean?

A nulled script is when somebody changes a script to remove the protection implemented by the author. For example, when they remove call homes or registration checks or etc. These scripts are commonly distributed by shady/warez sites. Although nearly impossible to detect from original author, I have no idea of the legal implications from removing … Read more

What exactly is GUID? Why and where I should use it?

GUID technically stands for globally unique identifier. What it is, actually, is a 128 bit structure that is unlikely to ever repeat or create a collision. If you do the maths, the domain of values is in the undecillions. Use guids when you have multiple independent systems or clients generating ID’s that need to be unique. For example, … Read more

What is the difference between a framework and a library?

A library performs specific, well-defined operations. A framework is a skeleton where the application defines the “meat” of the operation by filling out the skeleton. The skeleton still has code to link up the parts but the most important work is done by the application. Examples of libraries: Network protocols, compression, image manipulation, string utilities, regular expression evaluation, math. Operations … Read more