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
D

Dennis_E

@Dennis_E
About
Posts
36
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Spring is all about new beginnings, but it could already be lights out for Windows' Fluent Design
    D Dennis_E

    I don't like the appearance of Windows 10 either. Windows 7 was freaking beautiful. I get the idea of trying to make apps that work the same on different devices, but apps cannot look the same on different devices. On a computer screen, we want it to look good. You can do really fancy stuff. You can make UI's look fabulous and do pretty much all you want. But phones have limited screen space, so we throw all that overboard. The app just has to fit on the screen. I always say: my PC is not a phone. Stop trying to turn it into one.

    The Insider News java design question

  • MVVM
    D Dennis_E

    So apparently: UWP = evil WPF = half-baked and too steep of a learning curve. WinForms = too old and obsolete Now what?

    The Weird and The Wonderful wpf csharp design regex

  • Nearly 25% of PCs are now running Windows 10
    D Dennis_E

    How many of those are running Windows 10 by choice?

    The Insider News com question

  • When you have to program in deceased programming language
    D Dennis_E

    The language is that of JScript, which I will not utter here!

    The Lounge help csharp json question announcement

  • I Love Windows 10
    D Dennis_E

    Yup, the update is total crap. I didn't even tell it to update; Windows 10 was just there. It's like it was thinking "oh, your computer is idle? Let me upgrade it for you..." My computer still boots, but it has a ton of problems. Bad move, MS.

    The Lounge help

  • Tired of not having a generic version of IClonable?
    D Dennis_E

    Note that this only works if T has an explicit implementation of ICloneable. Otherwise, Clone() will call the instance method and not the extension method. And you don't need the cast to ICloneable.

    return (T)obj.Clone();

    will do.

    The Weird and The Wonderful question adobe architecture announcement

  • a C# IDE from JetBrains
    D Dennis_E

    Also: "There are no plans right now for emulators or Roslyn analysers." And more stuff for which "there are no plans right now"

    The Insider News csharp visual-studio com

  • Windows 10
    D Dennis_E

    I got a popup asking me if I wanted to update now or later. I chose later. It installed anyway. Now my system is all messed up. I've got no start menu, no way to get to Settings and rollback to Windows 7. Many things (even task manager) don't work. I either get an error or nothing happens at all. Thanx a lot Microsoft!

    The Lounge mongodb game-dev

  • Don't know whether it's weird, or wonderful
    D Dennis_E

    Using escape characters is also fun:

    public const double \u0050\u0049 = 3.14;
    public const double PI = 3.14; //error CS0102: The type `Test' already contains a definition for `PI'

    The Weird and The Wonderful

  • C# 6 Features
    D Dennis_E

    * Static initializers - I can't imagine using it for Console.WriteLine or something (we always type cw{Tab} anyway, right?) And there's a problem that some methods don't have an intuitive name without the class name, like Tuple.Create. But I like that I can now import extension methods from classes instead of namespaces. * Auto property initializers - Very neat. Should have been there from the beginning. * Dictionary initializers - I guess it's a more intuitive way of writing this particular code but was it absolutely necessary? No. Now we just have 2 slightly different ways of writing the same thing. * String interpolation - I agree it doesn't look pretty, but the old way ({0},{1},{2},etc) didn't look pretty either. * nameof() - Very small feature, but it makes sense to use it everywhere you can. * Expression-bodied members - I think this is a confusing feature. It doesn't even save that much typing. Methods don't look like methods anymore and properties no longer have a 'get' keyword. * Exception filters - Should be useful on rare occasions, but will be abused more often. * Await in catch/finally - Without it, async/await is an incomplete feature, so it should be there, but I don't expect to use it much. * Null conditional - This takes away a lot of ugly, boring, annoying code. Very nice. But it will make C# more cryptic for novice programmers.

    The Lounge csharp php com question

  • Essential C# 6 Features You Need to Know!
    D Dennis_E

    I can´t imagine using it for Console.WriteLine or something, but I think importing extension methods from a class instead of a namespace makes much more sense. Like: using static System.Linq.Enumerable;

    The Insider News csharp com question announcement

  • What is type of foo, if foo != foo?
    D Dennis_E

    Or DateTime:

    DateTime foo { get { return DateTime.Now; } }

    :-D

    The Lounge question

  • Struggling with Win10 ?
    D Dennis_E

    It's not exactly new to Windows 10. That feature was present at least since Vista. I'm not sure if XP had it.

    The Lounge html com question code-review

  • When is Cheryl's Birthday?
    D Dennis_E

    Someone else told me the same answer once. He made a mistake in his calculation. I guess you did too.

    The Lounge com algorithms question learning

  • When is Cheryl's Birthday?
    D Dennis_E

    Here's another question: Cheryl is 21 years older than her son. 6 years from now, she will be 5 times as old as him. Question: where is the son's father? ;)

    The Lounge com algorithms question learning

  • Any rules how to name C# source files?
    D Dennis_E

    Consider generic types with the same name, like Tuple. You could put

    Tuple, Tuple, Tuple

    , etc in separate files (Tuple.cs, Tuple`1.cs, Tuple`2.cs), but it's acceptible to put them in one file.

    C# tutorial csharp visual-studio com help

  • Thought of the day
    D Dennis_E

    Or, if you can't see the bottom of the glass, you just have to empty the glass somehow.:cool:

    The Lounge question

  • Thought of the day
    D Dennis_E

    I thought it meant you have to make sure you can see the bottom of the glass.

    The Lounge question

  • Why do so many software engineers hate Java?
    D Dennis_E

    The article was mostly blah blah blah to me, but 2 words from the last sentence describe what I think of Java: ugly & counterproductive. Like for many people, Java was the first language I learned when I really started programming. Later, I learned some other languages and discovered that Java is just a dumb language. I can't say I hate it, but it's just ugly and messy. It's never neat or beautiful (like C#)

    The Insider News java html com question

  • How long long is your total time in Project Setup HELL
    D Dennis_E

    I have the exact same experience with GWT. No matter what third-party library you use, at some point it will be deprecated. I never understood why we're using that stuff in the first place. (I'm a C#/.NET junkie) Recently, we tried to switch to Vaadin. (Sort of GWT with a shell) When installing it, we followed every step laid out on the website, then I create a new project: errors! Red squigglies all over the place. Just by creating a new project! Never mind that stuff. Java and everything associated with it is dead to me. C#/.NET/Visual Studio all the way! The phrase 'It just works' is so true.

    The Lounge c++ question career workspace
  • Login

  • Don't have an account? Register

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