התחל במצב לא מקוון עם האפליקציה Player FM !
פודקאסטים ששווה להאזין
בחסות


1 Eli Beer & United Hatzalah: Saving Lives in 90 seconds or Less 30:20
Temporary Lifetime Extension: Complicated Cases
Manage episode 423761675 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/temporary-lifetime-extension-complicated-cases.
Software design is difficult. One has to design features to fit past and future code. C++ Temporary lifetime extension can teach us a lesson about such design.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #c++, #software-design, #learning-c++, #software-engineering, #polymorphism, #legacy, #performance-optimization, #temporary-lifetime-extension, and more.
This story was written by: @bohdanlab. Learn more about this writer by checking @bohdanlab's about page, and for more stories, please visit hackernoon.com.
This article shows us two, at the first glance, distinct examples of c++ temporary lifetime extension (TLE) feature behavior. The one where we extend temporary lifetime through polymorphic reference conversion and the one where we do it through bounding a field of a temporary directly to a reference. However, if you look deeper you will see that in some context these two examples are similar. And therefore the feature behavior in both cases should be the same. The consistency is an important aspect of any design which helps users use the feature and temporary lifetime extension can show it on its own example.
346 פרקים
Manage episode 423761675 series 3474159
This story was originally published on HackerNoon at: https://hackernoon.com/temporary-lifetime-extension-complicated-cases.
Software design is difficult. One has to design features to fit past and future code. C++ Temporary lifetime extension can teach us a lesson about such design.
Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #c++, #software-design, #learning-c++, #software-engineering, #polymorphism, #legacy, #performance-optimization, #temporary-lifetime-extension, and more.
This story was written by: @bohdanlab. Learn more about this writer by checking @bohdanlab's about page, and for more stories, please visit hackernoon.com.
This article shows us two, at the first glance, distinct examples of c++ temporary lifetime extension (TLE) feature behavior. The one where we extend temporary lifetime through polymorphic reference conversion and the one where we do it through bounding a field of a temporary directly to a reference. However, if you look deeper you will see that in some context these two examples are similar. And therefore the feature behavior in both cases should be the same. The consistency is an important aspect of any design which helps users use the feature and temporary lifetime extension can show it on its own example.
346 פרקים
כל הפרקים
×
1 Java vs. Scala: Comparative Analysis for Backend Development in Fintech 11:09

1 A Simplified Guide for the"Dockerazition" of Ruby and Rails With React Front-End App 11:50

1 Step-by-Step Guide to Publishing Your First Python Package on PyPI Using Poetry: Lessons Learned 4:05

1 Augmented Linked Lists: An Essential Guide 12:07

1 Five Questions to Ask Yourself Before Creating a Web Project 13:54

1 Why Open Source AI is Good For Developers, Meta, and the World 13:11






1 How I Built A Dagger Pipeline to Send Weekly SMS's With Financial Advice Generated by AI 12:57

1 What the Do-While is ZeptoN? Part III: A Taste of ZeptoN... 17:51

1 Building ChatPlus: The Open Source PWA That Feels Like a Mobile App 16:12





1 10 LeetCode Patterns to Solve 1000 LeetCode Problems 21:56

1 Code Review Culture: Why You Need to Have One 13:09


1 AOSP and Linux Cross Border Convergence! Look at OpenFDE, New Open Source Linux Desktop Environment 3:16





1 Is Your Reporting Software WCAG Compliant? Make Data Accessible to Everyone with Practical Steps 14:36
ברוכים הבאים אל Player FM!
Player FM סורק את האינטרנט עבור פודקאסטים באיכות גבוהה בשבילכם כדי שתהנו מהם כרגע. זה יישום הפודקאסט הטוב ביותר והוא עובד על אנדרואיד, iPhone ואינטרנט. הירשמו לסנכרון מנויים במכשירים שונים.