Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
color_me_not
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
color_me_not
3y ago
> Romanization is for foreigners. Japanese people would read the original kana/kanji anyway Assuming it is only used for reading purpose. It is actually also useful for typing in Japanese with a keyboard without kanas, though it is
2.
▲
by
color_me_not
3y ago
Thank you. So, it seems I had understood the principle the way you explain it, but the code comment on print_point (as I indicated in the top of this thread) isn't saying that.
3.
▲
by
color_me_not
3y ago
So, you mean that this thunk is produced by the async function, and the await keyword will run it asynchronously? In other words, print produces a thunk, and print_point also produces a thunk, and when await is used on the later, it is exec
4.
▲
by
color_me_not
3y ago
There's no ownership concept, but in the JaneStreet fork, there is something resembling lifetimes[1]. [1]: https://blog.janestreet.com/oxidizing-ocaml-locality/
5.
▲
by
color_me_not
3y ago
I don't understand the comment in the method print_point in the class Point of the tutorial. [...] # This function is declared as `async` because it # awaits the result of print. async fn print_point(p) { # [.
6.
▲
by
color_me_not
3y ago
Sorry, that question was purely rhetorical. That divide between individual and collective as stated above was very sketchy, and I merely wanted to indicate that. If one take the strict definition of individualist and collective from a dicti
7.
▲
by
color_me_not
3y ago
> Collectivism involves deciding for others. That may be true, but that's not sufficient to define collectivism. There are many other forms of societal structures where "deciding for others" exists as well. Unless you mean