Questions tagged [constructs]
3 questions
9
votes
5 answers
Basic features for a basic language? DSL suggestions?
I've finally begun to understand the complexity behind creating an interpreter and a compiler. I've built several versions of TinyBasic, 1964 (Dartmouth) Basic, and my own expansions on those languages before getting to this point. The most recent…

Dominick
- 91
- 1
5
votes
2 answers
How to program for constraints/rules
First the background, during interviews in the past, many times I have been asked to design some or other variation of card game as programming puzzle, and I have tried to design it in OO way, but I have never been satisfied with my solutions.…

Gaurav
- 3,729
- 2
- 25
- 43
3
votes
1 answer
What data type is this?
I have a list of items I am adding to, however this special list will delete anything past a given capacity. Note the order is maintained.
For the life of me, I can't think of the name of such a construct.
Consider
data = new SpecialListType(3); //…

Jay Wick
- 375
- 2
- 10