News for hackers. Stuff that matters.
Re:Rust's Type System Is Turing-Complete: Type-Level Program... by qznc on Saturday March 11, 2017 @02:34AM (#13844662)
Yes, for the concepts. Just like it helps to know relational databases, even if you always use an ORM in practice.

It is debatable if Datalog is enough or if cuts et al are worthwhile.

Re:Rust's Type System Is Turing-Complete: Type-Level Program... by pjmlp on Saturday March 11, 2017 @11:49AM (#13846048)
> even if you always use an ORM in practice.

I seldom use an ORM, I rather leave the work for the database engine.

My knowledge of PL/SQL, Transact-SQL, PL/pgSQL is way better than trying to make an ORM perform better.

Something like Dapper.NET or jOOQ are good enough for the remaining part of the work.

Re:Rust's Type System Is Turing-Complete: Type-Level Program... by fauigerzigerk on Saturday March 11, 2017 @03:32AM (#13844793)
Not sure if ORMs are a good analogy here. ORMs are a leaky and misleading abstraction on top of an actual RDBMS.
Re:Rust's Type System Is Turing-Complete: Type-Level Program... by charlieflowers on Saturday March 11, 2017 @02:51PM (#13846872)
The GP seems to be thinking in the opposite direction. His analogy is that knowing an ORM but not SQL is like not knowing Prolog, and that adding knowledge of SQL to your ORM knowledge is like learning Prolog.

So the argument is that it is a similar eye-opening transition from ignorance to awareness.

Re:Rust's Type System Is Turing-Complete: Type-Level Program... by continuational on Saturday March 11, 2017 @07:19AM (#13845222)
Well, SQL is a pretty complicated implementation of Datalog. I think it's easier to learn Prolog from first principles, since the pure subset is pretty simple.