Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
acehreli
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
acehreli
6y ago
I've been using D since 2009 both personally and professionally. 'auto' return did bother me in a few places but it never came close to being a deal breaker.
32.
▲
by
acehreli
7y ago
Spot on! :) With the help of opDispatch (the catch-all member function temlate), it's possible to drop the string from the use site. (I don't know a way of dropping it from the type name.) import std.stdio; import std.typeco
33.
▲
by
acehreli
7y ago
It's a very important point that is often underrated. Programming is a human activity; the tool should make the human happy.
34.
▲
by
acehreli
8y ago
I current C, yes, they should. The whole point is, the length parameter should not be separate from the array. It's even worse than that: the parameter is not an "array", it's a pointer to a single element. This whole
35.
▲
by
acehreli
8y ago
Perfectionism is not engineering. Not finding a way to fix every use case that you can come up with is not an excuse to insist on unsafe features that are proven to be disasters in practice.
36.
▲
by
acehreli
8y ago
You never said "C" but perhaps you think there is "a reason" why C still exists too. The only reason ineffective tools like C exist is because there are people at the other extreme from those kids: Not take any risk but
37.
▲
by
acehreli
8y ago
> but that costs money for the company and time for the developer Quite the opposite: The new tool saves time and money. Airbnb example just shows that one should not jump on the newest thing on the market.
38.
▲
by
acehreli
8y ago
Patently false and disservice to software engineering. There are many companies (e.g. Weka.IO, Sociomantic, etc.) that hire C++ developers and have them happily write D code. I did work at Weka.IO for a while and never met a single D progra
39.
▲
by
acehreli
8y ago
0) Tool satisfaction > motivated dev can learn any language The key word is "motivated". That's why I'm an expert user of C++98 and D but I can't learn Go, Python, C++11, etc. > able to get really passionate d
40.
▲
by
acehreli
8y ago
Except that "the inclination of an individual towards a new language" is because of "the actual shortcoming of current language."
41.
▲
by
acehreli
8y ago
Because this is about learning programming with a language, here is a shameless plug for learning with D: http://ddili.org/ders/d.en/index.html
42.
▲
by
acehreli
8y ago
Weka has recently open-sourced their no-GC library Mecca: https://github.com/weka-io/mecca Here is Shachar Shemesh's introduction: https://www.youtube.com/watch?v=xNWRgEHxOhc&feature=youtu.be..
43.
▲
by
acehreli
9y ago
Not really. :) The Mill has bugs at many levels from design to implementation both in software and hardware. It's even in the linked paper: "A code generator bug exposing a software vulnerability akin to Spectre variant 1 has been
44.
▲
by
acehreli
9y ago
Over Go: D has meta programming, exceptions, and many more useful features Over Rust: No need to learn new concepts like borrowing
45.
▲
by
acehreli
9y ago
To me, D's compile-time features like templates, code generation, etc. are some of its most important features. Lacking those and exceptions and many other useful bits, Go cannot compare to D. (I finally can claim experience on both la
46.
▲
by
acehreli
9y ago
The article is not about olives, rather about those black things that Californians eat on pizza and some salads. They neither look like nor taste like olives. :p
47.
▲
by
acehreli
9y ago
Speaker here. AMA.
48.
▲
by
acehreli
9y ago
It's one of the points of this article that you don't need those two modes with D. Scripting and custom code in the same language is possible but it's still an alien concept.
49.
▲
by
acehreli
9y ago
xsv appeares in comparisons on the author's tsv-utils-dlang repo: https://github.com/eBay/tsv-utils-dlang/blob/master/docs/Per...
50.
▲
by
acehreli
11y ago
> I also suspect, that C++ is more of a result of design-by-commitee, whereas D is - to a substantial degree - the brain-child of a single person. That's exactly how I see it. However, "single person" era ended long ago. S
51.
▲
by
acehreli
11y ago
The GC situation is getting better: - The language has the @nogc attribute to ensure at compile time that the GC is not used in a function or an entire module. - The number of standard library functions that have the @nogc attribute is incr
52.
▲
by
acehreli
11y ago
I've been using Emacs for about 20 years now. Sorry, can't change that. :) Ali
53.
▲
by
acehreli
11y ago
I've discovered D six years ago after reading Andrei Alexandreuscu's article "The Case for D" in one of ACCU's publications. D was a gasp of fresh air especially for people coming from C++ like myself. I used to fre
54.
▲
by
acehreli
11y ago
I am the author (of the book). AMA. Ali