This is a fascinating history of Microsoft BASIC, that starts from it’s origins on the Altair 8800 through to the Commodore 128. Gates himself inserted several “easter eggs” in the code for BASIC in case it was ever lifted by another company for use in another machine– he’d have the proof.
Link.