Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
he_the_great
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
he_the_great
4y ago
auto alist = [1, 3, 2]; alist .sort .map!(x => x * x) .map!(x => x - x/2) .map!(x => x + 1); This seems like what you're asking. Each of those is a template. And while this is all logic code, D has inferred the ty
2.
▲
by
he_the_great
5y ago
Those don't matter, because while you can't build your own in Go, the built in types provide the same functionality.
3.
▲
by
he_the_great
5y ago
Yeah I do much in C# and almost never use generics. And when I do it is almost always not what I want. D has me fooled and I can't imagine Go choosing to go further in D's direction over C#. I feel sorry for them.
4.
▲
by
he_the_great
6y ago
Well learning D or Rust likely will not help you get a job writing Javascript. My C# style is heavily influenced by D, for the better IMO. I have some potential coming up to do some Typescript, it will be interesting to find out how to tran
5.
▲
by
he_the_great
6y ago
D implementation of algebraic type is in the library. https://dlang.org/phobos/std_variant.html#.Algebraic I have not utilized tagged unions outside this type so I'm not one to comment on any deficiency.
6.
▲
by
he_the_great
7y ago
I tried to make libre contribution, but I prefer the concept of granted power and that was not their direction. https://github.com/liberland/constitution
7.
▲
by
he_the_great
7y ago
At this point yes. But that is for historical in accuracy, like the 12 amendment being added twice. Restructuring and formatting can come in as post edits. There is currently a rewrite in the works.
8.
▲
by
he_the_great
7y ago
It is also important to note that the firearm, while not as powerful, could be just as deadly with the limited medical knowledge, speed of transportation. It would be a little hard to identify a good parallel.
9.
▲
by
he_the_great
7y ago
The repo does edit the original document. The original amendment text is included in a separate file, but is not the purpose of the commit.
10.
▲
by
he_the_great
7y ago
Nope, a rewrite branch is in the works (to many glaring issues to start with.)
11.
▲
by
he_the_great
7y ago
It is fine, this isn't a legal platform, the issues are being labeled and later closed.
12.
▲
by
he_the_great
7y ago
No tools, just manual lookup. There is now a history rewrite based on the feedback happening.
13.
▲
by
he_the_great
7y ago
That is why you have merge request approvers and the merger. The work can be authored by many because each makes small contributions. You can even have multiple protected branches where "policy makers" merge the work from their la
14.
▲
by
he_the_great
7y ago
The Bill of Rights is more additional than modification. The president is the commander an chief of the military, it seems reasonable he would not be allowed to quarter his troops in peoples homes. Take a look at this one https://
15.
▲
by
he_the_great
7y ago
No the dates are wrong, and the conversation used is stupid.
16.
▲
by
he_the_great
7y ago
Git does not store commit dates pre 1971. The commit message has the correct date because it is just text.
17.
▲
by
he_the_great
7y ago
Not only has that been happening for years, Google will match D when you search for dlang, wouldn't be surprised if the reverse is true. Google has figured this out for you.
18.
▲
by
he_the_great
7y ago
While not a targeted answer to why not go/rust, this is my case https://dev.to/jessekphillips/my-case-for-d-444p
19.
▲
by
he_the_great
7y ago
I think D is still working through lack of support for dynamic libs (lots of headway was made so I may be wrong) It is funny how Go sold it as a feature, but it was always a deficiency in D (and yes, it just happened out of the box.) That i
20.
▲
by
he_the_great
7y ago
Because Walter wrote a native compiler. I could see the same fate for nim, Walter writing a native compiler for fun that is.
21.
▲
by
he_the_great
7y ago
It is less about how it feels and more about how it looks. And appearance really only changes when you hit templates. And with D you can't tell (as an outsider) so it just looks like the non templated C++.
22.
▲
by
he_the_great
7y ago
It is the first thing I added to my articles when I introduced range based operations : https://dev.to/jessekphillips/count-of-a-list-in-d-49k4
23.
▲
by
he_the_great
7y ago
SQL gets rather mistifying when you move towards some complex joins and data mapping. PSQL can also feel Sadly out of place. But their is real nice clarit in what you want at its foundation.
24.
▲
by
he_the_great
9y ago
Seriously though, not being thrown into a program editor at boot is not what prevents getting started with programming. It probably is the fact that you can do non-programming on the computer. I mean, anyone using a computer would then know
25.
▲
by
he_the_great
9y ago
It still does, but that doesn't mean you aren't able to create garbage. There is effort to both improve the GC and to make it easier to avoid allocating GC managed memory.
26.
▲
by
he_the_great
9y ago
Rust just needs to add extern(C++) like D has and then they can communicate.
27.
▲
by
he_the_great
9y ago
There has been work done to improve the collector but nothing has made it into mainline. For example one implementation was missing parts for Windows but worked in Linux thus it couldn't be pulled in and used.
28.
▲
by
he_the_great
12y ago
Seems to me the replies made to the "fake" problems are very telling about what is a problem. For example, Go is praised for being a simple language that everyone can learn quickly, yet when someone shows what they picked up "
29.
▲
by
he_the_great
12y ago
What happens when copy fails? Don't worry I already know.
30.
▲
by
he_the_great
12y ago
I see you've grabbed some examples to show the simplicity. Having to write the insertion sort algorithm to sort your basic types is not simple. Having to tell the standard library how to swap data in a slice and to obtain a slices leng
More ›