11 ms·
This opinion is ironic because this is exactly what the author intended to describe -- the typo IS hard to find. The "Hello, World" example is nothing more tha
by cbb330 4y ago
This opinion is ironic because this is exactly what the author intended to describe -- the typo IS hard to find.
The "Hello, World" example is nothing more than JSON, showing a string repeated 3 times. On the third time, "bill" is misspelled with "blil". The next tab shows how Dhall uses a variable definition to prevent this type of error.
- junon 4y agoI took it to mean "can you find the syntax error". It wasn't clear they meant the text
- CookieCrisp 4y agoYeah, I eventually caught it but wished I hadn't wasted my time on it - seems like something they could better have shown with an animation
- aendruk 4y agoI too spent the whole time scrutinizing the syntax and ignoring the values, since this is an intro to the language and not to Bill’s dotfiles. I was ultimately unable to deduce the presumed syntax error and independently came to the same misconclusion.
- lilyball 4y agoIt can't be a syntax error though as it evaluates successfully as demonstrated by the right-hand side.
- aendruk 4y agoIn general, if you think that someone’s claimed experience doesn’t make sense, you’re probably just missing information. On small viewports, the “right-hand side” is down page and off screen, and the instructions I’m following reference only tabs visible above.
- corrral 4y agoI mean... from context, it's probably a mistake, but on the other hand we don't actually know the structure of that filesystem or the author's intentions.
- cortesoft 4y agoSure, but how do I know that the user doesn't store their public key in /home/blil?