• CookieOfFortune@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    This isn’t sufficiently enterprisey for Java. There should be a Roman numeral factory followed by relevant fromString and toInteger methods.

  • theunknownmuncher@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Whenever you sit back and smile proudly to yourself about how clever the block of code you just wrote is, your next move should be to delete and rewrite it.

    This is a clever block of code! Great job, now rewrite it to be sane 😂