The latest revision of @INCITS/@isostandards COBOL comes out this year
The goals of COBOL sound normal today:
- Portable
- Freely available
- Designed by the community
In 1959 it was radical & unprecedented
It was also conceived of & led by women
This is the story of COBOL
Can someone explain std::vector to me.
I wrote a bug using it :-(
I did
std::vector<Point> v(some);
instead of
std::vector<Point> v; v.reserve(some);
yet kept using push_back().
(And yes, the *top* one _can_ be faster, but I need push_back for how the code is structured.)
This was me 4 years ago. No phone, no laptop, with the passion to code!
I'd borrow my uncle's phone to copy content from W3Schools, learn, & practice when I got hold of a computer. 😅
Still don't own a computer, but I got a job as Front-end Developer late last year.
Compilers are allowed to delete code that is UB.
So your compiler can just delete all the code. Ergo, your compiler can do nothing.
Thus, you have already written this compiler.