248 karma · joined November 3, 2022
Will there be partial application?
let appendHelloFile = appendFile("Hello");
let f = openFile("log.txt");
let f2 = appendHelloFile(f);
closeFile(f2);
I suppose this might complicate the linear type system?Will there be a pipeline operator? I think this fits really nicely with linear types:
openFile("log.txt")
|> appendFile("Hello")
|> closeFile
This may be at odds with the no operator precedence rule.You say that async will not be baked into the langauge. I think this is the right decision. However, will there be a syntatic sugar that can be used to avoid the "pyramid of doom" when writing promise-orientated code? It is possible to make this general purpose if done right.
1. The motor vehicle route is extremely indirect, so walking is typically quicker
2. There is no free parking
3. Store loading happens only at certain times
4. There are shortcuts that emergency services can unlock with special keys
Driving a car in a urban area is great for the driver but pretty terrible for everyone else:
- Congestion
- Air pollution
- Noise pollution
- Space taken up by parking
- Danger of being run over
It doesn't really matter if you walk, cycle or get public transport. These have much lower externalities.
> I personally do not feel safe on a bike in a crowded city. Even if you took cars out of the equation
This is a shame because the cars (and other motor traffic) are in fact the main danger. Retirees and children cycle everywhere in NL because it feels safe enough for them to do so.
- Prices of healthcare, education and housing have increased in real terms
- Double income trap
- Shift from well paying union jobs to gig economy, temp agencies, Amazon warehouse etc. leading to precarious employment
- Opiod crisis
The issue is that I cannot easily compile.
... a type inference system means that typing (of data) need not involve extra typing (with fingers).