AI-powered learning
Save this course
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.
5.0
154 Lessons
15h
Join 2.9 million developers at
Join 2.9 million developers at
Learning Roadmap
1.
Getting Started With D
Getting Started With D
Get familiar with D programming basics, key functions, error fixes, and code compilation.
2.
Variables and User Input
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
Arithmetic and Logical Operations on Data Types
15 Lessons
15 Lessons
Break apart arithmetic and logical operations on integers and floating-point types.
4.
Conditional Statements and Loops
Conditional Statements and Loops
13 Lessons
13 Lessons
Grasp the fundamentals of conditional statements, loops, and lazy operators in D programming.
5.
Arrays, Characters and Strings
Arrays, Characters and Strings
21 Lessons
21 Lessons
Deepen your knowledge of arrays, characters, strings, their manipulations, and related challenges.
6.
File Handling in D
File Handling in D
6 Lessons
6 Lessons
Tackle file handling in D, including streams redirection, File struct, and practical challenges.
7.
Literals and enum
Literals and enum
6 Lessons
6 Lessons
Master the steps to use literals, fix code challenges, and leverage enums in D.
8.
Formatted Output and Input
Formatted Output and Input
11 Lessons
11 Lessons
Learn how to use formatted input and output, format specifiers, and solve practical challenges.
9.
foreach Loop and switch-case Statement
foreach Loop and switch-case Statement
8 Lessons
8 Lessons
Grasp the fundamentals of D's foreach loop, switch-case statements, and practical coding challenges.
10.
Functions
Functions
6 Lessons
6 Lessons
Master the steps to create, utilize, and enhance code quality through functions.
11.
Immutability
Immutability
5 Lessons
5 Lessons
Grasp the fundamentals of immutability, its application in parameters, and its impact on slices.
12.
Value Types and Reference Types
Value Types and Reference Types
5 Lessons
5 Lessons
Deepen your knowledge of value and reference types, their properties, and distinctions.
13.
Function Parameters
Function Parameters
10 Lessons
10 Lessons
Simplify complex topics on function parameters, qualifiers, swapping, and lvalues/rvalues.
14.
Program Environment
Program Environment
5 Lessons
5 Lessons
Build on the program execution, parameter handling, and environment interactions in D programming.
15.
Exceptions and scope
Exceptions and scope
8 Lessons
8 Lessons
Break down exceptions, throw, try-catch, finally, scope statements, and kinds of errors in D.
16.
assert and enforce Statements
assert and enforce Statements
8 Lessons
8 Lessons
Solve challenges with assert and enforce statements to ensure code correctness and stability.
17.
Unit Testing
Unit Testing
7 Lessons
7 Lessons
Break apart the causes of bugs, unit testing, TDD, and testing for exceptions in D.
18.
Contract Programming
Contract Programming
6 Lessons
6 Lessons
Apply your skills to enforce contracts using in, out blocks, and expression-based checks.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
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. After addressing the basic concepts, you will then explore more advanced topics like functions, unit testing, and contract programming.
By the end of this course, you will have the foundations in place to start building your own applications in D.
ABOUT THE AUTHOR
Ali Çehreli
Having fun programming in the D programming language in the Autonomous Driving division at Mercedes-Benz Research and Development, North America.
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources