16,300 karma · joined March 29, 2007
Maybe you can create a better way, but it is not implemented in the sort package by default.
Also I suppose you need to "convert" your list to some other type with the said functions provided (dervied from the standard go lists, forgot the name). Maybe that is a standard go mechanism, but it still amounts to more lines of code.
Maybe complicated is the wrong word, longwinded might be better?
Are the A-Levels really giving much of a head start? When I studied maths, it was really much more advanced than the maths we did in grammar school (in Germany). The maths from grammar school was occasionally mentioned as a special application of the "real" maths.
Bingo
They also get to choose jobs that earn less money, in exchange for more pleasantness and flexible work hours, because they have to worry less about being breadwinners for the whole family.
Computers are nice because you don't need a huge factory to start something. However, let's take an archaic example: sewing. I think you can also get rich sewing, for example by designing a popular fashion line or creating a popular brand.
I am not even sure it is easier to get rich with computers than with sewing, or if more people are getting rich with programming than with sewing.
It seems possible that by the time women have been successfully coerced into tech careers, some completely different technology will be in the limelight. I don't know what - perhaps bioengineering? Then there will be a big lament why so few women are in bioengineering.
In another note, the whole A-levels system seems rather stupid to me. I've met several people in the UK who weren't able to study what they want because they had the wrong A-levels.
I guess ultimately it is questionable in general to deny people the possibility to study what they want. Why require some silly school certificate?
Still could see myself using it for specific use cases.
But for the future I'd wish for something cooler to win :-)
Edit: check out the sort module and decide for yourself http://golang.org/pkg/sort/
It has some interesting, if confusing, properties. But why not just let me write
list.sort(function(a,b){ return 1, 0 or -1...}) like JavaScript does?
While the examples in the sort module are perhaps more generic than necessary (hence the interesting but confusing properties), any sort still requires the definition of 3 functions, and they can't be defined inline (on the fly) either, afaik.
Before the internet my friends and I sometimes used to get to together, everybody got some time to write a Corewar warrior on paper, and then we'd watch the tournament together. It was great fun.
That seems incorrect. While impractical, there might be other solutions, for example the Porsche could cost 1 BTC+ 1 Carrot, or maybe it could cost 2 BTC anyway. The buyer just wouldn't be able to pay in one go.
I guess it could go up if the Dollar goes down at the same time. The actual price is staying the same, but the Dollar is worth less, so it takes more to buy X. Not sure why that would be bad.
Also I suspect banks will create virtual bitcoin, as they do with money (lending BTC that they borrowed). Perhaps that will affect the price as well.