- 101
- 309 004
Train To Code
United Kingdom
Registrace 16. 01. 2022
How to code defensively to reduce bugs
Defensive programming is a term given to a bunch of techniques designed to both reduce the number of bugs in your code, and to provide more useful debugging information when you do have them. This video shows you some defensive programming tips in TypeScript
🔗 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
zhlédnutí: 69
Video
Advanced TypeScript | Union and Intersection Types
zhlédnutí 82Před dnem
One of the most important advanced features of TypeScript that can drastically reduce the complexity of your code. 🔗 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 #lea...
How TypeScript infers types automatically
zhlédnutí 81Před 14 dny
An explanation of how TypeScript can figure out the types in your code without you having to explicitly define them in variables and functions. 🔗 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/ - twi...
Stop Trying to Learn By Memorizing Syntax
zhlédnutí 520Před měsícem
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/jam...
Why Learning About Business Can Help Your Career
zhlédnutí 150Před měsícem
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
zhlédnutí 742Před 2 měsíci
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
zhlédnutí 140Před 2 měsíci
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
zhlédnutí 457Před 2 měsíci
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
zhlédnutí 1,8KPřed 3 měsíci
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
zhlédnutí 47Před 3 měsíci
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
zhlédnutí 113Před 3 měsíci
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
zhlédnutí 598Před 4 měsíci
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
zhlédnutí 151Před 4 měsíci
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
zhlédnutí 666Před 5 měsíci
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
zhlédnutí 110Před 5 měsíci
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
zhlédnutí 2,4KPřed 5 měsíci
The most important thing for building skill as a software engineer
Full Tutorial | Build a ChatBot in React with OpenAI
zhlédnutí 968Před 5 měsíci
Full Tutorial | Build a ChatBot in React with OpenAI
The Ultimate Amplify vs Firebase Comparison for 2024
zhlédnutí 3,2KPřed 6 měsíci
The Ultimate Amplify vs Firebase Comparison for 2024
5 things you can do with GitHub CoPilot Chat
zhlédnutí 652Před 7 měsíci
5 things you can do with GitHub CoPilot Chat
WebDevNews | Everything Everywhere All At Once for NPM
zhlédnutí 111Před 7 měsíci
WebDevNews | Everything Everywhere All At Once for NPM
Speed Coding: Todo List App in Typescript & React
zhlédnutí 460Před 8 měsíci
Speed Coding: Todo List App in Typescript & React
TypeScript vs Javascript - Which is better for learning to code?
zhlédnutí 1,6KPřed 8 měsíci
TypeScript vs Javascript - Which is better for learning to code?
Serverless AI with AWS Lambda & OpenAI API
zhlédnutí 1,6KPřed 8 měsíci
Serverless AI with AWS Lambda & OpenAI API
Null vs Undefined - which one should you use in JS?
zhlédnutí 217Před 10 měsíci
Null vs Undefined - which one should you use in JS?
Refactoring By Example: Split Out Cross Cutting Concerns
zhlédnutí 467Před 10 měsíci
Refactoring By Example: Split Out Cross Cutting Concerns
Taylor Ruth Wilson Timothy Jones Margaret
I didn't know there is a deconstruct method.. Learnt it here. Thanks.
Very cool video with great input, thank you for sharing.
I am a javascript/typescript developer exploring other tech and I learned a lot today from a single video. Thanks!
did you use c# console app for this?
Brilliant video, just starting out with JS and will defo check TS. Subscribed. Thanks😊
❤❤❤ but i have a little bit confuse about popup context and content script in the section use vite. Why change theme in onClick impact to the whole page
nice explanation
Some error in the narration: of course you can have public methods on private classes. That makes perfect sense. You really have to correct this error as it is quite important.
LGBT Students Question Purpose of Life czcams.com/video/E-KW9tUETN4/video.html “Jesus Didn’t Preach Christianity, but Islam!” czcams.com/video/qvBNViZG0Mk/video.html Islam: The True Religion of God? - Abdur-Raheem Green czcams.com/video/GOw1X4GIAYM/video.html
i am facing an error of undefine the chrome keyword even after install the package in my react app.
Will you please cover the latest language keywords and features of C# version 12? Thanks. You are really rock!
Sir you have telegram channel?
You lost me as soon as you mentioned class. This is so far removed from vb6, pascal or even traditional C. Is it so wrong that some people just want to write simple programs without all this high brow theory?
I'm a big proponent of many of these concepts: the static keyword, minimising state, immutability, pure functions, however I can't see the advantage of treating methods as variables, at least in my usage of C#, which is APIs. In the end I think a good old long procedural method is simplest and best for me. But in front-end, this could be of interest, though I feel like it would take something very special to top declarative reactive programming with rxjs.
Man you are awesome within 10 minutes you have covered lot of things. Thanks dude.
there is stupid feature called garbage collector
Very nice. Especially nice if you already program in another language and want to see how C# does things differently.
perfect tutorial! can you make a chrome extension that handles auth as well? i.e. to check what functionality a user can have access to?
Is it cool to use coding notes?
The best example I've seen yet. Glad I discovered you tonight, especially seen it is C#. Have always found this difficult.
Thank you so much, you're awesome!
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