5 ms·
Depend on what is your target audience. If they are beginner comp sci students then D is ok. Preferably something lispy like Racket. If they are more of "learn
by Jansen312 5y ago
Depend on what is your target audience. If they are beginner comp sci students then D is ok. Preferably something lispy like Racket. If they are more of "learn to code" and get high paying job, D is not recommended. Python, Java/Kotlin, R, C# or C/C++ would be better choices. If you are focusing on embedded students, C is a must and maybe Rust. If you are focusing on web development, then Javascript/Node is a must. Some people would argue that learning any languages is ok as you learn the concept. But this argument is the same as learning Japanese or Korean so you have "upper hand understanding" of Chinese. Why not just go straight learn Chinese than beating around the bush learning something "similar". There are concepts in C/C++ that are hard to replicate in C# or Python such as pointers and low level memory management. Or, data science community on Python platform that are scarce in others. Same with r for statistics, C# for .Net/Microsoft, Java/Kotlin for Android stuff. Most people have limited ability to learn 1 or 2 languages over their lifetime. Just focus on that most useful and accessible. Good one will always go on and create their own languages.
- WalterBright 5y agoD experts get very well paid programming jobs.
- nerdponx 5y agoI'm sure that Common Lisp experts do, too. But how many of those jobs are there really? Also: are they well-paid because they are D experts, or is being a D expert merely correlated with other traits that explain their high pay?
- WalterBright 5y ago> But how many of those jobs are there really? All I can say is they haven't had any trouble getting those jobs. > are they well-paid because they are D experts, or is being a D expert merely correlated with other traits that explain their high pay? Both. As related to me by their employers. D experience looks good on the resume. It strongly suggests that the person is not one of those do as little as possible people - that they actually like programming.
- chakkepolja 5y agoWith all due respect, there's selection bias in people telling you that.
- DJBunnies 5y ago> they actually like programming. That has nothing to do with $LANGUAGE.
- mrfox321 5y agoWhy not? People who know languages to write CRUD may have different professional preferences to people who know Lisp. If we are okay with stereotyping programming languages, is it not fair to stereotype people who are fluent in said programming languages?
- pdpi 5y agoIf you tell me you work in a dev role of some description, I assume you at least like programming somewhat. If you then tell me you write Java or C#, that gives me very little additional information. They’re super mainstream languages used by whole armies of “drones” who have no particular passion for the craft, but there’s also some truly passionate people out there, and I don’t know which bucket you fall into. If you tell me you write D, or Lisp, or Haskell, that’s different. You don’t end up writing any of those by accident, so you either sought them out deliberately or you saw an oddball language and weren’t scared off. That’s definitely strong signal for “actually likes programming”.
- WalterBright 5y agoYup, in my decades of experience there's a strong correlation.
- akmittal 5y agoThere are very few countries/Cities with demand for D. With somethinh like JS much more chances to get hired in almost all parts of world.
- nix23 5y agoTrue! Countries/Cities are in need of Cobol/Java, if in possession of Nuclear Weapons Fortran...or ADA ;)
- WalterBright 5y agoDo your really want to program in JS? I wrote a Javascript compiler/interpreter for a customer, but the language just never clicked with me.
- tpoacher 5y ago> If they are more of the "learn to code badly" and get a high paying job eventually" camp […] There, FTFY.