https://www.youtube.com/watch?v=srQt1NAHYC0
The guy has nice pictures, but... I havnt seen it in a nonfunctional language
In theory I want ranges + nullable to be smarter but; idk I dont know what to call it
Thread overview |
---|
February 21 Whats worth taking from "railroad oriented programming" | ||||
---|---|---|---|---|
| ||||
https://www.youtube.com/watch?v=srQt1NAHYC0 The guy has nice pictures, but... I havnt seen it in a nonfunctional language In theory I want ranges + nullable to be smarter but; idk I dont know what to call it |
February 21 Re: Whats worth taking from "railroad oriented programming" | ||||
---|---|---|---|---|
| ||||
Posted in reply to monkyyy | On Friday, 21 February 2025 at 04:29:25 UTC, monkyyy wrote: >https://www.youtube.com/watch?v=srQt1NAHYC0 The guy has nice pictures, but... I havnt seen it in a nonfunctional language In theory I want ranges + nullable to be smarter but; idk I dont know what to call it No idea, I just code like it's C and it usually works great. C oriented design maybe? |
February 22 Re: Whats worth taking from "railroad oriented programming" | ||||
---|---|---|---|---|
| ||||
Posted in reply to monkyyy | On Friday, 21 February 2025 at 04:29:25 UTC, monkyyy wrote: >https://www.youtube.com/watch?v=srQt1NAHYC0 The guy has nice pictures, but... I havnt seen it in a nonfunctional language In theory I want ranges + nullable to be smarter but; idk I dont know what to call it You can do pretty much the exact same stuff in Java using the Stream API. You don't need a functional language |
4 days ago Re: Whats worth taking from "railroad oriented programming" | ||||
---|---|---|---|---|
| ||||
Posted in reply to monkyyy | On Friday, 21 February 2025 at 04:29:25 UTC, monkyyy wrote: >https://www.youtube.com/watch?v=srQt1NAHYC0 The guy has nice pictures, but... I havnt seen it in a nonfunctional language In theory I want ranges + nullable to be smarter but; idk I dont know what to call it I tried to do something like that with this either monad implementation. Have a look if you’re interested https://github.com/gedaiu/either |
3 days ago Re: Whats worth taking from "railroad oriented programming" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bogdan | On Thursday, 27 February 2025 at 10:15:18 UTC, Bogdan wrote: >On Friday, 21 February 2025 at 04:29:25 UTC, monkyyy wrote: >https://www.youtube.com/watch?v=srQt1NAHYC0 The guy has nice pictures, but... I havnt seen it in a nonfunctional language In theory I want ranges + nullable to be smarter but; idk I dont know what to call it I tried to do something like that with this either monad implementation. Have a look if you’re interested https://github.com/gedaiu/either Why does either have space for both values? Is that important?
Shouldnt this by an alias of sumtype? |
13 hours ago Re: Whats worth taking from "railroad oriented programming" | ||||
---|---|---|---|---|
| ||||
Posted in reply to monkyyy | On Thursday, 27 February 2025 at 21:37:12 UTC, monkyyy wrote: >Why does either have space for both values? Is that important? Conceptually, |