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: Which features of early programming languages surprisingly survived?

4 pointsby aniijbodover 3 years ago

6 comments

mikewarotover 3 years ago
Zero terminated strings should have been one of the first things to go. Counted strings are far less error prone, can handle binary data, and can be managed.<p>Macro Preprocessors should have gone long ago. Having a separate layer that modifies the code before the compiler sees it greatly increases the cognitive load for the programmer.<p>Sentinel values such as NULL, -1, and NIL require reaching into the data flow in a manual manner to check for errors. Errors should either be a separate type (exceptions) or a separate return value outside of data.
erik_seabergover 3 years ago
Fixed size integers that overflow silently. IEEE floats with little control over rounding. Working with single codepoints (instead of grapheme clusters). Shared mutable state.
kwertyoowiyopover 3 years ago
Semicolons to terminate statements, rather than just EOL.
aniijbodover 3 years ago
Maybe I should hesitate a little in calling Javascript an &#x27;early&#x27; language but... NaN?
taxcoderover 3 years ago
One word - Null
sys_64738over 3 years ago
GOTO statement.