home - all - feeds - topics | FightForPrivacy - memes - sumo - games - technology - news - lemmyshitpost - fuck_ai - ClassicFilms - comicstrips - autism - Revenge - pravda_news - onehundredninetysix - shittyasklemmy - witchymemes - france - world - flashlight - newcommunities - 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