Dear Colleagues,
Based on the concept of axiomatic semantics (stacks in particular), consider the expression below:

pop(pop(push(4, pop(push(top(push(6,s)), pop(push(7, createstack())))))))

How can this be simplified for ease of understanding.
Thanks

>How can this be simplified for ease of understanding.
Obviously it could be broken down into multiple expressions in sequence rather than one monolithic tongue twister.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.