Re: D as a college language

2018-05-05 Thread rikki cattermole via Digitalmars-d
On 06/05/2018 1:35 PM, Seb wrote: On Friday, 4 May 2018 at 11:35:22 UTC, Sjoerd Nijboer wrote: So i'm a college student in and what bothers me is that there seem to kind of assume programming languages don't evolve or don't get replaced by better ones. Right now if you go to college you'll most

D4M In D?

2018-05-05 Thread IntegratedDimensions via Digitalmars-d
http://www.mit.edu/~kepner/D4M/ Anyone?

Re: D as a college language

2018-05-05 Thread KingJoffrey via Digitalmars-d
On Saturday, 5 May 2018 at 15:13:34 UTC, Russel Winder wrote: In that C is a portable assembly language and Java is an object-based language supporting some forms of polymorphism they are very different, but they are far from extremes. Come on, the difference between C and Java is far more t

Re: D as a college language

2018-05-05 Thread Seb via Digitalmars-d
On Friday, 4 May 2018 at 11:35:22 UTC, Sjoerd Nijboer wrote: So i'm a college student in and what bothers me is that there seem to kind of assume programming languages don't evolve or don't get replaced by better ones. Right now if you go to college you'll most likely get tought c++, c# or java

Re: D as a college language

2018-05-05 Thread Sameer Pradhan via Digitalmars-d
On Friday, 4 May 2018 at 11:35:22 UTC, Sjoerd Nijboer wrote: So i'm a college student in and what bothers me is that there seem to kind of assume programming languages don't evolve or don't get replaced by better ones. Right now if you go to college you'll most likely get tought c++, c# or java

Re: D for microservices

2018-05-05 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 10/23/2017 06:02 PM, Adam Wilson wrote: On 10/23/17 05:08, Jacob Carlborg wrote: * Database drivers for the common databases (PostgreSQL, MySQL, SQLite) compatible with vibe.d * Database driver abstraction on top of the above drivers, perhaps some lightweight ORM library I've been looking p

Re: D for microservices

2018-05-05 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 05/05/2018 02:30 PM, Nick Sabalausky (Abscissa) wrote: On 10/23/2017 06:02 PM, Adam Wilson wrote: On 10/23/17 05:08, Jacob Carlborg wrote: * Database drivers for the common databases (PostgreSQL, MySQL, SQLite) compatible with vibe.d * Database driver abstraction on top of the above drivers,

Re: Should 'in' Imply 'ref' as Well for Value Types?

2018-05-05 Thread kinke via Digitalmars-d
On Saturday, 5 May 2018 at 15:22:04 UTC, Bolpat wrote: I once proposed that `in` can mean `const scope ref` that also binds rvalues. https://github.com/dlang/DIPs/pull/111#issuecomment-381911140 We could make `in` be something similar to `inline`. The compiler can implement it as stated above (

Re: Should 'in' Imply 'ref' as Well for Value Types?

2018-05-05 Thread Jonathan M Davis via Digitalmars-d
On Saturday, May 05, 2018 15:22:04 Bolpat via Digitalmars-d wrote: > On Friday, 4 May 2018 at 09:34:14 UTC, Jonathan M Davis wrote: > > [...] > > It's actually not infrequent now that in C++, you want to pass > > stuf by value rather than const& precisely because move > > semantics can be used to a

Re: Should 'in' Imply 'ref' as Well for Value Types?

2018-05-05 Thread Bolpat via Digitalmars-d
On Friday, 4 May 2018 at 09:34:14 UTC, Jonathan M Davis wrote: [...] It's actually not infrequent now that in C++, you want to pass stuf by value rather than const& precisely because move semantics can be used to avoid copies. So, it's not at all necessarily the case that passing by ref is the

Re: D as a college language

2018-05-05 Thread Russel Winder via Digitalmars-d
On Sat, 2018-05-05 at 11:57 +, KingJoffrey via Digitalmars-d wrote: > On Saturday, 5 May 2018 at 11:25:45 UTC, Russel Winder wrote: > > […] > > What is the pedegogy here, what are the justifications. > > That the languages being taught to undergrads, must be pervasive. Not needed. The langua

Re: auto: useful, annoying or bad practice?

2018-05-05 Thread Atila Neves via Digitalmars-d
On Monday, 30 April 2018 at 21:31:48 UTC, Giles Bathgate wrote: On Monday, 30 April 2018 at 21:11:07 UTC, Gerald wrote: [...] It takes some getting used to. Type inference is useful because often you don't care/know, or want to type out the full name of the type for every variable. It does,

Re: D as a college language

2018-05-05 Thread KingJoffrey via Digitalmars-d
On Saturday, 5 May 2018 at 11:25:45 UTC, Russel Winder wrote: On Sat, 2018-05-05 at 03:02 +, KingJoffrey via Digitalmars-d wrote: […] Students should learn C first, Java second. Not one or the other, both! What is the pedegogy here, what are the justifications. That the languages bei

OST to PST Converter

2018-05-05 Thread johnparker via Digitalmars-d
It becomes easy to recover the damaged OST files with the help of ATS OST to PST Converter which is highly recommended by its users. it is very honest and reliable tool because of its highly rich algorithm. It converts the OST files into many different and important formats like EML, EMLX, vCar

Re: D as a college language

2018-05-05 Thread Russel Winder via Digitalmars-d
On Sat, 2018-05-05 at 23:16 +1200, rikki cattermole via Digitalmars-d wrote: > […] > You're forgetting one crucial detail. The people making the decisions > now, are not the same ones back then. Not forgetting at all, but may be didn't make the point as well as I should. All universities are no

Re: D as a college language

2018-05-05 Thread Russel Winder via Digitalmars-d
On Sat, 2018-05-05 at 03:02 +, KingJoffrey via Digitalmars-d wrote: […] > > Students should learn C first, Java second. Not one or the other, > both! What is the pedegogy here, what are the justifications. In UK we have Scratch then Python then ??? This is working tremendously well to get

Re: Need help with the dmd package on NixOS

2018-05-05 Thread Thomas Mader via Digitalmars-d
On Saturday, 5 May 2018 at 00:07:01 UTC, Johannes Loher wrote: Am 04.05.2018 um 22:27 schrieb Thomas Mader: [...] Here is a demangled version of what you posted: Here comes the entire demangled output of the Hello World build. Maybe it has something to do with ModuleInfo? I also need to skip

Re: D as a college language

2018-05-05 Thread rikki cattermole via Digitalmars-d
On 05/05/2018 11:06 PM, Russel Winder wrote: On Sat, 2018-05-05 at 03:22 +1200, rikki cattermole via Digitalmars-d wrote: […] Teaching materials is easy to create. My response is the response I got from my institution. It is industry usage which is the problem. Nobody wants to take the risk

Re: D as a college language

2018-05-05 Thread Russel Winder via Digitalmars-d
On Fri, 2018-05-04 at 11:52 +, bauss via Digitalmars-d wrote: > […] > > The biggest issue is that there isn't much industrial work done > in D and that's why it's not taught. Perhaps this argument is used in some places, but it is not the primary driver for choice of programming languages in

Re: D as a college language

2018-05-05 Thread Russel Winder via Digitalmars-d
On Sat, 2018-05-05 at 03:22 +1200, rikki cattermole via Digitalmars-d wrote: > […] > Teaching materials is easy to create. > My response is the response I got from my institution. > It is industry usage which is the problem. > > Nobody wants to take the risk without being able to point and say "t

Re: On emulating C++ Namespaces (don't ask why)

2018-05-05 Thread 0xFFFFFFFF via Digitalmars-d
On Friday, 4 May 2018 at 19:19:19 UTC, Manu wrote: On 4 May 2018 at 10:50, 0x via Digitalmars-d wrote: What am I violating here apart from the truth that our Mr. Walter doesn't like namespaces: interface tlvs { enum tlv { addr }; static: void header(); } Is this cool?

Re: D for microservices

2018-05-05 Thread Joakim via Digitalmars-d
On Sunday, 11 March 2018 at 11:10:09 UTC, Tamas wrote: On Thursday, 8 March 2018 at 22:53:11 UTC, aberba wrote: On Thursday, 8 March 2018 at 09:35:08 UTC, Andrew Benton wrote: On Thursday, 8 March 2018 at 07:54:29 UTC, Jacob Carlborg wrote: On Thursday, 8 March 2018 at 07:20:53 UTC, Radu wrote

Re: D as a college language

2018-05-05 Thread Walter Bright via Digitalmars-d
On 5/4/2018 4:35 AM, Sjoerd Nijboer wrote: Since D seems to be a language that supports a lot of programming paradigms very well, wouldn't it be beneficial to learn people declarative programming using D for a little and from there expose them to other programming styles in thesame language to lo

Re: auto: useful, annoying or bad practice?

2018-05-05 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 05/04/2018 12:54 PM, H. S. Teoh wrote: This is a good point. However, I'm failing to see it as a big problem, because for it to be a problem in the first place, you have to have *deliberately* passed an object of said type into a function that expects that particular concept. First of all,