If I were to invent a programming language for the 21st century
wordsandbuttons.online
If I were to invent a programming language for the 21st century
1–10 of 184 posts
Re: If I were to invent a programming language for the 21st century
#2Re: If I were to invent a programming language for the 21st century
#3I would add better integration with the C tool chain, more separation of concerns and less academic ego bullshit.
I've been working on something like that [0] lately.
Re: If I were to invent a programming language for the 21st century
#4FILE * test_file = fopen(“/tmp/test.txt”, “w+”);
than
create file /tmp/test.txt for input and output as test_file
Yeah, remove the ; and duplication of type:
let test_file = fopen(“/tmp/test.txt”, “w+”)
Re: If I were to invent a programming language for the 21st century
#5Re: If I were to invent a programming language for the 21st century
#6Re: If I were to invent a programming language for the 21st century
#7I read that as: less syntax, less leaky abstractions and less macros; and I mostly agree. I would add better integration with the C tool chain, more separation of concerns and less academic ego bullshit. I've been working on something like that [0] lately. https://gitlab.com/sifoo/snigl
Re: If I were to invent a programming language for the 21st century
#8Re: If I were to invent a programming language for the 21st century
#9If your language doesn't support macros you'll end up with programs that parse some arbitrary code and generate code in the language you're working with. That's far worse than a macro system that at least works in the confines of a language's syntax.