What is a Y-combinator? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago. Improve this question A Y-combinator is a computer science concept from the “functional” side of things. Most programmers … Read more

What is “2’s Complement”?

I’m in a computer systems course and have been struggling, in part, with Two’s Complement. I want to understand it but everything I’ve read hasn’t brought the picture together for me. I’ve read the wikipedia article and various other articles, including my text book. Hence, I wanted to start this community wiki post to define … Read more

What is a ‘Closure’?

I asked a question about Currying and closures were mentioned. What is a closure? How does it relate to currying? 24 s 24 Variable scope When you declare a local variable, that variable has a scope. Generally, local variables exist only within the block or function in which you declare them. function() { var a … Read more

What are the lesser known but useful data structures?

Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. There are some data structures around that are really useful but are unknown to most programmers. Which ones are they? Everybody knows about linked lists, binary trees, and hashes, … Read more

What is the difference between statically typed and dynamically typed languages?

I hear a lot that new programming languages are dynamically typed but what does it actually mean when we say a language is dynamically typed vs. statically typed? 17 s 17 Statically typed languages A language is statically typed if the type of a variable is known at compile time. For some languages this means … Read more