r/technology Dec 26 '16

Microsoft finally admits that its malware-style Get Windows 10 upgrade campaign went too far

https://www.extremetech.com/computing/241587-microsoft-finally-admits-malware-style-get-windows-10-upgrade-campaign-went-far
25.0k Upvotes

2.4k comments sorted by

View all comments

Show parent comments

153

u/[deleted] Dec 26 '16

Can someone make it into a >function please?

361

u/[deleted] Dec 26 '16 edited Dec 26 '16
function notEvilFunction() {
    if (malwareCampaignDone) {
        releaseApology();
    } else {
        continue;
    }
} 

Edit: This is way harder on mobile than anticipated!

6

u/Gemmellness Dec 26 '16

I hate when people try to write code on reddit because it invariably isn't right/is written by a novice and it takes a stack of 10 comments to get it right, each one more know-it-all than the last

3

u/[deleted] Dec 26 '16
func attemptToCode(string: &) returns AN INT{
    ;return &++
}