Top "Language-agnostic" questions

Use this tag for PROGRAMMING QUESTIONS that are independent of any particular programming language.

Difference between Hashing a Password and Encrypting it

The current top-voted to this question states: Another one that's not so much a security issue, although it is security-related, …

security language-agnostic encryption hash passwords
What is the difference between signed and unsigned variables?

I have seen these mentioned in the context of C and C++, but what is the difference between signed and …

language-agnostic variables unsigned
What is ADT? (Abstract Data Type)

I am currently studying about Abstract Data Types (ADT's) but I don't get the concept at all. Can someone please …

language-agnostic terminology abstract-data-type
How do I determine whether my calculation of pi is accurate?

I was trying various methods to implement a program that gives the digits of pi sequentially. I tried the Taylor …

algorithm math language-agnostic pi
Converting a Uniform Distribution to a Normal Distribution

How can I convert a uniform distribution (as most random number generators produce, e.g. between 0.0 and 1.0) into a normal …

algorithm language-agnostic random normal-distribution
Should I test private methods or only public ones?

I have read this post about how to test private methods. I usually do not test them, because I always …

unit-testing testing language-agnostic
What is the difference between concurrent programming and parallel programming?

What is the difference between concurrent programming and parallel programing? I asked google but didn't find anything that helped me …

language-agnostic parallel-processing concurrency
Private vs Protected - Visibility Good-Practice Concern

I've been searching and I know the theoretic difference. public - Any class/function may access the method/property. protected …

oop language-agnostic coding-style
What is "loose coupling?" Please provide examples

I can't seem to grok the concept of "loose coupling." I suppose it doesn't help that the word "loose" usually …

oop language-agnostic loose-coupling
design a stack such that getMinimum( ) should be O(1)

This is one of an interview question. You need to design a stack which holds an integer value such that …

algorithm language-agnostic data-structures stack