News for hackers. Stuff that matters.
Re: by knome on Wednesday February 26, 2025 @06:48PM (#43189657)
you may want to take a peek at INTERCAL. you think GOTO is bad? wait until you have to deal with COME FROM, especially in "Threaded INTERCAL" where arriving at the location that multiple active COME FROM statements are pointing to simply jumps to all of them simultaneously.
Re: by drdec on Wednesday February 26, 2025 @08:45PM (#43190391)
Is COME FROM significantly different from an event-driven architecture?
Re: by fc417fc802 on Wednesday February 26, 2025 @09:52PM (#43190816)
Not in the sense of flow of execution. But you'd explicitly fire off an event, no? COME FROM is registering invisible triggers at arbitrary locations.
Re: by kryptiskt on Thursday February 27, 2025 @05:43AM (#43193135)
C# has a new feature, interceptors, that is very COME FROM like.

https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/cs...

Re: by SirusCodes on Thursday February 27, 2025 @06:32AM (#43193397)
Might implement this feature.

Raised an issue on GitHub - https://github.com/SirusCodes/AntiLang/issues/7

Re: by fc417fc802 on Thursday February 27, 2025 @07:15AM (#43193658)
Does the language have continuations? If you're going for fun control flow features those are both much more useful and mind bending. They also fit the theme you have going since most languages don't have them and they're effectively the reverse of a function call.
Re: by SirusCodes on Wednesday February 26, 2025 @11:55PM (#43191482)
Sure I will take a look at it
Re: by meta-level on Thursday February 27, 2025 @03:22AM (#43192375)
also you can set the probability of a command to be executed at all!