home - all - feeds - topics | science - dull_mens_club - comics - asklemmy - technology - politicalmemes - politics - movies - world - world - sustainability - selfhosted - nfl - technology - microblogmemes - lemmyshitpost - unpopularopinion - pcmasterrace - news - hackernews - more »
log in or sign up | preferences |
quokk.au site icon
AlSweigart@programming.dev
  • overview
  • comments
  • submitted
  • AlSweigart

    AlSweigart@programming.dev
    joined 6 months ago
    sorted by: new top controversial old
    Does an "if - else" statement always need the "else"? in c/c_lang@programming.dev
    [–] AlSweigart@programming.dev 9 points 6 months ago (1 child)

    The else isn't needed, as others have said. I'd find, install, and configure a linter tool, which can give you pointers on small stylistic issues like this.

  • permalink
  • fedilink
  • source
  • piefed
    0.5.3
    mlmym
    dotzip.1.9
    quokk.au
    modlog