2 ms·
I present you an in-house language Yahoo used around year 2000: https://gist.github.com/simonwistow/3919291 https://gist.github.com/simonwistow/3919291 Working
by mtmail 6y ago
I present you an in-house language Yahoo used around year 2000: https://gist.github.com/simonwistow/3919291 https://gist.github.com/simonwistow/3919291 Working with it got hard after the developer who maintained it quit.
- nieve 6y agoThat is the single worst looking syntax I have ever seen. How did they manage to do any significant amount of development instead of just bug hunting? IDE support?
- mtmail 6y agoNothing like that. Also no functions or blocks. Brackets worked different than listed in the documentation sometimes. Lots of whitespace and escaping issues. Unhelpful error messages. We had to invent a mini-template system to stitch together the final big file (and be able to add comments for us without then appearing in the final document). Forgetting to close an if statement meant going through thousands of lines of non-intended code. It was developed around 1996 I think. Replaced with PHP when Yahoo hired Rasmus Lerdorf.
- peterhi 6y agoI've seen (and still use to a small extent) a templating language like that. The real exciting thing is the documentation! There is none, so you scrape through the existing codebase to find one that is doing the sort of thing you want to do and copy it Doesn't help that the interpreter for it was not written in a language we use and it is stuck on a particular version due to some bytecode libraries we don't have the source to