5 ms·
A closing parenthesis was missing in its Lisp source code. Took 3 hours and 9 engineers to find where
by ttoinou 3y ago
A closing parenthesis was missing in its Lisp source code. Took 3 hours and 9 engineers to find where
- biztos 3y agoCouldn’t they just add one at the end?
- bayindirh 3y agoIt opens the gates of hell and corruption! Since every parenthesis has its own & unique match, you need to find the one missing its other half, and add the correct one to the correct place. Every parenthesis in Lisp world is unique like a snowflake, and they come in pairs.
- rytis 3y ago> every parenthesis has its own & unique match I think you just discovered parenthesis entanglement theory :)
- alex_young 3y agoParenthetically, parenthetical entanglement is consistent with duality, so at least our theories are consistent at a grand scale and do not necessitate any unified field theory (at this point).
- _boffin_ 3y agoNo rainbowbrackets in their IDE I take it?
- bayindirh 3y agoThey are probably using VT320s from some remote/hidden locations. I don't expect a state of the art gigabit satellite connection on a remote island. Unless their foundation air-dropped them a couple of Starlink units alongside their seasonal food and goods supply run.
- coffeebeqn 3y agoFunny. They would never touch the HN codebase
- ChicagoBoy11 3y agoI know this is a joke, but I remember when I was learning LISP I was SOO WORRIED about that and couldn't possibly fathom how I was going to actually be productive with it. I don't remember now, but it wasn't AT ALL the big issue that I initially anticipated. I just mention it, because your comment made me realize that I also don't understand WHY it wasn't an issue!
- nurettin 3y agoSyntax highlighting and indenting probably makes matching parentheses a non-issue.
- Smoosh 3y agoIf only those were universally available. And well implemented.
- gunapologist99 3y agoThere are lisp coders who don't use emacs? or vim?
- kazinator 3y agoIn which widely used language do you not have to indent, or match parentheses, brackets and braces? An editor that cannot match parentheses, brackets and braces, or auto-indent in at least a rudimentary way is not very usable for working in anything.
- 12_throw_away 3y ago> it wasn't AT ALL the big issue that I initially anticipated LMK if you figure out why! Because whenever I'm refactoring in a bracket-heavy language, it's almost guaranteed that, every so often, the parser starts throwing syntax errors, and I need to stare at something like `)]})})` for a while. What tooling am I missing that can prevent this from happening? I use auto-formatters and rainbow bracket colorizers whenever possible, and they're great! But in no way prevent this from happening.
- urbandw311er 3y ago:-) or one LLM