Comment Re:Real Programmers don't use GC (Score 1) 637
You can actually have auto closing resources since Java 7, which is not really the same as a destructor, but will remove that pain in your ass.
Except that car travels at 2.85 times the speed of the wind, when directly downwind, ie. when the boat and wind velocity vectors are on the same axis.
Of course, since the "sails" (the propeller blades) are moving on a different trajectory, their apparent wind is not directly downwind.
That would be merge sort, not quicksort.
Quicksort is (basically) :
- choose a pivot value
- quicksort the list of elements with a value lower than the pivot value (list 1)
- quicksort the list of elements with a value higher than the pivot value (list 2)
- add the pivot and list 2 to list 1
The best things in life are for a fee.