That's true, but you can write C code in D as well, so switching to D won't make people write idiomatic code either. If they won't learn how to use one correctly then they won't care enough to use another correctly. And…
Same here; I used to be a huge fan of D but then C++11 came along and solved most of my problems (and some that I didn't know D had).
Then say "better than hand-written C++", not "better than C++". It's like saying "C++ performs better than assembly". No it doesn't. It may perform better than hand-written assembly, and that's completely different.…
> compiles down to C++. Execution speed is comparable to C++, mostly better. Uh, what. Can you clarify?
Well according to Wikipedia (yeah I know, but I don't feel like searching elsewhere) it may or may not be taken with the meaning "center of the world." And even if it is, it's more of an observation than a boast, since…
Ouch, camouflage on a tank is a good analogy. Nice response post. In addition to, as the author encourages, being "weary of the 'by obscurity'" argument (as I'm sure we all already are), I would also advocate being wary…
I was replying to the part where "even if the files are local" i.e. not on the net.
I was thinking about this the other day and I came to think that Wikipedia's rule about citations is this: Wikipedia does not want to be a source of information. It wants to be a collection/aggregation of other sources…
If they opened it in notepad they'd see a one-line URL, which is pretty obviously not the 5-page paper they typed. But I suppose many people wouldn't ever open it in anything other than the Drive interface, and I…
While I sympathize with the author (it must have hurt pretty bad if it made him go create an entire website dedicated to "google drive sucks") I thought it was quite obvious that files created on Google Drive with their…
Will this let us do SRP over HTTP?
It's not really boilerplate in the classical sense, he's just talking about headers and lines that have only a brace on them. I think it's a fair statement. Plus, he could have reduced lines even further to get down to…
Not sure what AIUI means, but the very words "exception-safe" usually imply RAII.
I know, I think he misread the C++ code.
Actually wouldn't it be int[][int] whatever; ? Because I think we should be getting an array out whenever we do whatever[1] and not just an int.
Idiomatic C++ would allocate everything possible on the stack, and if that wasn't possible, use `make_shared`/`make_unique`. So maybe I will change it to say "doesn't use `new` directly".
This isn't really a fair criticism because: 1. You picked probably the most verbose way to do it. 2. It's not valid C++ because you're assigning a pointer to a value. 3. Idiomatic C++ doesn't use `new` explicitly anyway…
It also could be that they're making changes and just not optimizing them until they put them in regular Chrome.
"All that happens must be known." Wow. So much insidiousness packed into six little words. They conveniently forget to mention by whom it should be known.
I'm not asking why reserved words are a bad idea, just opining that I think having 100 single- and double-character symbols might not be the best UI for a language. Why not have just names (neither reserved like…
> Hoon is a keyword-free language - any alphanumeric text in the program is part of the program. Where other languages have reserved words, Hoon has squiggles. But... why?
Awesome work. How big is the executable? Also, what did you not like about the Lua object model?
They can do that. It's plain on any good documentation site (e.g. http://en.cppreference.com/w/cpp/string/basic_string) that `string::size_type` is unsigned. The teachers just have to be knowledgeable enough to let…
Or instead of digging through docs, we could do cout << is_unsigned<string::size_type>::value; and check it ourselves.
Once again Betteridge's law proves true.
That's true, but you can write C code in D as well, so switching to D won't make people write idiomatic code either. If they won't learn how to use one correctly then they won't care enough to use another correctly. And…
Same here; I used to be a huge fan of D but then C++11 came along and solved most of my problems (and some that I didn't know D had).
Then say "better than hand-written C++", not "better than C++". It's like saying "C++ performs better than assembly". No it doesn't. It may perform better than hand-written assembly, and that's completely different.…
> compiles down to C++. Execution speed is comparable to C++, mostly better. Uh, what. Can you clarify?
Well according to Wikipedia (yeah I know, but I don't feel like searching elsewhere) it may or may not be taken with the meaning "center of the world." And even if it is, it's more of an observation than a boast, since…
Ouch, camouflage on a tank is a good analogy. Nice response post. In addition to, as the author encourages, being "weary of the 'by obscurity'" argument (as I'm sure we all already are), I would also advocate being wary…
I was replying to the part where "even if the files are local" i.e. not on the net.
I was thinking about this the other day and I came to think that Wikipedia's rule about citations is this: Wikipedia does not want to be a source of information. It wants to be a collection/aggregation of other sources…
If they opened it in notepad they'd see a one-line URL, which is pretty obviously not the 5-page paper they typed. But I suppose many people wouldn't ever open it in anything other than the Drive interface, and I…
While I sympathize with the author (it must have hurt pretty bad if it made him go create an entire website dedicated to "google drive sucks") I thought it was quite obvious that files created on Google Drive with their…
Will this let us do SRP over HTTP?
It's not really boilerplate in the classical sense, he's just talking about headers and lines that have only a brace on them. I think it's a fair statement. Plus, he could have reduced lines even further to get down to…
Not sure what AIUI means, but the very words "exception-safe" usually imply RAII.
I know, I think he misread the C++ code.
Actually wouldn't it be int[][int] whatever; ? Because I think we should be getting an array out whenever we do whatever[1] and not just an int.
Idiomatic C++ would allocate everything possible on the stack, and if that wasn't possible, use `make_shared`/`make_unique`. So maybe I will change it to say "doesn't use `new` directly".
This isn't really a fair criticism because: 1. You picked probably the most verbose way to do it. 2. It's not valid C++ because you're assigning a pointer to a value. 3. Idiomatic C++ doesn't use `new` explicitly anyway…
It also could be that they're making changes and just not optimizing them until they put them in regular Chrome.
"All that happens must be known." Wow. So much insidiousness packed into six little words. They conveniently forget to mention by whom it should be known.
I'm not asking why reserved words are a bad idea, just opining that I think having 100 single- and double-character symbols might not be the best UI for a language. Why not have just names (neither reserved like…
> Hoon is a keyword-free language - any alphanumeric text in the program is part of the program. Where other languages have reserved words, Hoon has squiggles. But... why?
Awesome work. How big is the executable? Also, what did you not like about the Lua object model?
They can do that. It's plain on any good documentation site (e.g. http://en.cppreference.com/w/cpp/string/basic_string) that `string::size_type` is unsigned. The teachers just have to be knowledgeable enough to let…
Or instead of digging through docs, we could do cout << is_unsigned<string::size_type>::value; and check it ourselves.
Once again Betteridge's law proves true.