Hacker News new | ask | show | jobs
by carlosjobim 28 days ago
Have you ever seen a police report? They are the people who write most reports of any profession, and usually they are full of grammar and spelling mistakes.

But I understand that the majority of hackers here think that spelling mistakes in a report means that somebody is bad at their job as a police officer. And I know that a good portion of hackers here think that a suspect should have all charges dismissed if a police officer has mixed tabs and spaces when typing his final report, or forgot a semicolon. Or used ' where he should have used ".

1 comments

Nope. Doing a syntax error in a programming language is the equivalent of filing the wrong form or filing the form incorrectly. Like if the question was “Suspect Height” and you put “green”.

Indentation rule are about scoping, You need a delimiter to mark end of a statements, and quoting often have to do with value type and interpolation. They’re not merely visual markers. Messing them up is the equivalent of answering “400 miles” when asked “what’s the color of the sky?”.

ADDENDUM: Yep writing code is filing a form. And just like any form, it’s easy to validate basic errors like syntax and type of values. The hard thing is to validate what happens after the form is processed. i.e, the intent of filing that specific form.

> Yep writing code is filing a form

No it isn't anymore. Because of AI coding agents, all that is taken care of by the robot, and people can focus on other stuff.

> Like if the question was “Suspect Height” and you put “green”.

And any person reading the report can still make sense of mistakes. Such as if the answers are switched between two lines. But hackers would demand that the suspect has to go free because of a typo.

Thankfully the AIs are not anything like rule-obsessing hackers, and will understand exactly what you mean even if you made a typo or mistake somewhere.

At the time where machines have finally started behaving more human, a huge number of people insist on wasting their precious time on earth by selecting to have robot minds.