History of Yolo

1178 Words5 Pages
One thing to mention before moving forward, is that this quicksort works recursively by continually using a list as input and calling quicksort over and over again. Quicksort breaks the list down into smaller, more manageable, pieces, called partitions, until the list is sorted. The first function is a base, or default case; this function is called whenever an empty list is the input for the quicksort call. This will come in handy as the other function creates smaller and smaller lists, once a list is so small that it’s empty that branch of the function will reach its end and the function will continue sorting another partition. The next function call seems like a lot, but is really just a bunch of comparisons. In essence, the function creates a left, middle, and right partition. When looked at on a lower level, the function recursively calls itself creating partition after partition until the numbers in the list are sorted into their proper order. In a hybrid of pseudo code and text, the function calls quicksort, with an input of some integer y, where y is the list, when y is less than x. Next, is simply some list x, this is the middle, all the integers that cannot be sorted into either the left, nor right partition. The final part of the function, is the right partition, and is very similar creating the left partition. Some y, where y is some list x, where y is greater than or equal to x. In other words, smaller elements are put into the left partition, and larger ones are put into the right partition. Next, the quicksort in Blockly. As stated earlier, Blockly uses global variables nearly exclusively; one notable exception being function inputs. So, when using only global variables, recursive functions are out of the question, a... ... middle of paper ... ... to run on virtually every language around the world, allowing for anyone with access to a computer to be able to jump right into programming. As with many languages, expanding the libraries only makes sense, Google wants to add a myriad of new blocks to Blockly. [17] The next step is also a natural one, an improved user interface. Currently, Blockly is kind of clunky, and rather difficult to piece together blocks when dealing with more than a couple blocks. However, the main issue as I’ve stated before, is scalability. Blockly is only usable when dealing with small programs, and Google recognizes this. These wish to expand upon numerous aspects of this problem. Everything from their libraries, to debugging tools, on top of multiple workspaces and a variable scope. With even a handful of these features implemented, Blockly could become a very powerful language. [17]
Open Document