Yes, it's called hybrid programming. It's when a programming language draws on elements from more than one programming paradigm. A lot of companies who program at the low level use hybrid programming to their advantage, especially equipping x86 assembly language with C/C++. Less
Suppose there are three spots where you can put wood blocks from left to right. At first,
three blocks are piled on the left spot, the smallest on the top and biggest on the bottom. You are permitted to move one block at one time. How many times do you need to pile them in the same way on the right spot?