3 ms·
#include causes the preprocessor to replace it with the specified file. Why is that bad?
by hacksoi 8y ago
#include causes the preprocessor to replace it with the specified file. Why is that bad?
- sonnyblarney 8y agoBecause ostensibly we've moved on from that to the concept of actual modules. 'including' stuff entails a whole host of ugly things including multiple definitions, circular dependencies etc. etc.. Most languages use some kind of module resolution, which when specified clearly is usually better. Of course sometimes they forget to define things, and leave us in a lurch ... but hey ...
- Aardappel 8y agoYou're reading too much into the keyword.. in Lobster, this does never include anything twice. Circular dependencies just work, without having to pre-declare anything. I should probably rename it.
- sonnyblarney 8y agoI suggest people might pick up on that pretty quick, maybe no need to rename given some random comment. That said, maybe you want to have a gander through the various languages and see what words are used for what, and if there's a 'standard' go with that :) Cool language though. I love everything except for the name, sorry :)
- Aardappel 8y agoWell, every time Lobster surfaces somewhere, I am always surprised how quickly people can superficially reject it because of some syntax issue, so yes, I agree, using predictable keywords where it makes no real difference matters. I've already made quite a few such changes. The name.. I think people will quickly forget about the original meaning. Think of all the languages you know, and how you associate the name with the language, not some snake, a musical note, degraded iron, a french philosopher, etc. Some of these names are actually pretty silly.
- sonnyblarney 8y agoOf course you're right. But 'Oort' or 'Ort' would be a good names as well.
- newen 8y agoMaybe it's not as superficial, but I tend to ignore all new languages that has significant whitespace. It takes a bit of effort to learn a new language, there are lots of other languages, and I might as well learn a new language that has things I like in it.
- hyperpallium 8y agoAgree on names, but to be fair, an absurdist comedy troupe is meant to be silly. Speech defect, coffee, an ordinal number. I still feel rust is a bad name.
- imtringued 8y agoBecause they got third degree burns by the harmless word. Adolf used to be one of the most common German names, obviously now it isn't. [0] [0] https://www.beliebte-vornamen.de/wp-content/uploads/adolf-1.png https://www.beliebte-vornamen.de/wp-content/uploads/adolf-1....
- vanderZwan 8y ago> a french philosopher If Sartre isn't already an esolang built around the concept that hell is other programmers, then someone should make it.
- eggy 8y agoI thought Lobster was a play on Rust's crab?
- NikkiA 7y agoThe fact that you keep encountering it suggests that it's probably something in human nature to associate words, that ultimately don't matter, with how we've encountered them in languages in the past. As for associating the name of the language, the only one I can't get past on that is 'Pony', it just has too much MLP fandom association for me to take it seriously.