Earlier quoted context omitted.
yep, stopped reading after this. How can this be objective if you think that everyone is a "bad" programmer that uses this or that language, wtf. Pros for PHP could be, it's templating capabilities with HTML, easy to use DB interfaces and the entanglement with the web/HTML/web-server in general. Nowadays you don't really write these kinds of apps anymore where your backend returns whole HTML Pages but that doesn't me…
Same. Also I'd add low entry barrier and maturity of interpreter. Of course, this comes at a price. But saying PHP has no pros is quite subjective
How I decide between many programming languages
41–50 of 68 posts
Re: How I decide between many programming languages
#42Strange that the availability of developers who can actually be recruited for the given languages isn't listed as a factor.
Any programmer worth their salt should be able to adapt to a new language when they start at a new project/company. Hiring processes that target people who know language X are just dumb, except for very short-term/time sensitive work.
"We hire programmers that can use myriad of different languages (except Lisp off course, no one want's to deal with Lisp) and then you also have to know Java because in fallback situation you'd be useless in their time constraint setting //goodbye" that kind of thing, did I get this wrong?
Re: How I decide between many programming languages
#43> C++ > Pros: none > Cons: ill-defined, far too big, Object Oriented Programming, loads of baggage, ecosystem that buys into its crap, enjoyed by bad programmers. This is just rubbish. Fair chance the author wrote this with the help of C++ (your OS or browser maybe?). And I enjoy C++ and it's eco system as well, compared to other languages. So that makes me a bad programmer? I'm surprised people are taking this post…
Which OS would that be? Most OSes hardly touch C++, except at higher layers than the kernel.
Re: How I decide between many programming languages
#44"every PHP programmer is bad at programming, the language is designed to accommodate them with convenient footguns (or faceguns) at every step, and the ecosystem is accordingly bad. No, PHP7 doesn’t fix this. Use a real programming language, jerk." This guy seems like a real open minded person who did his research and shared his opinion after making strong points. /s
- Cheap (almost every cheap/free hosting supports it without any extra config)
- Easy (can other languages beat this out of the box: `$_POST["name"]` ?)
- Wordpress
PHP things that are not unique but good: - Huge market (if you are into bootstrapping your business, there are lots of opportunities and low hanging fruit in PHP)
- Lots of big open source projects to customize or work on top of (nextcloud, etc...)
Things that you need in order to appreciate PHP: - Have a product mindsetRe: How I decide between many programming languages
#45Re: How I decide between many programming languages
#46It seems Drew DeVault is highly opinionated and the opinions are more than 10 years old.
Drew is also one of the most insanely productive programmers currently, serving as lead developer of Sway, wlroots and SourceHut and as CEO of sr.ht.
Re: How I decide between many programming languages
#47Strange that the availability of developers who can actually be recruited for the given languages isn't listed as a factor.
Any programmer worth their salt should be able to adapt to a new language when they start at a new project/company. Hiring processes that target people who know language X are just dumb, except for very short-term/time sensitive work.
Re: How I decide between many programming languages
#48I have tinkered with dozens of languages, yet, when I can choose a programming language and money is on the line, I always ask the following questions: - Does it have a standard and a good track record for backwards compatibility? - Is it memory safe? (Bound checking, no pointer arithmetic, etc.) - Does the runtime have automatic memory management in the form of a tracing GC? How tweakable is it? - Does it have kerne…
What answers do you come up with for these questions?
I am looking forward to multicore OCaml and maybe I give F# a go.
Re: How I decide between many programming languages
#49> C++ > Pros: none > Cons: ill-defined, far too big, Object Oriented Programming, loads of baggage, ecosystem that buys into its crap, enjoyed by bad programmers. This is just rubbish. Fair chance the author wrote this with the help of C++ (your OS or browser maybe?). And I enjoy C++ and it's eco system as well, compared to other languages. So that makes me a bad programmer? I'm surprised people are taking this post…
'there is widely used software written in language x' != 'language x is good' C++ definitely has its uses (and for a long time was best-in-class for many of them) but it is largely being superseded by other options (not necessarily Rust).
I'm trying hard to use Julia, but understanding its PTX output is really hard for me, and also I don't know how to use the matrix multiplying GPU instructions.
Rust's PTX output is not supported, so I haven't really tried it.