It first creates a new pizza which is the same as the original one, and take some pieces of pizza out from the new one. The slice machine helps us to extract some pieces of pizza. Beside the splice machine, we have another machine called slice. For example, with splice(1, 1), we remove one piece of pizza starting from first piece ( so the second piece is removed ). The splice machine can help us add or remove a piece of pizza. Splice, Slice, Split … they all start with S … Splice and Slice are almost twin … for me, sometimes it’s hard to memorize them, and it’s confusing to use them at the right place.īefore detailing each of them, let’s have a pizza □ !įirst, let’s say we have a sliced pizza, and we number each piece of them with 1, 2 … to 10, and we have a machine called splice.
0 Comments
Leave a Reply. |