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
S

Steve Crane

@Steve Crane
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Windows 11 upgrade noobie question
    S Steve Crane

    I've been using a launcher since at least XP. Originally Launchy and now in 10 and 11, Powertoys Run. On the rare occasion that what I want doesn't come up, just hit the Windows key and start typing to find it on the Start Menu. When you don't rely on how the Start Menu looks and operates, any version of Windows works as well as any other. Since XP, I've used 8, 8.1, 10, 11 and they all behave the same for me. Even on the hated (by everyone else) 8 I had no problems.

    The Lounge question

  • Best font for programming?
    S Steve Crane

    I like Envy Code R.

    The Lounge question

  • Not programming, but a preference question.
    S Steve Crane

    I don't agree that using var is always lazy. It can have a place in making code more readable when declaring types with really long names. For example

    SomeClassWithAReallyReallyLongName whatever = new SomeClassWithAReallyReallyLongName();

    is (to me) less readable than

    var whatever = new SomeClassWithAReallyReallyLongName();

    The rule I follow is to use var wherever possible, but only if the declaration explicitly indicates what type the var will be. For example

    var start = new DateTime();

    or

    var start = DateTime.UtcNow;

    are acceptable while

    var data = GetData();

    is not, and should rather have the type explicitly declared.

    The Lounge question collaboration
  • Login

  • Don't have an account? Register

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