Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You were downvoted - it seems - just because. Or maybe someone felt offended by your mention of a fictional character. Whatever.

More to the point: feature known as string interpolation is really, really old. And popular. Just go here: http://rosettacode.org/wiki/String_interpolation_%28included... and see for yourself. TCL is from 1988, for example, which predates Scala quite a bit. Oh, and also predates Swift.

Yeah, I'd like people who comment on language features to study PL design history a tiny little bit more.



My example was from shell string interpolation/`sh`, which predates TCL by more than a decade. Not sure where your "I'd like people to study PL design history" comes from. It sounds kind of pretentious tbh.

We were looking for popular languages that use a syntax similar to `\{x}` for string interpolation. TCL uses a dollar sign, so pretty much as far from the C# syntax as possible (inside of the limited syntactical range out there). At least this page does not list any language that uses the same syntax: http://rosettacode.org/wiki/String_interpolation_%28included.... But maybe your vast knowledge of PL design history can provide information on one that does?


Ignorance doesn't annoy me--if anything, it's exciting, because there's so much people can learn. What annoys me is that people buy into so much hype around languages that are mediocre at best.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: