re: Managing Your Personal Finances as a Dev - While Loop Style VIEW POST

FULL DISCUSSION
 

This

while (financiallyStable && age < retirementAge) {
    moneyGoingIntoAccounts++;
    moneySaved++;
    enjoyLifeExperiencesWithOutStress++;

    if (interestedInRetiringEarly) {
        retirementAge--
    }
    age++;
}

...however means that if finaciallyStable and age < retirementAge no longer satisfies, you'll stop having money going to accounts, saved money, and you enjoying your lifeexperiences without stress will remain whatever it is.

 

That is true 😁 I'll update it when I return home. Thank you !

 

Overall, what you said here is true! Thank you for sharing :)

Thank you for reading! The code examples were meant to developerify it :) hope you enjoyed!

code of conduct - report abuse