Json Parser using Functional C#

preview_player
Показать описание
Writing a json parser FROM SCRATCH using functional programming style in c#.

Timestamp
00:00 Introduction
00:35 Mind Set
02:28 Setup
09:31 null
13:50 true & false
15:17 number
29:17 whitespace & new lines
33:16 Praser Composition
41:28 Functional Programming is pretty cool
42:06 strings
58:42 array
01:06:05 object
01:12:30 end

#csharp #json #functionalprogramming
Рекомендации по теме
Комментарии
Автор

Really love your videos, you are one of the few C# channels that actually teaches real world skills instead of short, clickbaity videos on whatever is the latest hype.

winstonstrongarm
Автор

Wow! 1 hour video. You put in some serious work here. Chapeau!

Codewrinkles
Автор

I get it. I can read it and I can follow it. But to be able to write it is another thing.
Kinda reminds me of the tokeniser stage of a compiler I had to write some 30 years ago (in C). If only I knew functional programming back then - the layout of the `static Parse<JsonValue> Parse??` functions beautifully highlights the language syntax.

Another great video.
Thanks Anton

JohnOliverAtHome
Автор

Some really interesting bits in here. Also incredibly entertaining to watch.
In the end I would have loved to see you really TDD this code from beginning to end. Would have given much more clarity for the audience and is so much less stress IMHO. A big part is only in your brain and we need to guess or use our experience to know what you are doing. Great video nonetheless.

Flynnor
Автор

not to be dramatic but this video was a life changer for me when i first saw it, really inspired me to start working with functional code and eventually snowballed into adopting Rust as my new main language, thank you so much. extremely underrated.

Somfic
Автор

This video is amazing, I love the approach and composability of the functions, certainly a bit mind bending! I prefer this style over the procedural approach

trevornichols
Автор

Aw seems like Anthon dropped a dotnet movie, already bookmarked for my watch later.
Thanks in advance 🙏.

saifeddinebenromdhane
Автор

What is faster and use less memory? Imperative style or functional? Maybe compare this json parsers.

piotrc
Автор

Anton, can You put block "Videos" in your YT homepage? I sometimes using button Play all to watch all recent vids as playlist

yummybunny
Автор

F#: exists
Raw Coding: Json Parser in Functional C#
🗿

polniy_xyz
Автор

Please could you learn F# if you haven't please and rewrite this if it's worth it

victorchisomnwisu