←back to thread

22 points atomlib | 1 comments | | HN request time: 0.203s | source
Show context
up2isomorphism ◴[] No.41916250[source]
What is the benefit of changing

int main(void) {

to:

pub fn main() !void {

Except making it looks like a "new" language and requires other people spends 15min to get to used to it?

replies(5): >>41916321 #>>41916432 #>>41916718 #>>41916842 #>>41917078 #
1. jonathrg ◴[] No.41916432[source]
C's function declaration syntax is pretty weird and makes the language harder to parse. Most languages have a function keyword.