TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Are programmers afraid of new syntax?

9 pointsby rs86about 7 years ago
I see many developers and companies adopt Elixir because "it looks like Ruby" but the two languages could not be more different. Why do programmers car so much about syntax?

5 comments

nostrademonsabout 7 years ago
It&#x27;s not so much that they&#x27;re afraid of it, it&#x27;s that changing syntax imposes a mental tax on them for no reason. Once you&#x27;ve been programming in a language for more than a few months, you no longer think in terms of tokens. Rather, your muscle memory now has constructs for &quot;This is what a variable binding looks like. This is what a for-each loop looks like. This is what a method call looks like,&quot; and you can just think in terms of the desired semantics rather than how to type that into an editor.<p>A language with a new and unfamiliar syntax requires that you unlearn all these key-bindings and start thinking on the level of tokens again. It&#x27;s understandable that given the choice, people who have already graduated from this stage would rather not repeat it.
评论 #16573046 未加载
评论 #16572525 未加载
codeonfireabout 7 years ago
No, but there is a &quot;not this shit again&quot; attitude. Over the last 50 years it has been done. Most of the time people with a new syntax also have stupid names for already agreed upon constructs and ideas. Those people are trying too hard to be different. Maybe one language uses -&gt;, another uses =&gt;, so Joe Language programmer is going to use &lt;!@==&gt;&gt;&gt;. But no one is going to type &lt;!@==&gt;&gt;&gt;, so the language fails. Joe exits programming and there are 10,000 dead computer languages with worthless syntax that didn&#x27;t help people write software better.
andrewmcwattersabout 7 years ago
The older I get, the slower I feel. Projects seem to need more planning and I wish I was more spontaneous, but I realize documentation is important, or testing needs to be done, or branding should be polished up. Syntax is a small part of software development, but it&#x27;s everywhere. I need to be productive, and I just don&#x27;t want to be on this hamster wheel when I&#x27;m just trying to get something shipped to developers and users, which is hard enough on its own.
quickthrower2about 7 years ago
I&#x27;ve got used to polyglotting and constantly getting things wrong syntax wise!. When I&#x27;m editing a C#, a SQL, then a coffee script then a type script, then get home and write some Elm, things will get confusing!
mbiondiabout 7 years ago
Learning new things is hard.