![Train To Code](/img/default-banner.jpg)
- 98
- 286 278
Train To Code
United Kingdom
Приєднався 16 січ 2022
Stop Trying to Learn By Memorizing Syntax
Job interviews are stressful, I'm here to convince you that you don't need to add to the stress by trying to memorize a bunch of things beforehand. It's not an exam.
🔗 Try These Project Tutorials
traintocode.com/projects
📖 Get my book - Developing on AWS with C#
www.oreilly.com/library/view/developing-on-aws/9781492095866/
💻 Github
github.com/traintocode
🗣️ Social Media
- www.linkedin.com/in/jamesjcharlesworth/
- jcharlesworthuk
#learncoding #webdevelopment
🔗 Try These Project Tutorials
traintocode.com/projects
📖 Get my book - Developing on AWS with C#
www.oreilly.com/library/view/developing-on-aws/9781492095866/
💻 Github
github.com/traintocode
🗣️ Social Media
- www.linkedin.com/in/jamesjcharlesworth/
- jcharlesworthuk
#learncoding #webdevelopment
Переглядів: 442
Відео
Why Learning About Business Can Help Your Career
Переглядів 14221 день тому
This could be holding back your career as an engineer, so often the operations of the business you work for or in are ignored by software engineers. 🔗 Try These Project Tutorials traintocode.com/projects Get my book - Developing on AWS with C# www.oreilly.com/library/view/developing-on-aws/9781492095866/ 💻 Github github.com/traintocode 🗣️ Social Media - www.linkedin.com/in/jamesjcharlesworth/ ...
Every single feature of TypeScript in 11 minutes
Переглядів 706Місяць тому
Get ready to become a TypeScript expert in 11 minutes* In this video we'll cover every feature of TypeScript that you need to know about, from the basics to the advanced. If you already know another programming language then this crash course will give you all you need to know to transfer your skills. *Like a 10 minute video, but 1 louder. #typescript #learncoding Get my book - Developing on A...
How to animate an SVG with CSS
Переглядів 131Місяць тому
There are plenty of animation libraries for the web, but it's still worth knowing the simplest and most lean way to create animated images - SVG and CSS transitions! This tutorial will introduce you to this technique by creating a simple animation. 🔗 CSS Has Selector on CanIUse.com caniuse.com/css-has 🔗 Try These Project Tutorials traintocode.com/projects 🗣️ Social Media - www.linkedin.com/in/j...
This is your perfect second programming language
Переглядів 442Місяць тому
One of the most popular and widely used languages in the world today tends to be a "second" language for most of its developers. And that's not a bad thing! So if you only know one language, this is the one to learn next #typescript #learncoding 🔗 Try These Project Tutorials traintocode.com/projects Get my book - Developing on AWS with C# www.oreilly.com/library/view/developing-on-aws/97814920...
Work out your coding vocabulary
Переглядів 1,8 тис.2 місяці тому
Which of these functions do you find more readable? Join me on a little experiment into your coding vocabulary 🔗 Try These Project Tutorials traintocode.com/projects Get my book - Developing on AWS with C# www.oreilly.com/library/view/developing-on-aws/9781492095866/ 💻 Github github.com/traintocode 🗣️ Social Media - www.linkedin.com/in/jamesjcharlesworth/ - jcharlesworthuk #learnco...
LeetCode Solution | Array Of Intervals
Переглядів 402 місяці тому
This problem involves merging overlapping intervals within a list to minimize the number of discrete intervals. Perfect for practising for a technical interview. This solution is in TypeScript but the method applies to many programming languages. 🔗 Try These Project Tutorials traintocode.com/projects 🗣️ Social Media - www.linkedin.com/in/jamesjcharlesworth/ - jcharlesworthuk
LeetCode Solution | Depth First Search
Переглядів 1092 місяці тому
LeetCode Solutions in TypeScript - Depth First Search (DFS) is a search algorithm used to explore all the nodes in a graph or tree data structure. It's like exploring a maze, DFS dives as deep as possible into the graph before backtracking to explore other paths. Perfect for practising for a technical interview. This solution is in TypeScript but the method applies to many programming languages...
Ultimate Guide to Choosing a Tech Stack
Переглядів 5063 місяці тому
Comprehensive guide to selecting the most suitable technology stack for your project, while there is no universal "best" tech stack, there exists an optimal choice tailored to your specific requirements. #webdevelopment #indiehackers #sideproject 🔗 Try These Project Tutorials traintocode.com/projects 🗣️ Social Media - www.linkedin.com/in/jamesjcharlesworth/ - jcharlesworthuk 00:00 I...
Understanding JavaScript Closures
Переглядів 1433 місяці тому
A brief guide to creating closures in JavasScript 🔗 Try These Project Tutorials traintocode.com/projects 🗣️ Social Media - www.linkedin.com/in/jamesjcharlesworth/ - jcharlesworthuk #learncoding #javascript #functionalprogramming
It's time to start using :has() in your CSS
Переглядів 6624 місяці тому
You can start using :has() in CSS now as it is supported in all the major browsers. This video shows you how to use the selector in your CSS. 🔗 CSS Has Selector on CanIUse.com caniuse.com/css-has 🔗 Try These Project Tutorials traintocode.com/projects 🗣️ Social Media - www.linkedin.com/in/jamesjcharlesworth/ - jcharlesworthuk #learncoding #css #frontend
Hello World in 15 Programming Languages
Переглядів 1044 місяці тому
Introducing you to 15 of the most popular programming languages in the world, by writing "hello world" to the console. 🔗 Try These Project Tutorials traintocode.com/projects Get my book - Developing on AWS with C# www.oreilly.com/library/view/developing-on-aws/9781492095866/ 💻 Github github.com/traintocode 🗣️ Social Media - www.linkedin.com/in/jamesjcharlesworth/ - jcharlesworthuk ...
The most important thing for building skill as a software engineer
Переглядів 2,4 тис.4 місяці тому
Learning concepts from different angles will make you a better professional software engineer. 🔗 Try These Project Tutorials traintocode.com/projects Get my book - Developing on AWS with C# www.oreilly.com/library/view/developing-on-aws/9781492095866/ 💻 Github github.com/traintocode 🗣️ Social Media - www.linkedin.com/in/jamesjcharlesworth/ - jcharlesworthuk #learncoding #webdevelop...
Full Tutorial | Build a ChatBot in React with OpenAI
Переглядів 7834 місяці тому
Video walkthrough of this online project: traintocode.com/projects/pirate-gpt Build a chatbot with the OpenAI API in React, and AWS Lambda. This tutorial includes both the front end in React, Typescript & Vite, and the backend in Typescript AWS Lambda. 🔗 Online Project Tutorial traintocode.com/projects/pirate-gpt/1-1-creating-markup Get my book - Developing on AWS with C# www.oreilly.com/libra...
The Ultimate Amplify vs Firebase Comparison for 2024
Переглядів 2,6 тис.5 місяців тому
Detailed look at the front end frameworks for AWS and Google Cloud - Amplify and Firebase. We compare the two on their features, developer experience, documentation, pricing, learning curve and future outlook. 🔗 Free React Typescript Course traintocode.com/courses/react-typescript-conversion/ Get my book - Developing on AWS with C# www.oreilly.com/library/view/developing-on-aws/9781492095866/ ...
5 things you can do with GitHub CoPilot Chat
Переглядів 5926 місяців тому
5 things you can do with GitHub CoPilot Chat
WebDevNews | Everything Everywhere All At Once for NPM
Переглядів 1076 місяців тому
WebDevNews | Everything Everywhere All At Once for NPM
Speed Coding: Todo List App in Typescript & React
Переглядів 3877 місяців тому
Speed Coding: Todo List App in Typescript & React
TypeScript vs Javascript - Which is better for learning to code?
Переглядів 1,3 тис.7 місяців тому
TypeScript vs Javascript - Which is better for learning to code?
Serverless AI with AWS Lambda & OpenAI API
Переглядів 1,5 тис.7 місяців тому
Serverless AI with AWS Lambda & OpenAI API
Null vs Undefined - which one should you use in JS?
Переглядів 2049 місяців тому
Null vs Undefined - which one should you use in JS?
Refactoring By Example: Split Out Cross Cutting Concerns
Переглядів 4459 місяців тому
Refactoring By Example: Split Out Cross Cutting Concerns
Test Driven Refactoring: The Safe Way to Improve Your Code
Переглядів 2649 місяців тому
Test Driven Refactoring: The Safe Way to Improve Your Code
WebDevNews | New Raspberry Pi 5, Copilot Chat & More...
Переглядів 30910 місяців тому
WebDevNews | New Raspberry Pi 5, Copilot Chat & More...
loaded with information video I’ve encoun tered so f ar about C
Spent literally an hour trying to find out why I couldn't get the alert to work from the Vite + React example. Turns out chrome.tabs.query({active: true}) may not work if you've got multiple windows open like I typically do. You should use something like chrome.tabs.query({active: true, lastFocusedWindow: true}) if you want to avoid errors and have the alert to pop up in the window and tab you're currently viewing!
I originally downvoted becaus eif the Satanic 666 reference, but then upvoted when you explained methods cant be more permissive than the class they are declared in.
Thank you for your excellent work. My VSCode doesn't suggest any correct methods when typing "chrome." Please help.
What about events, actions, tuple...? :)
Watched the vid twice. so has been 20 mins. I should be a double C# expert by now but I still can't even write a hello world! I THINK I JUST GOT SCAMMED!
I really struggled with Maui setting it up for windows application so that I can reproduce my program written in MS win-forms. Do you hv an application in MAUI-windows app.?
hello I would like to develop a chrome extension but I don't know if my idea is good and could you tell me what you think about it
Can you please explain how to use the service worker with vite build
Amazing explanation! Looking forward to the new videos ❤
Why C# is more complicated that C++ ?
What about Apple’s CloudKit? If your app is an iPhone / iPad app?
I have met a lot, really a lot, of people who would say the opposite of what you did in regard to implicit typing.^^
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.😊
How to work with service_worker using vite
That was valuable. Thanks for creating such a tutorial.
Nice video man! Short and to the point.
You guys are cool!!!!
Yeah, I think SO is dying, but let's get back and think, where did ChatGPT learn knowledge of coding?
I appreciate this.
Same dude. Ive learned so much on this channel after 3 videos already.
this is informative, planning to port my project from winforms to maui
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
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.
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!
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.
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.
5:13 - Here you use the builder pattern on record to provide a domain model for changing the UserRecord ?
your advice are soo true and valuable and one cant progress without this skill
Thanks!
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!
extremely useful
Thanks
As far as I can see, the upgrade assistant CLI on Windows is totally broken.
You may be right this video is a bit old now. I'll look into making an updated guide soon
so these are the supabase alternatives?
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 😂
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.
Great tutorial, keep it up bro!
Thanks, will do!
You forgot unsafe code(C pointers), delegates, events, threads, threadpools, nullables, enums,
Yeah the title is a bit of a lie. C# has so many features.
@@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...
Not even done yet but this is for sure the best chrome extension tutorial on UA-cam!
Thanks!
g f hello
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.
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.
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.
Awesome video
Thanks!
Nice lesson 😁
Thanks! 😃
nice tutorila but i need to build everytime. do you have any solution for it?
Thanks for the video. Great refresher of C# for me.
Glad it was helpful!
And even this video did not include all of it by far. But nice to see someone fit this much in 10 minutes.
It's somehow just so simple compared to Python or Javascript, don't know why, just reads really naturally.
I hate 'var'!
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
I think it's not clear that Deconstruct are not a Destructor in C#. Is a good video. :)
MAUI is much better than Xamarin
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.
thanks!