The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter
عن الفيديو
https://cppcon.org --- The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter - CppCon 2025 ...
ملخص الدرس
مزايا العقود (Contracts) في C++26: كيف تُكتب شروط الدوال (ما يُفترض أن يكون صحيحاً) وتفحصها أداة الترجمة، وما الفوائد والمخاطر الشائعة حولها.
- مفهوم precondition/postcondition بلغة C++26
- أمثلة عملية على العقود في الكود
- تصحيح مفاهيم شائعة خاطئة حولها
المصدر: CppCon — Contracts Session
اختبر فهمك
1. ما العقود (Contracts) في C++26؟
- نوع قوائم جديدة
- شروط يكتبها المبرمج للدالة وتفحصها أداة الترجمة ✓ الإجابة
- بروتوكول شبكة
- أداة تصميم
2. ما فائدة العقود؟
- اكتشاف الأخطاء مبكراً وتوثيق النية ✓ الإجابة
- تقليل حجم الملفات
- تسريع الإنترنت
- تغيير لغة البرمجة
3. ما المقصود بـ "myths" في عنوان الجلسة؟
- أساطير شائعة خاطئة حول العقود ✓ الإجابة
- قصص أسطورية
- ألعاب
- خرافات قديمة
ضمن مسار: البرمجة بلغة C++
- Bjarne Stroustrup - The Essence of C++ · 52:46
- C++ Under the Hood: Internal Class Mechanisms - Chris Ryan - CppCon 2024 · 57:43
- The Joy of C++26 Contracts - Myths, Misconceptions & Defensive Programming - Herb Sutter · 1:02:49
- C++: Some Assembly Required - Matt Godbolt - CppCon 2025 · 1:31:05
- Reflection: C++’s Decade-Defining Rocket Engine - Herb Sutter - CppCon 2025 · 1:41:56
- Code C++ Like a Library Author - Jon Kalb - C++Now 2026 · 1:17:51
فيديوهات أخرى في البرمجة
Programming in Modern C with a Sneak Peek into C23 - Dawid Zalewski - ACCU 2023
ACCU Conference · 1:27:41
Programming's Greatest Mistakes • Mark Rendle • GOTO 2023
GOTO Conferences · 51:24
On the Expressive Power of Programming Languages by Shriram Krishnamurthi [PWLConf 2019]
PapersWeLove · 59:03
Casey Muratori – The Root of The Root of All Evil – BSC 2026
Better Software Conference and Molly Rocket · 2:50:34
The Past, Present and Future of Programming Languages - Kevlin Henney - NDC TechTown 2025
NDC Conferences · 1:09:52
C is So Back: Unbreaking the Charter - Björkus Dorkus - NDC TechTown 2023
NDC Conferences · 1:09:02