48 karma · joined January 5, 2013
The global population is 7.1 billion and rising fast. We should all cheer when we hear these statistics.
https://en.wikipedia.org/wiki/Urbanization#Environmental_eff...
http://inventorspot.com/articles/six_startling_scenes_overcr...
2) banal observations once you finally figure out WTF they are talking about. check.
3) lauded for being the smartest, greatest, most brilliant intellectual of their age. check.
4) books with inscrutable titles like Bubbles: Spheres Volume I: Microspherology and Rage and Time. check. (LOL! How big do your balls have to be to give a book a title like that?)
5) constant name-dropping of fashionable intellectuals. check.
Must be European philosophy!
UPDATE: quote from Amazon description of Bubbles. Behold the enormity of Peter Sloterdijk's balls:
"reinterprets the history of Western metaphysics as an
inherently spatial and immunological project, from the
discovery of self (bubble) to the exploration of world
(globe) to the poetics of plurality (foam)."
http://www.amazon.com/Bubbles-Spheres-Microspherology-Semiot...http://redmonk.com/sogrady/2013/02/28/language-rankings-1-13...
PROGRAMMER SEES INTERNAL REPRESENTATION
foo(int a, char b) foo_int_char
foo(int x) foo_intThe fact that it's used all the time would suggest it's not pointless inefficiency, no? Maybe you should try Python before bashing it.
>Python is doing the exact same thing as Go here, but in a less efficient manner.
It's not doing the same thing. "�є" is not the same as "єℓℓ".
In Go:
fmt.Printf("%s", string([]rune("нєℓℓσ")[1:4]))
// єℓℓ
In Python: print("нєℓℓσ"[1:4])
# єℓℓThis might explain why my comments seem like heresy to you. I would point out that the OP is about Python programmers switching to Go.
What happens when you slice a unicode string in Go is that it cuts multi-byte characters right in half, unless you get the byte boundaries just right. I know real programmers keep the byte boundaries for all the chars in all their strings in their head at all times, but for people like me this basically makes string slicing unusable for non-ASCII text.
Python somehow magically slices unicode strings without chopping characters in half.
In Python:
s = "нєℓℓσ"
s[1:4] # "єℓℓ"
In Go: s[1:4] // "�є"- Function overloading is a major convenience that you will miss. There are differently named versions of every function and you will call the wrong version with the wrong arguments all the time. The number of functions in the standard library could be reduced by at least 1/4 if they'd got this right. The official FAQ (http://golang.org/doc/faq#overloading) explains that leaving out overloading is "simpler", meaning simpler for them.
- Default parameters are a major convenience that you will miss. Using strings.Replace() to remove some chars from a string? Don't forget to pass the -1 at the end, asshole! The -1 says don't put a limit on the number of replacements. In Python there would be a max=None default parameter and this would never bite anyone.
- No named arguments, because fuck readability.
- Forcing me to handle errors is great. Having 20 different ways to do it is not great. Examples: fmt.Errorf(), fmt.Fprintf(os.Stderr), errors.New(), log.Fatal(), log.Fatalf(), log.Fatalln(), panic/recover...
- Using && and || for logical operators in this day and age is just ridiculous. Why do people keep inventing programming languages as if Python doesn't exist?
- Don't think that just because the Unicode guys invented Go that Unicode is going to be easy. Their solution is not to create an airtight abstraction layer between chars (or "runes" WTF?) and integers. Their solution is to provide almost no abstraction and force you to deal with the inherent integer-ness of all characters. Example:
In Python:
len("нєℓℓσ") # 5, because there are 5 chars
In Go: len("нєℓℓσ") // 12, because there are 12 bytes
utf8.RuneCountInString("нєℓℓσ") // 5, plz kill me i am an abomination
tl;dr If you're inventing a programming language for human beings (not UNIX gods), try it out on a group of smart high school students first. It will be a humbling experience.If you think I'm exaggerating, check out this unintentionally hilarious excerpt from the Ludwig von Mises Institute wiki. See if you can count how many times they flip-flop on whether they make predictions.
Austrian predictions
This page attempts to list various predictions made by
Austrian economists about important economic and other
developments.
Important note: Austrian economists, as Austrian
economists, or praxeologists, do not predict. They can
predict not as formal economists, or praxeologists, but,
rather, in their role as thymologists, or economic
historians. In praxeology, A causes B, other things
remaining the same. But, in the real world, other things
cannot be relied upon to always remain constant. Therefore,
predictions of the "A will necessarily lead to B" type are
strictly prohibited. Instead, praxeologists, but not
thymologists, must limit themselves to statements of the
if-A then-B variety.
With this in mind, it is interesting that Austrian
economists have been quite successful at predicting major
events.[1]
http://wiki.mises.org/wiki/Austrian_predictionsSo we can't predict the future, but the other guys' 50-year predictions "were wrong" [sic] and my 50-year predictions are right. Did I get that right?
His argument can be summarized as "Everything will probably work itself out. Trust me, brah. I'm a futurist."
"The root cause of most of our problems is our declining fertility rate."
Global warming, terrorism, droughts, hurricanes... all caused by birth control pills.
"The replacement rate is 2.1. If the average woman has more children than that, population grows. Fewer, and it contracts. Today, America's total fertility rate is 1.93... it hasn't been above the replacement rate in a sustained way since the early 1970s."
Let's just ignore the immigration from countries with replacement rates far above 2.1 that has increased the US population by 100 million since the early 70s.
"First, global population growth is slowing to a halt and will begin to shrink within 60 years."
Overpopulation isn't a problem because the spread of birth control and women's rights will solve the problem in 60 years. So let's block birth control and women's rights.
"...growing populations lead to increased innovation and conservation."
Horrible droughts lead to increased innovation and conservation of water. Yay horrible droughts!