Programming sucks – Telegram
Programming sucks
81 subscribers
12 photos
188 links
Когда вы меняете направление всех стрелок в конусе, вы получаете коконус.
Download Telegram
If you’ve used JavaScript, you might have seen its with statement. It’s widely regarded as a design mistake, and it was removed from the language in ES5 strict mode. Well, you’ll be pleased to learn that with makes a reappearance in the Nix expression language! Whether this is also a mistake is up to you.
(c) https://medium.com/@MrJamesFisher/nix-by-example-a0063a1a4c55
Earley parsers are among the most general parsers out there. They can parse any context free language without restriction, and can even be extended towards context sensitivity. They are reasonably fast on most practical grammars, and are easy to implement.

On the other hand, most of the information I found about them is encoded in cryptic academese. Deciphering it is hard for non-experts (it was certainly hard for me).

(c) http://loup-vaillant.fr/tutorials/earley-parsing/
...as the Plan 9 manual says of lex(1), “The asteroid to kill this dinosaur is still in orbit.”

(c) Yacc is Not Dead, https://research.swtch.com/yaccalive
...parser combinators are tricky to implement if you want avoid surprises and handle things like left recursion. I needed something undergrads could learn and do in a week.

(c) http://matt.might.net/articles/parsing-with-derivatives/
(c) Brian Hurt, Partial Derivatives of Regular Expressions —
https://www.youtube.com/watch?v=QVdBPvOOjBA
Меня самого больше не зовут проводить собесы, я аппрувлю всех без разбора. Я не понимаю, если человек уже три года работал разработчиком, какие нахрен могут быть с ним проблемы, технически? Будет тормозить команду? Научим. Будет задавать тысячи вопросов — ответим. Будет писать дерьмовый код? Отревьювим.
...
Собесы — игра, и ты можешь очень хорошо научиться играть в эту игру. Но вот как самому оценивать свой навык, как понять, насколько ты хорош, над чем должен работать и сколько получать — я не знаю. Я встречал людей, у которых нет таких проблем. Чувак живёт себе, точно знает что он фронтендер мидл, точно знает что он стоит X в городе Y, и не ведает сомнений и страха. Я не понимаю, как они это делают. Я всю карьеру пытался понять, кто я есть. Фразы про "настоящих" разработчиков, которые обязаны знать уметь или понимать очередную хрень, я всегда воспринимал их всерьёз. Но за семь лет я и близко не приблизился к тому, что бы соответствовать большинству из таких утверждений.

(c) https://habr.com/ru/post/467733/
Haskell is an alien language, or the most widely used language of the truly weird ones. It is ahead of its time. OCaml feels somewhat more conventional, like something caught in the middle of the mutation from conventional imperative language to something Haskell-like.

(с) https://markkarpov.com/post/haskell-vs-ocaml.html
Continue talking to them, even if they don't have a PhD.

(с) Marco Sampellegrini. https://alpacaaa.net/thoughts-on-haskell-2020/
These flame wars frustrate me to no end, and they sometimes go so far as to make me ashamed to call myself a part of the Haskell community. Many on the “outside” seem to view Haskellers as an elitist, mean-spirited cult, more interested in creating problems for itself than solving them.

(с) Alexis King, https://lexi-lambda.github.io/blog/2018/02/10/an-opinionated-guide-to-haskell-in-2018/
Some people view the Haskell community as masturbatory, and to some extent, they are probably right.

(с) Alexis King, https://lexi-lambda.github.io/blog/2018/02/10/an-opinionated-guide-to-haskell-in-2018/
Although I've tried to lay out a reasonable course of study hereinbefore regarding the mathematics you need to understand this kind of material, around this point in the course you'll find that the creature we're dealing with here is an octopus whose tentacles spread in every direction...

(с) https://www.msreverseengineering.com/program-analysis-reading-list
Could a hater be cured if they achieved something impressive? My guess is that it's a moot point, because they never will. I've been able to observe for long enough that I'm fairly confident the pattern works both ways: not only do people who do great work never become haters, haters never do great work.

(c) http://paulgraham.com/fh.html
Neutral opinions are often neutral because they haven't done much research on a topic.

(с) https://news.ycombinator.com/item?id=22018599
I can imagine a teenage kid being a hater and then growing out of it. But not anyone over 25.

(c) http://paulgraham.com/fh.html
"It isn't magic!" mantra is often heard in Go apologetics, but every time I see it, it occurs to me that Go's definition of "magic" is somewhat akin to a 15th century peasant seeing a lightbulb. Stuff like exceptions or error types isn't magic - they have been around for a long time, they're well understood, and they have significant advantages.

(c) comments on Goodbye, Clean Code, https://news.ycombinator.com/item?id=22022466
I really detest the use of the word "training" in relation to professional activities. Training is what you do to dogs. What you should be doing with people is educating them, not training them. There is a big, big difference.

(c) http://flownet.com/gat/jpl-lisp.html
I care about this for two reasons.

The first is a principled fuck you. I don’t care whether anything materially bad will or won’t happen as a consequence of Wacom taking this data from me. I simply resent the fact that they’re doing it.

The second is that we can also come up with scenarios that involve real harms.

(c) https://robertheaton.com/2020/02/05/wacom-drawing-tablets-track-name-of-every-application-you-open/