Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

User 3404959

@User 3404959
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Code Neatness
    U User 3404959

    > but if you try that in C++ you get a duplicate definition error on i. Not in any standard compiler. I would argue that doing int i; for (i = ...) for (i = ... for (i = ... is bad practice because it leads the reader to think that different variables are actually related. I don't like declaring variables at the top because it leads to this kind of misleading reuse. All variables should have the smallest possible scope. Each variable instance should be used for one and only one purpose. ++PLS

    The Lounge c++ question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups