3 ms·
I strongly disagree. Just because a feature doesn’t increase the underlying theoretical complexity doesn’t mean it’s a good idea. As a trivial example C plus “
by amluto 6y ago
I strongly disagree. Just because a feature doesn’t increase the underlying theoretical complexity doesn’t mean it’s a good idea.
As a trivial example C plus “come from” is fundamentally the same language as regular C, and one can trivially translate it to remove come from. That doesn’t mean that adding come from to C would be a good idea.
- jetrink 6y agoFor anyone confused like me. [1] Incidentally, Googling "C plus come from" only returns two relevant results, the parent comment and a manual for an esoteric programming language called C-INTERCAL that uses the COME FROM statement and compiles to C. [2] 1. https://en.wikipedia.org/wiki/COMEFROM https://en.wikipedia.org/wiki/COMEFROM 2. http://catb.org/~esr/intercal/ick.htm http://catb.org/~esr/intercal/ick.htm
- deleted 6y ago[deleted]
- coolreader18 6y agoThe comefrom wiki article led me to an april fool's for adding goto/comefrom to Python[0], and. Wow. It's really gross [0] http://entrian.com/goto/ http://entrian.com/goto/
- andrepd 6y agoAmazing
- Dylan16807 6y agoCOMEFROM is also known as aspect oriented programming.
- twic 6y agoCOME FROM is also the foundation of concurrency in some versions of INTERCAL - if there are two COME FROM statements for the same origin, then when execution reaches that point, it forks. Threaded INTERCAL actually has a very disciplined approach to safety. Each thread gets its own copy of all variables, so threads do not share any mutable data at all. However, they still share the same code, which is also mutable, so they can communicate through that.
- tomsmeding 6y ago> a very disciplined approach to safety [...] they still share the same code, which is also mutable, so they can communicate through that Disciplined, maybe; usable/sane, certainly not. Then again, it's INTERCAL, so that was most certainly the intention.
- opnitro 6y agoOn this notion, a very good talk "On the expressive power of programming languages"[1][2] which attempts to provide a formal basis for distinguishing between expressive power of turning complete languages. [1] https://youtu.be/43XaZEn2aLc https://youtu.be/43XaZEn2aLc [2] The paper it's based on https://homepage.cs.uiowa.edu/~jgmorrs/eecs762f19/papers/felleisen.pdf https://homepage.cs.uiowa.edu/~jgmorrs/eecs762f19/papers/fel...
- simias 6y agoI think an even better example would be the "entry" keyword which would add multiple entry points to C functions[1]. We dodged a bullet here. [1] https://stackoverflow.com/questions/254395/whatever-happened-to-the-entry-keyword https://stackoverflow.com/questions/254395/whatever-happened...