Hacker Newsnew | past | comments | ask | show | jobs | submit | more T-R's commentslogin

They seem to be restocking in small batches and selling out immediately, at least online. According to nowinstock.net, in the US, Best Buy's been getting shipments most consistently, and received one as recently as last week. Some people find out what days they get shipments and just wait outside the door for them to open.


> they didn't control for hours worked

Are the programmers in question being paid by the hour? Does programmer pay within each gender correlate closely to hours worked?


I wouldn't know. It seems reasonable.

All the academic studies I have seen either adjust for it explicitly or put forward a strong case on why it isn't being included.


It's certainly reasonable for a studies across fields with hourly pay or, e.g., including both part-time and full-time (such as the BLS survey cited by the Forbes article), but I'm not sure we can make that assumption for software development - programmer productivity in a given time period is, on its own, somewhat mythically considered to vary by orders of magnitude.


Fair point.

I'd argue it's a more logical and likely explanation than sexism though.


Anecdotal evidence matches this up pretty closely. Better programmers tend to work more, it's just a fact of life.


You don't think people who are willing to work longer hours end up getting paid more? Are people who work more than forty hours each week doing it for nothing?


> pay little or no attention to memorizing characters

I'm not usually one to speak bluntly, but, at least for Japanese, speaking from a lot of experience, this is flat out the wrong approach.

Older books like the romanzied "Japanese for Busy People" took this approach. I started with this book, it felt easy at the time, but it was immensely impractical - you don't build up enough of a base to learn from any other material. It's completely useless. After over a year, in a formal setting, I ultimately decided to just completely start over.

Currently Japanese courses mostly just focus on Hiragana and Katakana, since material for children usually has pronunciation guides over the kanji anyway. This is workable, but it just gives you no leverage where you could have some - you end up memorizing a thousand indiviaul words, some of which maybe kind of sound similar in parts, when you could instead learn a dozen charcters, and know that they share root words. Phoenetic approaches work for children who are in a situation where they can memorize from immersion with native speakers, and have additional clues like context and intonation to emphasize root words, to pick up new vocabulary.

When I started studying Chinese, we instead went with a "radicals-first" approach, and after just a short time of that, my Japanese vocabulary exploded - I could suddenly pick out all the seafood on a menu, and I started asking people mid-conversation "oh, does that use these characters?", and I could understand what it meant without them having to struggle to translate to English: Heart+Electric+Map - it's probably an electrocardiogram, especially if we're talking about hospitals. If you haven't learned the kanji, you don't even know if you can make that association from the sounds, much less how to ask that question.

That's how you get to fluency, by building up a foundation that lets you learn without active study. You can't get there by avoiding the basis of word composition in the language. Apologies if my frustration with characters-last approaches came through a little strong - they wasted a lot of my time.


Mair's point is that "building up a foundation" means learning the language not the script.

> characters-last approaches

I think it's more accurate to call what Mair's advocating a "language-first-characters-later-if-necessary" approach.

Here's what Mair said about Chinese classes:

It’s a tragedy that so many young Americans spend years stuffing their heads with hundreds of Chinese characters, gaining no usable proficiency, and then forgetting them all by the time they’re 25. If the Chinese would wake up and permit pinyin to function as part of a genuine digraphia, then I would say it might make sense for maybe 2 percent of the population to learn up to third-year level of Mandarin—strictly romanized, mind you. But there are exceedingly few teachers who are enlightened enough to teach it that way.

http://chronicle.com/blogs/linguafranca/2012/03/02/more-on-h...


They're not reasonably separable. Memorizing romaji, or even strings of hiragana, removes the associations between root-words that are related, like those radicals that let you identify menu items, and removes the visual aid for identifying root words in context. Memorizing associations between arbitrary groups of sounds without the radicals is actually harder, it just sounds easier to those intimidated by the idea of learning characters.

Given, much to Mair's displeasure, that actual native media is written with kanji, they're immediately necessary, and not studying kanji effectively bars students from any learning outside the classroom until they have - which is completely counter to giving students either the context necessary for immersion or the reinforcement for traditional study to work.

Maybe it's merited for Chinese classes, with its larger character set, but Mair's approach just sacrifices students' ability to learn on their own in favor of lowering attrition rates of intro-level classes. It's actively harmful to students aiming for fluency to build up the characters as this insurmountable mountain in the distance before they can actually use their knowledge, rather than the useful compositional blocks and visual aids that they are.


> They're not reasonably separable

They are very reasonably separable. If they weren't, countries like Korea couldn't have switched their orthography (which they did).

Also Japanese people enjoyed playing games like マザー2. This is part of "actual native media", and Japanese writing could look like this:

https://youtu.be/F_UrqsO2JQ0?t=10m15s

(Notice the native narrator has no trouble reading the kana-only writing.)

It's true that much of current native media still uses kanji, but they aren't "immediately necessary". There are books/manga with furigana and software tools like Rikaichan/kun for online articles.

People should be able to learn whatever they want outside of the classroom, including kanji (being able to recognise commonly used characters certainly helps in understanding native media). It's just that grammar, vocabulary, etc (real language) are much more important than kanji for beginners.


Sure, Korean is phonetic, and so learning it phonetically makes sense, since you won't be forced to re-learn it again to be able to use your knowledge. Speaking from experience studying Korean, though, attaining a useable vocabulary through rote memorization is dramatically harder than if you're familiar with the 한자/漢字 words are derived from, for exactly that reason - even though hanja's not used directly so much in korean, we started studying it in the third semester of Korean class, and it was helpful, though I'd agree maybe a bit excessive there.

Games that use a strict hiragana character set are readable by natives because they're already fluent in speaking; they're unnecessarily difficult for non-native speakers, particularly since they tend to only have the bare minimum of separators between words. After living in 4 prefectures, working for a small Japanese company, and dating a native speaker for roughly a decade, I still find those games hard to read - it's just hard to identify the shapes of words, like reading English with no spaces; you have no choice but to guess where the boundaries are and sound everything out syllable by syllable, because everything's written differently from how you'd see it anywhere else.

If some people want to put off kanji or memorize phrases from a travel guide, that's their prerogative, but not teaching the compositional aspects of kanji, and leaving students to fend for themselves after selling the idea that it's all rote memorization (and seemingly to push this implausible ethnocentric dream of the language one day being exclusively romanized) is just a disservice to the students, as it was to me.


> strict hiragana character set are readable by natives because they're already fluent in speaking

This is an argument for spending more time trying to become fluent in speaking (by learning vocab/grammar/etc) than spending time learning how to draw a bunch of characters.

The use of spaces would be necessary if Japan were to switch to kana, and that's one of the 3 things Kanamoji-kai recommends as well:

http://kanamozi.org/hikari958-08_kanamozibun-kakikata.pdf

Without spaces kana-only writing would be hard to read for most native speakers.

I honestly don't see any issue in not teaching kanji in Japanese classes, any more than not teaching cursive writing or Latin in English classes. They are just not essential. (Please do not start a lecture on how Latin helps you understand English.)

> ethnocentric dream of the languge one day being romanized

I'm not saying Japan should switch to romaji. I think in Japan's case kana would be much more realistic.

Also, I'm not advocating abolishing kanji either (people should be able to write kanji all day everyday if that's what they want to do).

I just want the government to (a) stop teaching kanji in public schools, and (b) mandate the use of kana (or some other phonetic writing system) in government documents.

I don't see how it's "ethnocentric". For most non-native speakers it's much easier to learn this way. Only non-native Japanese learners I've met who found it "easier to read" kana-kanji writing were people who already knew kanji e.g. Chinese people who were learning Japanese & were not fluent in speaking. The true of the matter is they were just familiar with the characters and they often didn't even know how to pronounce the words.


I have to agree with T-R. Japanese is much easier to read with Kanji. If you run into a kanji you don't know, that's too bad, but I run into words I don't know in English, too. You just look it up. English spelling is just as complicated, in my opinion. Also, "stop teaching kanji in public schools" is pretty much the same as abolishing kanji.


You read my conversation with T-R and your takeaway is I think teaching kanji to beginners is a bad idea because "I run into a kanji I don't know"? Please.

> English spelling is just as complicated, in my opinion

That's a separate issue, but I agree with you to some extent. Here's a Feynman quote (which I agree with 100%):

If the professors of English will complain to me that the students who come to the universities, after all those years of study, still cannot spell "friend," I say to them that something's the matter with the way you spell friend.

https://en.wikiquote.org/wiki/Richard_Feynman

> "stop teaching kanji in public schools" is pretty much the same as abolishing kanji

I don't think so. There are many things that aren't taught in public schools but taught in private classes (calligraphy/ikebana/yoga/etc).

It's good that people who care about these cultures enjoy them in their own time and other people are left alone and not being forced to learn something they think has a low ROI.

If kanji is such a good idea as you claim, it will survive and thrive without government coercion, don't you think?


"standard 12pt font" is biased for latin characters, though - at the larger font size, the Chinese characters are still getting much better information compression than the latin characters, which need to expand horizontally by using several characters per unit of meaning, plus separators (spacing and hyphens) to even be readable. In practice, even adjusting for font size, paragraphs of Chinese and Japanese are almost always shorter than latin-language equivalents.

Of course, the real winner of this argument is probably Korean.


Actually, I think Korean is not a winner. Its block-shape dictates that a character like 이 take the same amount of space as 핥, so there's a limit on how small a character goes. (There are fonts that try to break out of the standard square shape, but I don't think any found wide use.)

I think proportional fonts have a better space utilization by their nature. Anyways, I don't think that's an important metric. It's not like we live in an age where paper is scarce.


Kanji isn't so bad - most of the more complex characters are built up out of smallers ones, and even the smaller ones, as the article breifly hints at, have a primary radical that roughly categorizes it - learn the radical for "water", and you can identify all the seafood on a menu, even if you can't read a single character. They're actually really helpful for both comprehension and reading speed, like learning latin root words would be for English, but a lot more consistently applicable, so it gives you a lot of leverage.

The stroke order seems annoying at first, but it's pretty consistent, and actually really helpful for memorizing. The different pronounciations also seem intimidating at first, but for the most part:

- One's for composing with other characters

- Others are mostly variations on that one for fluidity, where people will still understand you if you get it wrong

- There may be one for when it's used on its own, that gets used so often you quicly think of it as basic

- Anything else is probably an edge case that you'll never see

tl;dr: Don't let the Kanji intimidate you


Thanks for the link. I'm actually under the impression that the situation in Haskell will be changing in the near future with the project called "Backpack"[1][2], which Simon Peyton Jones and Simon Marlow are both involved with.

[1] http://plv.mpi-sws.org/backpack/ [2] https://ghc.haskell.org/trac/ghc/wiki/Backpack


Oh cool! It looks like the first link is from 2014. Do they discuss their progress somewhere online? I'd love to see what they've done recently.


Distributed Programming was one of the things flagged "Immature" in State of the Haskell Ecosystem [1]. Just out of curiosity, was that a motivation behind the project, or do you have any other thoughts on that post-project?

[1] https://github.com/Gabriel439/post-rfc/blob/master/sotu.md#d...


It was definitely a factor. When we decided to use Haskell on the first project, we were mostly just curious how viable it would be for us.

If the current state of Distributed Programming in Haskell is "Immature", then I can't wait to see "Mature" :)


That's more or less it. Some things you can do:

- Dataflow analysis, to get an idea of the types/range of values you're working with

- Pattern matching to try to identify higher level constructs from math to loops to jump tables.

- Compiler-specific pattern matching to identify things like function entry points

- Signature pattern matching common functions (like C standard library calls), along the lines of what's used in High Level Emulation.


This is maybe true, given that Rust is intentionally multi-paradigm, but it's a pretty unfair comparison: My FP-style version deliberately made almost no changes to the original code aside from adding names - I even stated in the comment that I don't even know Rust (haven't touched it beyond knowing what "Affine types" means, and once having gotten someone else's "hello world" to compile for ARM). The imperative version you're comparing it to completely changes the semantics of the program, and is written by someone very familiar with the language.


I think the issue with procedural loops (not to be critical, just in general) is that there's no abstraction - it's not clear what's getting mutated, or what the result is (or its type), it's harder to look at the individual steps, and it's harder to refactor.

The nice thing about functions like "map", "filter", "fold", "flatmap", etc., is that they describe intent - when you see a "map", you know it's not aggregating things, just applying a function: "map" has a distinct purpose from "fold" (and depending on how pure things are, you may not even be allowed to do anything crazy).

Aside from that, the higher-order functions have pretty intuitive algebraic laws for refactoring (like with "compose" mentioned in my other comment) - It's not clear how you'd factor code out of a nested loop without understanding the whole thing, whereas "flatmap" (a.k.a. "bind" for the list monad) has laws for refactoring it.


I agree to you with the general sentiment. That said, Rust is not a functional language per se; the degree of functional decomposition is thus fundamentally limited. This is partly because it tries to be efficient, and as arielb1 pointed out, ownership sometimes makes it worse.

> It's not clear how you'd factor code out of a nested loop without understanding the whole thing, [...]

You are right, loops are particularly hard to refactor. I still argue that my code is better (barring any future expansion) because it fits within handful lines; you cannot easily understand 100 lines of code with the cyclomatic complexity of 1, but you can often easily understand 10 lines of code with the cyclomatic complexity of 8 (e.g. triple loops). The size of code, syntax and contextual information matters as much as algebraic laws.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: