The History Behind the Definition of a ‘String’ [closed]

My assumption has always been that the programming term originated from the following definition of the word “string” (from Merriam-Webster): (1): a series of things arranged in or as if in a line <a string of cars> <a string of names> (2): a sequence of like items (as bits, characters, or words) Since a string … Read more

What is a “tight loop”?

From Wiktionary: (computing) In assembly languages, a loop which contains few instructions and iterates many times. (computing) Such a loop which heavily uses I/O or processing resources, failing to adequately share them with other programs running in the operating system. For case 1 it is probably like for (unsigned int i = 0; i < … Read more

What do “reify” and “reification” mean in the context of (functional?) programming?

So I read up on this, and it is pretty much what it means: taking an abstract concept and making it concrete. Or, there is a proxy that represents the abstract concept. For example, in Lisp, the concept of procedure abstraction and application is reified when you use lambdas. Reification by itself is a broad … Read more

What is Stateless Object in Java?

Stateless object is an instance of a class without instance fields (instance variables). The class may have fields, but they are compile-time constants (static final). A very much related term is immutable. Immutable objects may have state, but it does not change when a method is invoked (method invocations do not assign new values to … Read more

Polymorphism – Define In Just Two Sentences [closed]

Polymorphism allows the expression of some sort of contract, with potentially many types implementing that contract (whether through class inheritance or not) in different ways, each according to their own purpose. Code using that contract should not(*) have to care about which implementation is involved, only that the contract will be obeyed. (*) In the … Read more

Easy to understand definition of “asynchronous event”? [closed]

Non programming example: Synchronous You want a pizza for dinner and you are out of the frozen kind. So you have to stop playing WOW which upsets your guild. You go to the kitchen, make the dough, cover it with sauce, add the cheese, and smother it your favorite bacon topping. You just spent 20 … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)