Train To Code

Train To Code

FrontEnd is hard

FrontEnd is hard

Async Await in Typescript

Async Await in Typescript

5 Hidden Features of C#

5 Hidden Features of C#

CSS Variables Explained

CSS Variables Explained

Пікірлер

  • @kooday
    @kooday23 сағат бұрын

    Can you please explain how to use the service worker with vite build

  • @mshbtw
    @mshbtwКүн бұрын

    Amazing explanation! Looking forward to the new videos ❤

  • @EasternBoss
    @EasternBoss2 күн бұрын

    Why C# is more complicated that C++ ?

  • @jackpitts5561
    @jackpitts55612 күн бұрын

    What about Apple’s CloudKit? If your app is an iPhone / iPad app?

  • @un1kum42
    @un1kum423 күн бұрын

    I have met a lot, really a lot, of people who would say the opposite of what you did in regard to implicit typing.^^

  • @lukaschumchal7797
    @lukaschumchal77974 күн бұрын

    I wanted to get oop principles ubder my skin to be capable truelly code anything. So I try to find language to made me truelly use it ( my first language, python, not really useful for that in my opinion). I choose java and C#. Because of this video i am going to focus only on C#. Thanks you.😊

  • @KeshavD-ys7el
    @KeshavD-ys7el4 күн бұрын

    How to work with service_worker using vite

  • @mightyboateng
    @mightyboateng4 күн бұрын

    That was valuable. Thanks for creating such a tutorial.

  • @alexdin1565
    @alexdin15658 күн бұрын

    Nice video man! Short and to the point.

  • @MarcPhilipInan
    @MarcPhilipInan10 күн бұрын

    You guys are cool!!!!

  • @amerllica
    @amerllica10 күн бұрын

    Yeah, I think SO is dying, but let's get back and think, where did ChatGPT learn knowledge of coding?

  • @IanoNjuguna
    @IanoNjuguna12 күн бұрын

    I appreciate this.

  • @YuNherd
    @YuNherd12 күн бұрын

    this is informative, planning to port my project from winforms to maui

  • @fluffydoggo
    @fluffydoggo12 күн бұрын

    Bro missed private protected and protected internal accessabilities Edit of important things you missed: - custom indexers - attributes - source generators - operator overloading - reflection - delegates - unsafe with pointers - expression trees - enums - Garbage Collector

  • @YuNherd
    @YuNherd12 күн бұрын

    ive been using c# for a long time and searched for features i havent learned, 5mins in here and id better get these noted. excellent job.

  • @tubemyren3038
    @tubemyren303813 күн бұрын

    I cant find the source code for the React/Typescript example.... you are missing some codelines in the video, but cant find the source code!

  • @CristianKirk
    @CristianKirk15 күн бұрын

    Typescript adds unnecesary processes and complexities. For people new to web developing, try to find and think for yourself why would you need everything to have a type before blindly accepting what a youtuber tells you.

  • @traintocode
    @traintocode14 күн бұрын

    I'd hate for anyone to blindly accept what I tell them :) everyone's definition of a necessary process of complexity will be different so thanks for your comment.

  • @tore28
    @tore2816 күн бұрын

    5:13 - Here you use the builder pattern on record to provide a domain model for changing the UserRecord ?

  • @jijuthomas9052
    @jijuthomas905216 күн бұрын

    your advice are soo true and valuable and one cant progress without this skill

  • @traintocode
    @traintocode14 күн бұрын

    Thanks!

  • @MeenaSivan
    @MeenaSivan18 күн бұрын

    Great comparison. I am going with Firebase for quick and dirty PoC and sticking to Amplify for futuristic production grade solutions - ! BTW Why do Google keep killing their projects - lack of focus in strengthening the ecosystem and marketing - this sucks - the future is scary if I were to choose Firebase - already the Git number says it all - the direction of Firebase!

  • @FrancisAlexanderWood0
    @FrancisAlexanderWood018 күн бұрын

    extremely useful

  • @traintocode
    @traintocode14 күн бұрын

    Thanks

  • @indieshack4476
    @indieshack447618 күн бұрын

    As far as I can see, the upgrade assistant CLI on Windows is totally broken.

  • @traintocode
    @traintocode14 күн бұрын

    You may be right this video is a bit old now. I'll look into making an updated guide soon

  • @mikejohneviota9293
    @mikejohneviota929319 күн бұрын

    so these are the supabase alternatives?

  • @learnnew4938
    @learnnew493821 күн бұрын

    First we move from functional programming to object oriented and now we r moving back to functional...what I can say...programming is a circle 😂

  • @traintocode
    @traintocode14 күн бұрын

    We'll be moving back to punch cards next year ;) in all seriousness though developers have a tenancy to over index when we learn a new thing. You learn OOP and suddenly every problem looks like it needs OOP. Then a few years later people realised that was not correct.

  • @fabianmerchan
    @fabianmerchan21 күн бұрын

    Great tutorial, keep it up bro!

  • @traintocode
    @traintocode14 күн бұрын

    Thanks, will do!

  • @TrusePkay
    @TrusePkay21 күн бұрын

    You forgot unsafe code(C pointers), delegates, events, threads, threadpools, nullables, enums,

  • @traintocode
    @traintocode14 күн бұрын

    Yeah the title is a bit of a lie. C# has so many features.

  • @TrusePkay
    @TrusePkay14 күн бұрын

    @@traintocode As a person who has experience teaching programming, whenever I have a short timespan to teach programming, I introduce the paradigm, then I introduce the type system, then functions and collections, then other runtime/paradigm features. I will start my C# video like this: a sophisticated oop language that is like C++ having Java syntax. There are six major types under a C# namespace that can be used to create objects. Value types like structs, enums...numbers, boolean are struct types. Reference types like class, records, delegates, interfaces. Then you talk about functions and how they work in each or all types and what those functions do, access modifiers, return, generators, generics, coroutines, out, ref, varags, events, anonymous functions. This will make the bulk of the video. Then collections: arrays, lists, linkedlists, dictionaries, sets, stacks, queues. Finally, if necessary the compilation and runtime directives like control flow, threads, using keyword, exceptions, macros, unsafe code... And it is done...

  • @davidc.2525
    @davidc.252522 күн бұрын

    Not even done yet but this is for sure the best chrome extension tutorial on KZread!

  • @traintocode
    @traintocode14 күн бұрын

    Thanks!

  • @chrisder1814
    @chrisder181422 күн бұрын

    g f hello

  • @nothingisreal6345
    @nothingisreal634523 күн бұрын

    MAUI looks you in with publishing your Windows app to the MS store. That is most likely not what you want. MAUI apps come with a big bag of dependencies. If you compile the template project and publish it is a about 100MB already, even when making it depend on the installed .NET framework. MAUI still uses the classic approach where controls are directly accessible in the event handler code and you are not pushed into using MVVM. Avalonia is a great alternative. If support publishing to Windows as ZIP file (or directory) has full support for Linux, TV/Smartwatch targets, encourages MVVM and is really mature. Today I would recommend using Avalonia. If you compare productivity then using Blazor, which can now be embedded into both MAUI and Avalonia is the best option. Razor is a much more flexible and powerful UI framework and language. The Binding syntax in in MAUI/Avalonia originally coming from WPF is really limited and forces you to write A LOT of boilerplate code. In Razor a large number of UI related code can be written inline in the the Razor code making writing, reading and maintaining code easier IMHO. To hide an UI element when a collection is empty requires some hidden attribute to be set on a binding element with XAML. In Razor it is simply @if (collection.?Length>0) { ...} If you are new and can make a choice I would recommend Blazor either directly for the browser or Blazor embedded.

  • @nothingisreal6345
    @nothingisreal634523 күн бұрын

    The for loop is a duplicate coming from C. A for loop is actuall for (<init block>;<condidtion block>;<per iteration block) { <loopblock>;} and translates to <init block>; while (<condition block>) { <loopblock>; <per iteration block>;} foreach is very different. The for loop CAN be used with the intention of a processing all elements of a collection. The foreach loop always iterates all elements of a collection - that must not be mutated in the loop! - and can only be interrupted by a break or return. For the switch it is also not a duplicated feature. the switch expression is to RETURN a typed value from the expression while the classic switch statement executes blocks of code. While the switch expression does not allow code blocks and hence typically has no side effects (but that is not guaranteed as you can call a function that has side effects). The switch (also a duplicat coming from C already) executes blocks and hence can have all kinds of side effects.

  • @nothingisreal6345
    @nothingisreal634523 күн бұрын

    you missed tuples, anonymous types, lambdas, exception handling, goto, LINQ operators like select, where, join ..., nested templates, virtual, polymorphism, RTTI, dynamic, default values, params, out, in, ref, const, enum, Lazy, IDisposable, garbage collection, lock, parallel... the list is much longer. But still a good video to get an overview.

  • @Eudoffels
    @Eudoffels26 күн бұрын

    Awesome video

  • @traintocode
    @traintocode14 күн бұрын

    Thanks!

  • @volodyslove
    @volodyslove26 күн бұрын

    Nice lesson 😁

  • @traintocode
    @traintocode14 күн бұрын

    Thanks! 😃

  • @Morimove
    @Morimove26 күн бұрын

    nice tutorila but i need to build everytime. do you have any solution for it?

  • @suraj_porje
    @suraj_porjeАй бұрын

    Thanks for the video. Great refresher of C# for me.

  • @traintocode
    @traintocode14 күн бұрын

    Glad it was helpful!

  • @LordErnie
    @LordErnieАй бұрын

    And even this video did not include all of it by far. But nice to see someone fit this much in 10 minutes.

  • @astrahcat1212
    @astrahcat1212Ай бұрын

    It's somehow just so simple compared to Python or Javascript, don't know why, just reads really naturally.

  • @breshkotashmal7362
    @breshkotashmal7362Ай бұрын

    I hate 'var'!

  • @Abcdef-hq3vf
    @Abcdef-hq3vfАй бұрын

    I want to know how to make an extention which could be interacted by a website. In other words how to manage content.js and background.js console.log('Content script loaded'); const script = document.createElement('script'); script.src = chrome.runtime.getURL('inject.js'); (document.head || document.documentElement).appendChild(script); script.onload = () => { console.log('Inject script loaded'); script.remove(); }; window.addEventListener('message', function(event) { if (event.source !== window) return; if (event.data.direction && event.data.direction === 'from-page-script') { chrome.runtime.sendMessage({ type: 'CUSTOM_WALLET_REQUEST', payload: event.data.message }, (response) => { window.postMessage({ direction: 'from-content-script', message: response }, '*'); }); } }); THis is an example code

  • @ngott2
    @ngott2Ай бұрын

    I think it's not clear that Deconstruct are not a Destructor in C#. Is a good video. :)

  • @aymaneeljahrani2280
    @aymaneeljahrani2280Ай бұрын

    MAUI is much better than Xamarin

  • @nothingisreal6345
    @nothingisreal634523 күн бұрын

    Disagree. For me MAUI is already dead. Way too late to the party. The future at MS is Blazor. Writing client apps is anyways coming to an end.

  • @tonnoztech
    @tonnoztechАй бұрын

    thanks!

  • @dmitrym4383
    @dmitrym4383Ай бұрын

    Didnt look towards TS, but it looks like a good choice. Im a android coder. Ill take a look, also subscribed! Anyway, you are talking quite fast, but i understand 95perctnt. What is your accent? Australia? :)

  • @Lakithi
    @LakithiАй бұрын

    I noticed there waz an additional statement after the "yield return i;" statement in the "InfiniteArray()" function.

  • @eksortso
    @eksortsoАй бұрын

    If you're a long-time Python developer and have shied away from JavaScript due to its weak typing and eccentric casting rules, how does learning TypeScript help you practically, and will it eventually prepare you to pivot to plain JavaScript and all that that may encompass?

  • @snarekeeper8053
    @snarekeeper8053Ай бұрын

    You probably wouldn't want to pivot to plain JavaScript after you enjoyed typescript. It's a step down in every way. Typescript just transpiles to JavaScript anyways, so you can use it for anything you would want to use JavaScript for.

  • @smoked-old-fashioned-hh7lo
    @smoked-old-fashioned-hh7loАй бұрын

    typescript is closer to a linter than a language

  • @bobsmithy3103
    @bobsmithy3103Ай бұрын

    goated. Best typescript extension tutorial

  • @traintocode
    @traintocode14 күн бұрын

    Haha thanks

  • @ninocrudele
    @ninocrudeleАй бұрын

    awesome just what I needed to refresh it

  • @krisztiankiss5105
    @krisztiankiss5105Ай бұрын

    What the hell is npm? Where do I type npm install -g? I just want to use Typescript on my Windows machine in VScode and I don't understand what you are talking about right from the start...

  • @LarryRobinsonintothefog
    @LarryRobinsonintothefogАй бұрын

    foreach loop ?????