« first day (612 days earlier)      last day (4377 days later) » 

user20683
8:16 PM
Green Tea, a Soysage Biscuit and Computer Vision experiments in Python. It's a good day.
 
user20683
and for people who wonder what happened to Fortran, it's being installed right now on my Mac
 
10:33 PM
0
Q: Is a stack of stacks (of stacks of...) useful?

World EngineerA stack of stacks would be fairly trivial to implement in terms of code but is such a thing ever useful or used in practice? Is there a common name for such a monstrosity?

"Is there a common name for such a monstrosity?"
Stack Exchange
 
user20683
@Atif I put a bullet in its head
 
user20683
no need to worry about it any more
 
I'm not worried or anything, I just couldn't resist making a joke about Stack Exchange when you said "Stack of Stacks" :)
 
user20683
@Atif That'd be a stack of arrays ;)
 
user20683
since you can delete from anywhere
 
10:45 PM
@Atif awww, deleted :(
@WorldEngineer Stack of lists
 
user20683
yeah
 
user20683
@Shog9 ChrisF basically issued a warning and I thought better of it.
 
When ChrisF types, people listen
 
user20683
@Shog9 he doesn't have to type, he wills the input and the registers spontaneously change state
 
user20683
11:11 PM
@Atif and the answer I think to that question is that you could use a stack of stacks to do deeply nested recursive functions where each item in the first stack is a function call which then sets up a new stack at that point.
 

« first day (612 days earlier)      last day (4377 days later) »