Repeatable Execution - Mark Seemann - NDC Copenhagen 2022

  Рет қаралды 8,274

NDC Conferences

NDC Conferences

Күн бұрын

Пікірлер: 8
@xybersurfer
@xybersurfer 2 жыл бұрын
very interesting! the only problem i can see is that the amount of impure data that needs to be logged, can become quite large when dealing with a database especially. i guess you have to limit testing to your own system as usual. it's good that Mark pointed out that he doesn't normally create that replay machinery, because i was already thinking it would be unproductive
@Endomorphism
@Endomorphism 2 жыл бұрын
Mark! Great talk as always
@djchrisi
@djchrisi 2 жыл бұрын
16:14 . No, this is not deterministic. Since the method is not provided with a specific IFormatProvider object it will use the current culture and god knows what this is been set to.
@torstenmohrin2207
@torstenmohrin2207 2 жыл бұрын
CurrentCulture is one of the worst global variables in .NET.
@mackie1001
@mackie1001 2 жыл бұрын
Good spot! Establishing if something is pure or not in .Net requires pretty deep understanding of what you're looking at. Maybe a good rule of thumb is "look at all the overloads and be as specific as possible"
@MarkSeemann
@MarkSeemann 2 жыл бұрын
Indeed, the CurrentCulture makes DateTime.TryParse subtly non-deterministic. It's not that I'm not aware of this issue, but I chose to gloss over that subtlety for didactic reasons. I sometimes simplify for educational reasons, but I try to do it only to a degree where the detail is largely irrelevant. The fix for this issue is to use an overload that specifically states which IFormatProvider to use, or to use TryParseExact. This makes the code look more complicated, but otherwise doesn't change the overall message of the talk. That's the reason I decided to pretend that the simpler code is deterministic. This may have been the wrong decision. Putting together a talk is an art, not a science.
@Technology_88888
@Technology_88888 2 жыл бұрын
What are the complete steps to create a PayPal adder money program?
@arootube
@arootube 2 жыл бұрын
You know?
Fractal Architecture - Mark Seemann - NDC Copenhagen 2022
59:42
NDC Conferences
Рет қаралды 8 М.
Where’s C# headed? - Mads Torgersen - NDC Copenhagen 2022
1:01:28
NDC Conferences
Рет қаралды 30 М.
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 4,7 МЛН
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 651 М.
Mark Seemann - From dependency injection to dependency rejection
57:32
DotNext — конференция для .NET‑разработчиков
Рет қаралды 9 М.
The Tragedy of systemd
47:18
linux.conf.au
Рет қаралды 1,2 МЛН
Fractal architecture - Mark Seemann - NDC London 2022
54:31
NDC Conferences
Рет қаралды 4,5 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 836 М.
From Dependency injection to dependency rejection - Mark Seemann
59:39
NDC Conferences
Рет қаралды 51 М.
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 322 М.