Visual Basic

Handling Exceptions in .NET

A developer's worst enemy is an exception. Trust me; I know. They can sneak up on you and wreak havoc for an entire day. Therefore, knowing how to handle exceptions is crucial for any developer. So, where do we start? Well, we all know the three main culprits in the world of exceptions: Compile time exceptions Runtime exceptions Logic exceptions For this, with little or not much experience, these seem...

Machine Learning in .NET

The rise of the machines has been foretold for many a year on the big screen, in books, and in folklore. Movies such as Terminator, The Matrix, and The Fifth Element; books such as 2001: A Space Odyssey by Arthur C. Clarke come to mind. Every day, machine learning becomes easier and easier, especially when Microsoft gives us nice tools to play with. In today's...

Making Pull Requests in GitHub

Why Contribute to GitHub? GitHub is an online repository hosting service where you can host your own projects, and contribute to projects created by other people. There’s many reasons why you might decide to contribute to one of the many open source projects hosted on GitHub. Maybe you’re a fan of the project in question, or just open source in general, and want to give something...

Creating Your First GitHub Project

The popular code-hosting website GitHub is a great resource for people looking to develop software in an open, collaborative environment. GitHub provides a way for other people to download, use, and ultimately contribute to your project, and gives you the added security of knowing that a copy of your project is stored on GitHub's external servers, so you won't lose all your work if...

How to Start Contributing to Open Source

Contributing to open source can be a fun and rewarding experience, but it can also be difficult to know where to start. This article will guide you through making your first contribution to the world of open source; from deciding which project you want to get involved in, right through to raising your first issue and making your very first code contribution. If you're not...

Start Using Java Lambda Expressions

Introduction (Business Case) for Java Lambdas Java Lambda expressions are a new and important feature included in Java SE 8. A lambda expression provides a way to represent one method interface using an expression. A lambda expression is like a method, it provides a list of formal parameters and a body (which can be an expression or a block of code) expressed in terms of...

Incremental Intellisense Improvements in VS2010

Introduction Some improvements like LINQ are substantial, and some just make our lives a little easier. Intellisense in VS2010 has an improvement that is incremental and will make the life of a programmer a little easier. In VS2008 Intellisense listed members alphabetically by matching characters as you type them. In VS2010 Intellisense lists members using a contains-a approach. Let's take a few minutes to explore this incremental improvement to the VS2010 IDE. Evolution...

Declaring Anonymous Types in VB

Introduction Using an anonymous type means that the compiler will code generate a class for you based on context and named initializers. This article introduces you to anonymous types and explores some of the variations of their usage. I am not lazy by nature; the converse is actually true. I personally spend hundreds even thousands of hours at my craft, but when it comes to solving problems time is money. When...

Dynamic Programming with Lambda Expressions

Dynamic Programming with Lambda Expressions - Introduction There are a lot of ways to write code. Sometimes we write code as simply as possible, straight forward-perhaps inline calculations and sometimes we add levels of indirection. Indirection, or abstraction, makes code a bit more challenging to understand, but abstraction can add flexibility and a level of dynamism that can be very powerful and useful. This article shows you how to use Lambda...

The Future of Managed Languages: C# and Visual Basic

IntroductionWelcome to this installment of the .NET Nuts & Boltscolumn! The focus of this article will be on sharing itemslearned from various conferences and sources about the nearterm plans for managed languages. Specifically, we willfocus on the plans for C# and Visual Basic. We will examinea shared goal, followed by the trends that are influencingthe next release of both languages.Shared GoalTraditionally there has...

Latest Articles