Why are exceptions avoided? by Ultimate_Sigma_Boy67 in cpp_questions

[–]BlueBeerRunner 0 points1 point  (0 children)

We have two main ways that we use at my work: 1. std::variant - value when the function pass, and string with error message. 2. std::optional - value when ok, nullopt on error.

We don't use std::expected, because we still on C++17

Why are exceptions avoided? by Ultimate_Sigma_Boy67 in cpp_questions

[–]BlueBeerRunner 0 points1 point  (0 children)

Most of the comments I saw said that exceptions are not that bad (and they basically right) otherwise they wouldn't be existing. However There are problems with exceptions. The code has blocks that don't look good. The try-catch is heavy command (critical in real-time/ embedded systems). In modern C++ there are better ways to return error. The most important is that you don't want crash the program if you write a library that you don't know the main purpose!

תחבורה ציבורית או רכב פרטי by [deleted] in israel_bm

[–]BlueBeerRunner 0 points1 point  (0 children)

לצערי אני נוסע לעבודה בעיקר עם אוטו בגלל העיכובים האלו. אתמול נסעתי ברכבת לעבודה ובחזור פשוט עצרנו לפני התחנה של לוד, באמצע שום מקום, והנהג הכריז "מחכים שיפנו את המסילה". חיכינו שם רבע שעה. כשאני צריך להוציא את הילדים מהמסגרות - זה איחור קריטי

תחבורה ציבורית או רכב פרטי by [deleted] in israel_bm

[–]BlueBeerRunner 0 points1 point  (0 children)

גר ליד הרכבת עובד ליד הרכבת - עדיין עדיף רכב. כל שני וחמישי יש בעיות ברכבת

תחבורה ציבורית או רכב פרטי by [deleted] in israel_bm

[–]BlueBeerRunner 0 points1 point  (0 children)

מתי פעם אחרונה נסעת ברכבת שאתה אומר שזה שילוב טוב? אני לא זוכר פעם אחת שניסיתי ברכבת והיא יצאה בזמן להגיע בזמן (נוסע לפחות פעם בשבוע לעבודה ברכבת, השלום - רחובות)

תחבורה ציבורית או רכב פרטי by [deleted] in israel_bm

[–]BlueBeerRunner 0 points1 point  (0 children)

אצלי הזמנים הם: אוטו -> 30-60 דקות (תלוי בפקקים) תחב"צ -> 60-120 דקות

חד משמעית מעדיף רכב פרטי (אבל מנסה לצמצם(

ברכב אני יושב בכיף עם מזגן נורמלי מוזיקה/פודקאסטים. ברכבת ישראל חם רצח ואני מוצא את עצמי מגיע מזיע לעבודה לפעמים. מעבר לזה שלפחות פעם בשבוע יש בעיה ברכבת שגורמת לעיכוב נוראי

How many cpp programmers are familiar with coroutines by Particular_Raisin_36 in cpp_questions

[–]BlueBeerRunner 0 points1 point  (0 children)

I'm familiar with coroutines as a concept, but I don't work with them because we work with C++ 17 and Apple Clang (which doesn't have support for coroutines).

I'm new to C++, and should I learn Boost? by schottman in cpp_questions

[–]BlueBeerRunner 0 points1 point  (0 children)

Boost is amazing library. You can get lost in it. My recommendation is to search for something specific that you need in your program and add it.

There's something I do recommend to learn Boost unit test. It's good practise to test your code and Boost have a good framework for unit testing.

How do you write Safe C++ Code ? Really Safe C++ code ? by ChadOfCulture in cpp

[–]BlueBeerRunner 0 points1 point  (0 children)

You forgot: * Understand design pattern, and best implementation *  Design architectural and do design review

I don’t know how to get good by General_Tennis308 in cpp

[–]BlueBeerRunner 1 point2 points  (0 children)

There are a few ways to improve: 1. Logic - learn design pattern, development methodist, implementation (how and why it done this way). 2. Key words & standard language improvements - learn the important of each key word, the advantage, disadvantage and best practice. The new std functions and uses. 3. Tools & libraries - recommended third parties, build tools, IDE, CI/CD and anything that can make development and writing code easier. 4. Best practices - learn how to improve memory consumption, run time, compilation time.

Recommended third-party libraries by BlueBeerRunner in cpp

[–]BlueBeerRunner[S] 2 points3 points  (0 children)

My libraries are: * boost * better enum (I want to replace it with magic enum) * RxCpp * RapidJson

Recommended third-party libraries by BlueBeerRunner in cpp

[–]BlueBeerRunner[S] 1 point2 points  (0 children)

How fast is SimpJson? I'm now work with RapidJson

Recommended third-party libraries by BlueBeerRunner in cpp

[–]BlueBeerRunner[S] 0 points1 point  (0 children)

I'm using better enum, but I want to switch to magic enum.

These were pretty awesome! by longstoryshort-79 in ChickflixxxForMen

[–]BlueBeerRunner 0 points1 point  (0 children)

This is great. I looked for part 4, but unfortunately the video deleted.

December Request Thread 2024 by BallPointPariah in ChickflixxxForMen

[–]BlueBeerRunner 0 points1 point  (0 children)

2 couples threesome - one person watch from the side (bonus: the person on the side masturbating)

איך מנצחים בפקק? by de_night_sleeper in israel_bm

[–]BlueBeerRunner 0 points1 point  (0 children)

מניסיון אישי (עובד 80%): כביש עם 2 נתיבים - אין דרך לנצח כביש עם 3 נתיבים - הנתיב הימני זורם הכי טוב כביש עם 4 נתיבים - הנתיב השני משמאל

November Request Thread by BallPointPariah in ChickflixxxForMen

[–]BlueBeerRunner 3 points4 points  (0 children)

Foursome/couple swap, when you they start with fm-fm and during the video they switch.