News for hackers. Stuff that matters.
Re:Ask HN: What's your favorite way of getting a web app up ... by gkya on Sunday June 03, 2018 @10:11AM (#17219591)
The first paragraph is plain wrong. JS is the JS of frontend because there are no replacements. Use a language compiled to it, but still you'll have to know and use JS. PHP on the other hand is a caricature of a language that you can avoid.

The second paragraph is correct, but it's just equally correct for Python, Ruby, Perl, Lisp, Shell languages etc., as they all support multiline strings and string interpolation too. The only difference is that you'll have to wrap strings in delimiting markers, instead of code with <? ?>.

Re:Ask HN: What's your favorite way of getting a web app up ... by jdbernard on Sunday June 03, 2018 @08:16PM (#17223386)
Agreed. I've worked with PHP for years. It's not my choice unless it's a requirement. There are plenty of other more durable and scalable languages for the backend (as you've listed) that are just as easy and quick to get going if not more so.