Remove c
article thumbnail

C# Coding Convention: Coding Standard in C#

DZone

Coding conventions are a set of guidelines for writing code that is consistent, readable, and comprehensible. They are also sometimes called programming conventions, style guides, or coding standard. These conventions cover various aspects of the code, such as naming conventions, indentation, commenting, and formatting.

Code 225
article thumbnail

Podcast interview: Rust and C++

Sutter's Mill

Disclaimer: Please just ignore the “vs” part of the “Rust vs C++” title. Its long-standing presence and compatibility with legacy code make it a go-to language for maintaining and extending older projects. Herb works at Microsoft and chairs the ISO C++ standards committee.

C++ 97
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

C# Errors by Example: Checking the DotNetNuke CMS

DZone

Today, we discuss C# code quality and a variety of errors by the example of CMS DotNetNuke. We're going to dig into its source code. DotNetNuke is an open-source content management system (CMS) written mainly in C#. The source code is available on GitHub. You're going to need a cup of coffee. DotNetNuke.

C++ 262
article thumbnail

How To Generate Code Coverage Report Using JaCoCo-Maven Plugin

DZone

Code coverage is a software quality metric commonly used during the development process that let’s you determine the degree of code that has been tested (or executed). To achieve optimal code coverage, it is essential that the test implementation (or test suites) tests a majority percent of the implemented code.

Code 319
article thumbnail

MongoDB SSL with self-signed certificates in C#

Scalegrid

In this blog post, we show you two methods to securely connect to a MongoDB server configured with self-signed certificates for SSL, using the official C# MongoDB driver. How to Connect MongoDB SSL to your C# Application Click To Tweet. Note: All the code samples have been tested using MongoDB Driver v2.8.1 Prerequisites.

C++ 244
article thumbnail

Sorting in C#: OrderBy.OrderBy or OrderBy.ThenBy? What's More Effective and Why?

DZone

In C#, we can do this with the help of OrderBy().OrderBy() To answer this question, we need to delve into the source code. Suppose we need to sort the collection by multiple keys. OrderBy() or OrderBy().ThenBy(). But what is the difference between these calls? The article has three chapters:

C++ 271
article thumbnail

My code::dive talk video is available: New Q&A

Sutter's Mill

Two weeks ago, Bjarne and I and lots of ISO committee members had a blast at the code::dive C++ conference held on November 25, just two days after the end of the Wrocaw ISO C++ meeting. So I’m excited about C++. Thanks again to Nokia for hosting the ISO meeting, and for inviting us all to speak at their conference!

Code 92