Programming in D: The Ultimate Guide for Software Engineers

Gain insights into D programming by exploring variables, loops, and advanced topics such as functions and unit testing. Discover how to build applications using this versatile language.

Beginner

154 Lessons

15h

Certificate of Completion

Gain insights into D programming by exploring variables, loops, and advanced topics such as functions and unit testing. Discover how to build applications using this versatile language.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

343 Playgrounds
15 Challenges
19 Quizzes

This course includes

343 Playgrounds
15 Challenges
19 Quizzes

Course Overview

While D has been around for a while, it’s just now starting to see a surge in popularity. D is a multi-paradigm system programming language that combines a wide range of powerful programming concepts. Because D is a re-engineering of C++, many C++ developers have switched to learning D. In this course, you will start by building a simple "hello world" program. You will then proceed to cover the concepts related to variables, loops, conditional statements, and arrays in order to build up your fundamentals. ...Show More

Course Content

1.

Getting Started With D

Get familiar with D programming basics, key functions, error fixes, and code compilation.
2.

Variables and User Input

Unpack the core of variables, user input, data types, and type inference in D programming.
3.

Arithmetic and Logical Operations on Data Types

Break apart arithmetic and logical operations on integers and floating-point types.
4.

Conditional Statements and Loops

Grasp the fundamentals of conditional statements, loops, and lazy operators in D programming.
5.

Arrays, Characters and Strings

Deepen your knowledge of arrays, characters, strings, their manipulations, and related challenges.
6.

File Handling in D

6 Lessons

Tackle file handling in D, including streams redirection, File struct, and practical challenges.
7.

Literals and enum

6 Lessons

Master the steps to use literals, fix code challenges, and leverage enums in D.
8.

Formatted Output and Input

11 Lessons

Learn how to use formatted input and output, format specifiers, and solve practical challenges.
9.

foreach Loop and switch-case Statement

8 Lessons

Grasp the fundamentals of D's foreach loop, switch-case statements, and practical coding challenges.
10.

Functions

6 Lessons

Master the steps to create, utilize, and enhance code quality through functions.
11.

Immutability

5 Lessons

Grasp the fundamentals of immutability, its application in parameters, and its impact on slices.
12.

Value Types and Reference Types

5 Lessons

Deepen your knowledge of value and reference types, their properties, and distinctions.
13.

Function Parameters

10 Lessons

Simplify complex topics on function parameters, qualifiers, swapping, and lvalues/rvalues.
14.

Program Environment

5 Lessons

Build on the program execution, parameter handling, and environment interactions in D programming.
15.

Exceptions and scope

8 Lessons

Break down exceptions, throw, try-catch, finally, scope statements, and kinds of errors in D.
16.

assert and enforce Statements

8 Lessons

Solve challenges with assert and enforce statements to ensure code correctness and stability.
17.

Unit Testing

7 Lessons

Break apart the causes of bugs, unit testing, TDD, and testing for exceptions in D.
18.

Contract Programming

6 Lessons

Apply your skills to enforce contracts using in, out blocks, and expression-based checks.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor