4 ms·
tl;dr "combine code written in Go 1.0 and a proposed Go 2.0 in one program using the package level as the boundary between language versions" Thumbs up from me
by lgierth 10y ago
tl;dr "combine code written in Go 1.0 and a proposed Go 2.0 in one program using the package level as the boundary between language versions"
Thumbs up from me.
- vorg 10y agoCheney also writes: "The lessons of Python 3 (and Perl 6) are prescient; ignore backward compatibility at your peril." I believe Perl 6 can embed and/or call Perl 5 code, similar to the proposed Go 1/Go 2, but that hasn't helped its uptake.