All Tags » C# » Java (RSS)

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • Noda Time is born

    There was an amazing response to yesterday's post – not only did readers come up with plenty of names, but lots of people volunteered to help. As a result, I'm feeling under a certain amount of pressure for this project to actually take shape. The final name chosen is Noda Time. We now have a...
    Posted to Jon Skeet: Coding Blog by skeet on Fri, Nov 6 2009
    Filed under: Filed under: , ,
  • What's in a name (again)?

    I have possibly foolishly decided to stop resisting the urge to port Joda Time to .NET. For those of you who are unaware, "use Joda Time" is almost always the best answer to any question involving "how do I achieve X with java.util.Date/Calendar?" It's a Java library for handling...
    Posted to Jon Skeet: Coding Blog by skeet on Thu, Nov 5 2009
    Filed under: Filed under: , ,
  • A different approach to inappropriate defaults

    I've had a couple of bug reports about my Protocol Buffers port - both nicely detailed, and one including a patch to fix it. (It's only due to my lack of timeliness in actually submitting the change that the second bug report occurred. Oops.) The bug was in text formatting (although it also affected...
    Posted to Jon Skeet: Coding Blog by skeet on Thu, May 14 2009
    Filed under: Filed under: , ,
  • Language proliferation

    I've always been aware that .NET supports multiple languages (obviously) and that Microsoft has been experimenting with this to some extent. It's only recently struck me just to what extent this is the case though. Here's a list - almost certainly incomplete - of .NET languages from Microsoft...
    Posted to Jon Skeet: Coding Blog by skeet on Tue, May 12 2009
    Filed under: Filed under: , , ,
  • What's in a name?

    T.S. Eliot had the right idea when he wrote "The naming of cats" : The Naming of Cats is a difficult matter, It isn't just one of your holiday games ... When you notice a cat in profound meditation, The reason, I tell you, is always the same: His mind is engaged in a rapt contemplation...
    Posted to Jon Skeet: Coding Blog by skeet on Fri, Feb 27 2009
    Filed under: Filed under: , , ,
  • super & base keywords in Java and C#

    Hi folks, Nowadays i'm doing some programming in java,and since all of you know each of these languages are close to each other, I was implementing a class diagram i have done it on class designer in VS 2008. I had the following inheritance case Read...
    Posted to Moustafa Arafa Blog by on Thu, Dec 25 2008
    Filed under: Filed under: ,
  • Redesigning System.Object/java.lang.Object

    I've had quite a few discussions with a colleague about some failures of Java and .NET. The issue we keep coming back to is the root of the inheritance tree. There's no doubt in my mind that having a tree with a single top-level class is a good thing, but it's grown a bit too big for its...
    Posted to Jon Skeet: Coding Blog by skeet on Fri, Dec 5 2008
    Filed under: Filed under: , , , ,
  • Data Structures and Algorithms: new free eBook available (first draft)

    I've been looking at this for a while: Data Structures and Algorithms: Annotated reference with examples . It's only in "first draft" stage at the moment, but the authors would love your feedback (as would I). Somehow I've managed to end up as the editor and proof-reader, although...
    Posted to Jon Skeet: Coding Blog by skeet on Fri, Aug 29 2008
    Filed under: Filed under: , ,
  • Automatic lambda expressions

    This morning I happened to show a colleague (Malcolm Rowe) the neat trick of using nullable types and the null-coalescing operator (??) to implement compound comparisons in C#. He asked whether it wouldn't have been nicer to make this a library feature rather than a language feature. I'm all...
    Posted to Jon Skeet: Coding Blog by skeet on Fri, Jun 20 2008
    Filed under: Filed under: ,
  • The Beauty of Closures

    Fairly soon I'm going to write a blog post comparing the different proposals under consideration for Java 7 when it comes to closures. I thought it would be worth writing some background material on it first though, so I've put an article on the C# in Depth site . I'm not entirely comfortable...
    Posted to Jon Skeet: Coding Blog by skeet on Tue, May 6 2008
    Filed under: Filed under: ,
  • Programming "in" a language vs programming "into" a language

    I'm currently reading Steve McConnell's Code Complete (for the first time - yes, I know that's somewhat worrying) and there was one section was disturbed me a little. For those of you with a copy to hand, it's in section 4.3, discussing the difference between programming in a language...
    Posted to Jon Skeet: Coding Blog by skeet on Wed, Apr 23 2008
    Filed under: Filed under: , , , ,
  • Macros, and languages within languages

    Ian Griffiths mailed me about macros, and explained how LISP macros were very different to C/C++ macros, working at a language level instead of at a text level. I won't pretend to understand all about what would be possible and what wouldn't, but Ian gave a good example: query expressions in...
    Posted to Jon Skeet: Coding Blog by skeet on Fri, Feb 8 2008
    Filed under: Filed under: , , ,
  • Why hasn't Microsoft bought JetBrains yet?

    For those of you who aren't aware, JetBrains is the company behind IntelliJ IDEA, the Java IDE which I've heard amazing things about (I've tried it a couple of times but never got into it - I think I need an expert sitting beside me to point out the cool stuff as I go) and ReSharper, the...
    Posted to Jon Skeet: Coding Blog by skeet on Fri, Jun 1 2007
    Filed under: Filed under: , ,
  • Wacky Ideas 3: Object life-cycle support

    No, don't leave yet! This isn't another article about non-deterministic finalization, RAII etc. That's what we almost always think of when someone mentions the object life-cycle, but I'm actually interested in the other end of the cycle - the "near birth" end. We often take it as read that when an object...
    Posted to Jon Skeet: Coding Blog by skeet on Wed, Feb 28 2007
    Filed under: Filed under: , ,
  • Wacky Ideas 2: Class interfaces

    (Disclaimer: I'm 99% sure I've heard someone smarter than me talking about this before, so it's definitely not original. I thought it worth pursuing though.) One of the things I love about Java and C# over C/C++ is the lack of .h files. Getting everything in the right place, only doing the right things...
    Posted to Jon Skeet: Coding Blog by skeet on Wed, Feb 28 2007
    Filed under: Filed under: , ,
  • Wacky Ideas 1: Inheritance is dead, long live mix-ins!

    (Warning: I've just looked up "mix-in" on Wikipedia and their definition isn't quite what I'm used to. Apologies if I'm using the wrong terminology. What I think of as a mix-in is a proxy object which is used to do a lot of the work the class doing the mixing says it does, but preferably with language...
    Posted to Jon Skeet: Coding Blog by skeet on Tue, Feb 27 2007
    Filed under: Filed under: , ,
  • Everything old is new again

    I feel I'm too young to be making this kind of statement, but the sense of deja vu I get when reading about the layouts in WPF makes me nearly laugh out loud. Of all the things I can remember about Java 1.0 (this was before any number of things we take for granted now) I know that LayoutManagers exist...
    Posted to Jon Skeet: Coding Blog by skeet on Wed, Dec 13 2006
    Filed under: Filed under: ,
  • Inheritance Tax

    Introduction There aren't many technical issues that my technical lead (Stuart) and I disagree on. However, one of them is inheritance and making things virtual. Stuart tends to favour making things virtual on the grounds that you never know when you might need to inherit from a class and override something...
    Posted to Jon Skeet: Coding Blog by skeet on Sat, Mar 4 2006
    Filed under: Filed under: ,
  • Visual Studio vs Eclipse

    I often see people in newsgroups saying how wonderful Visual Studio is, and they often claim it's the "best IDE in the world". Strangely enough, most go silent when I ask how many other IDEs they've used for a significant amount of time. I'm not going to make any claims as to which IDE is "the best"...
    Posted to Jon Skeet: Coding Blog by skeet on Thu, Dec 22 2005
    Filed under: Filed under: , ,
  • New (to me) threading paradigms

    In the last couple of days, I've been reading up on CSPs (Communicating Sequential Processes) and the Microsoft Research project CCR (Concurrency and Coordination Runtime). I suspect that the latter is really a new look at the former, but I don't have enough experience with either of them to tell. Now...
    Posted to Jon Skeet: Coding Blog by skeet on Thu, Dec 8 2005
    Filed under: Filed under: ,
Page 1 of 2 (23 items) 1 2 Next >