Use this tag for PROGRAMMING QUESTIONS that are independent of any particular programming language.
For a person without a comp-sci background, what is a lambda in the world of Computer Science?
lambda language-agnostic computer-science terminology theoryIs there a difference in ++i and i++ in a for loop? Is it simply a syntax thing?
for-loop language-agnostic post-increment pre-incrementThis is definitely subjective, but I'd like to try to avoid it becoming argumentative. I think it could be an …
language-agnosticIf you have a circle with center (center_x, center_y) and radius radius, how do you test if a …
algorithm language-agnostic geometryWhat is a magic number? Why should it be avoided? Are there cases where it's appropriate?
language-agnostic terminology magic-numbersAre there good reasons why it's a better practice to have only one return statement in a function? Or is …
language-agnostic coding-styleWhen verbally talking about methods, I'm never sure whether to use the word argument or parameter or something else. Either …
parameters language-agnostic arguments terminologyI need a basic function to find the shortest distance between a point and a line segment. Feel free to …
language-agnostic geometry distance line-segmentWhat is an idempotent operation?
language-agnostic definition idempotentWhat is an NP-complete problem? Why is it such an important topic in computer science?
algorithm language-agnostic mathematical-optimization theory np-complete