Top "Language-agnostic" questions

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

Getting parts of a URL (Regex)

Given the URL (single line): http://test.example.com/dir/subdir/file.html How can I extract the following parts …

regex language-agnostic url
Array versus linked-list

Why would someone want to use a linked-list over an array? Coding a linked-list is, no doubt, a bit more …

arrays data-structures linked-list language-agnostic
What is an ORM, how does it work, and how should I use one?

Someone suggested I use an ORM for a project that I'm designing, but I'm having trouble finding information on what …

database orm language-agnostic
What is the difference between concurrency and parallelism?

What is the difference between concurrency and parallelism? Examples are appreciated.

language-agnostic concurrency parallel-processing
Can I read the hash portion of the URL on my server-side application (PHP, Ruby, Python, etc.)?

Assuming a URL of: www.example.com/?val=1#part2 PHP can read the request variables val1 using the GET array. …

http url web language-agnostic uri-fragment
How do I check if a number is a palindrome?

How do I check if a number is a palindrome? Any language. Any algorithm. (except the algorithm of making the …

algorithm language-agnostic
What is stability in sorting algorithms and why is it important?

I'm very curious, why stability is or is not important in sorting algorithms?

algorithm sorting language-agnostic stability
Generate list of all possible permutations of a string

How would I go about generating a list of all possible permutations of a string between x and y characters …

string language-agnostic cross-platform
Picking a random element from a set

How do I pick a random element from a set? I'm particularly interested in picking a random element from a …

java algorithm language-agnostic random set
What's the difference between faking, mocking, and stubbing?

I know how I use these terms, but I'm wondering if there are accepted definitions for faking, mocking, and stubbing …

unit-testing mocking language-agnostic terminology definition