Use this tag for PROGRAMMING QUESTIONS that are independent of any particular programming language.
I can't get my head around this, which is more random? rand() OR: rand() * rand() I´m finding it a …
math language-agnostic randomSo I think I'm going to get buried for asking such a trivial question but I'm a little confused about …
language-agnostic complexity-theory quicksortI'd like to generate unique random numbers between 0 and 1000 that never repeat (i.e. 6 doesn't show up twice), but that …
algorithm math random language-agnosticI was reading design patterns from a website There I read about Factory, Factory method and Abstract factory but they …
java design-patterns language-agnostic factory factory-methodI know a map is a data structure that maps keys to values. Isn't a dictionary the same? What is …
dictionary data-structures language-agnostic key-valueThere are two schools of thought on how to best extend, enhance, and reuse code in an object-oriented system: Inheritance: …
oop inheritance language-agnostic aggregationWhat are some real world use cases of the following bitwise operators? AND XOR NOT OR Left/Right shift
language-agnostic bitwise-operatorsI've recently searched how I could get the application's directory in Java. I've finally found the answer but I've needed …
language-agnostic pathWhat's a fast way to test if 2 rectangles are intersecting? A search on the internet came up with this one-liner (…
javascript c++ language-agnostic graphicsI'm writing a Java game and I want to implement a power meter for how hard you are going to …
language-agnostic graphics colors interpolation