- Видео 344
- Просмотров 515 312
newline
Добавлен 26 окт 2017
Learning tech and keeping your skills ahead of the curve is challenging because few resources have everything you need to stay sharp. Often these resources leave a lot to be desired - they are incomplete, superficial, or outdated.
\
ewline is all about helping programmers master new technologies and skills by creating complete and up-to-date courses and books on everything you need to be amazing at work. \
ewline content is created by leading developers who work at top tech companies like Google, Spotify, HP, Shopify and more.
You don't need to spend hours crate digging through outdated blog posts any longer. Learn everything you need to build real-world applications in one place, \
ewline. Our expert teachers go deep into teaching up-to-date, industry-style production apps; from empty folder to production.
\
ewline is all about helping programmers master new technologies and skills by creating complete and up-to-date courses and books on everything you need to be amazing at work. \
ewline content is created by leading developers who work at top tech companies like Google, Spotify, HP, Shopify and more.
You don't need to spend hours crate digging through outdated blog posts any longer. Learn everything you need to build real-world applications in one place, \
ewline. Our expert teachers go deep into teaching up-to-date, industry-style production apps; from empty folder to production.
What Makes Nx Ideal for Managing Monorepos with Lead Engineer, Sean Amarasinghe
In this insightful video, Lead Engineer Sean Amarasinghe dives deep into Nx, a revolutionary tool that’s reshaping how developers approach monorepos. Designed to streamline the development workflow, Nx empowers teams by simplifying code sharing, automating repetitive tasks, and providing advanced tooling integrations for frameworks like Angular, React, and Node.js.
Sean explains how Nx’s features-such as its powerful dependency graph analysis, code scalability, and collaborative workflows-make it indispensable for handling large-scale projects and enterprise-level applications. Whether you’re a developer seeking to optimize your workflow or a team leader looking to enhance collaboration, t...
Sean explains how Nx’s features-such as its powerful dependency graph analysis, code scalability, and collaborative workflows-make it indispensable for handling large-scale projects and enterprise-level applications. Whether you’re a developer seeking to optimize your workflow or a team leader looking to enhance collaboration, t...
Просмотров: 32
Видео
How Can You Transform Enterprise Development with Monorepos by Lead Engineer, Sean Amarasinghe
Просмотров 507 часов назад
In this tutorial, Lead Engineer Sean Amarasinghe reveals how monorepos can streamline workflows, boost collaboration, and elevate your development process to new heights. Whether you're managing multiple projects or optimizing CI/CD pipelines, this is a must-watch for enterprise developers looking to stay ahead. 👉 Ready to revolutionize your practices? Get the full course here: www.newline.co/c...
Are You Wasting Time Manually Handling Loading and Error States with Developer Advocate, Richard
Просмотров 7119 часов назад
In this insightful video, Developer Advocate Richard Bray dives into an essential topic for developers: optimizing the way we manage loading and error states in React applications. Manually handling these states can lead to repetitive code and unnecessary complexity. Richard demonstrates how to let hooks take over the heavy lifting, simplifying your codebase and improving maintainability. Ready...
How Can You Fetch Data Before a User Even Clicks a Button with Developer Advocate, Richard Bray
Просмотров 21612 часов назад
Imagine an app that feels lightning-fast because it anticipates what you need before you even ask. In this video, Developer Advocate Richard Bray breaks down an essential concept: prefetching data. Instead of waiting for a user to click a button or navigate to a new page, learn how to fetch data ahead of time, whether on button hover or click. 🔥 Whether you’re building responsive apps or just w...
How Can We Stop Fetching the Same Data Over and Over Again with Developer Advocate, Richard Bray
Просмотров 73919 часов назад
In this video, Richard Bray dives deep into the world of data caching and prefetching, helping you stop redundant data fetching in your apps. Ever noticed how data can be fetched repeatedly even when it's already available? This approach wastes time and resources, but with the right cache system in place, you can keep your app efficient and responsive. Richard shows you step-by-step how to impl...
How Can Pre-Fetching Improve Your App’s Performance with Developer Advocate, Richard Oliver Bray
Просмотров 56121 час назад
Developer Advocate Richard Oliver Bray breaks down the "why" and "how" of pre-fetching, showing you how to keep users engaged-even on slow connections. 🕵️♂️ With real-world examples like a Pokémon List app, Richard walks you through React's data fetching strategies, including optimizing the useEffect hook, managing state, and crafting custom hooks for seamless user experiences. Why wait? Level...
What Are the Hidden Drawbacks of Using Full-Stack Frameworks with Developer Advocate, Richard Bray
Просмотров 58День назад
Full-stack frameworks like Next.js or Remix are celebrated for their efficiency in solving issues like bloat and enabling server-side data fetching. But are they always the best solution for your app? In this video, Richard Bray dives deep into the potential drawbacks of full-stack frameworks. Whether you're building a basic client-side app, aiming for a mobile-app-like feel, or considering lib...
Why You Might Not Want to Use Libraries in Your App with Developer Advocate, Richard Bray
Просмотров 57День назад
Libraries are a quick and powerful way to enhance your apps-but are they always the best choice? In this video, Richard Bray dives deep into the potential downsides of using libraries, sharing insights from his real-world experience in the industry. This conversation isn’t about avoiding libraries entirely but understanding the hidden trade-offs and making smarter choices when building robust, ...
Why is useEffect a Risky Choice for Data Fetching with Developer Advocate, Richard Bray
Просмотров 336День назад
In our latest video, Richard Oliver Bray, Developer Advocate at Better Stack, uncovers the hidden pitfalls of useEffect. From network waterfalls to unnecessary re-renders, we dive deep into why the React team no longer recommends this approach-and more importantly, we share better alternatives to optimize your app’s performance and user experience. 💡 Don’t let outdated practices slow down your ...
Can React data fetching be done without useEffect or any libraries with ORVA Consultant, Richard
Просмотров 26114 дней назад
Join ORVA Consultant Richard Bray as he dives deep into performance-driven data handling in React. If you’re working with dynamic data and looking to make your code leaner and faster, you’ll want to catch this! Discover how to sidestep common pitfalls in data fetching while keeping your code compact, efficient, and built to scale-all without relying on external libraries. Richard shares the exa...
How Generative UI Can Transform Your Interaction with AI with AI Domain Specialist, Louis Sanna
Просмотров 74Месяц назад
How Generative UI Can Transform Your Interaction with AI with AI Domain Specialist, Louis Sanna
What Tools Can You Add to Enhance Your Chat Model with AI Domain Specialist, Louis Sanna
Просмотров 12Месяц назад
What Tools Can You Add to Enhance Your Chat Model with AI Domain Specialist, Louis Sanna
How I Built a Chat UI That Feels Like ChatGPT with AI Domain Specialist, Louis Sanna
Просмотров 104Месяц назад
How I Built a Chat UI That Feels Like ChatGPT with AI Domain Specialist, Louis Sanna
Create a Dynamic Chat App in React-Without Starting from Scratch by Domain Specialist, Louis Sanna
Просмотров 60Месяц назад
Create a Dynamic Chat App in React-Without Starting from Scratch by Domain Specialist, Louis Sanna
How Can Chroma Revolutionize Your Semantic Search with AI Domain Specialist, Louis Sanna
Просмотров 50Месяц назад
How Can Chroma Revolutionize Your Semantic Search with AI Domain Specialist, Louis Sanna
The Hidden Power of LangChain for LLM Applications with AI Domain Specialist, Louis Sanna
Просмотров 112Месяц назад
The Hidden Power of LangChain for LLM Applications with AI Domain Specialist, Louis Sanna
How I Built an AI Product That Converts Your Words into Emojis with AI Domain Specialist, Louis
Просмотров 68Месяц назад
How I Built an AI Product That Converts Your Words into Emojis with AI Domain Specialist, Louis
Master AI-Powered Chat UIs with LangChain, FastAPI, & Python | Real-Time LLM Apps Course
Просмотров 150Месяц назад
Master AI-Powered Chat UIs with LangChain, FastAPI, & Python | Real-Time LLM Apps Course
How I Implement Headless Tab Components using Radix with Alyssa, Senior Software Engineer
Просмотров 1473 месяца назад
How I Implement Headless Tab Components using Radix with Alyssa, Senior Software Engineer
How I Build Accessible Tabs Using the ARIA APG with Alyssa, Senior Software Engineer
Просмотров 1363 месяца назад
How I Build Accessible Tabs Using the ARIA APG with Alyssa, Senior Software Engineer
My Approach on Making TextInput Component Both Standard and Error-Ready by Alyssa, Senior Engineer
Просмотров 2123 месяца назад
My Approach on Making TextInput Component Both Standard and Error-Ready by Alyssa, Senior Engineer
How I Effectively Carry Out a Quick Accessibility Audit with Axe DevTools by Alyssa, Senior Engineer
Просмотров 1933 месяца назад
How I Effectively Carry Out a Quick Accessibility Audit with Axe DevTools by Alyssa, Senior Engineer
Are You Accidentally Sabotaging Your Website's Accessibility? with Alyssa, Senior Software Engineer
Просмотров 1043 месяца назад
Are You Accidentally Sabotaging Your Website's Accessibility? with Alyssa, Senior Software Engineer
How ARIA Attributes and Screen Readers Truly Optimize Web Accessibility with Alyssa, Senior Engineer
Просмотров 2323 месяца назад
How ARIA Attributes and Screen Readers Truly Optimize Web Accessibility with Alyssa, Senior Engineer
Is Your Website Truly Accessible to All Users with Alyssa Holland, Senior Software Engineer
Просмотров 1013 месяца назад
Is Your Website Truly Accessible to All Users with Alyssa Holland, Senior Software Engineer
Can Typing Custom Hook Parameters Prevent Errors? Chris, Fullstack Engr at Solve GMBH
Просмотров 834 месяца назад
Can Typing Custom Hook Parameters Prevent Errors? Chris, Fullstack Engr at Solve GMBH
Why Ignoring Refocus & Unmount Events Can Break Your App with Chris, Fullstack Engr at Solve GMBH
Просмотров 524 месяца назад
Why Ignoring Refocus & Unmount Events Can Break Your App with Chris, Fullstack Engr at Solve GMBH
What's the Trick to Looping Through Titles with useEffect Hook | Chris, Fullstack Engr at Solve GMBH
Просмотров 724 месяца назад
What's the Trick to Looping Through Titles with useEffect Hook | Chris, Fullstack Engr at Solve GMBH
When You Forget to Restore Document Title & Favicon with Chris, Fullstack Engineer at Solve GMBH
Просмотров 414 месяца назад
When You Forget to Restore Document Title & Favicon with Chris, Fullstack Engineer at Solve GMBH
This is the Hidden Loophole in Your React Hook Parameters by Chris, Fullstack Engr, Solve GMBH
Просмотров 714 месяца назад
This is the Hidden Loophole in Your React Hook Parameters by Chris, Fullstack Engr, Solve GMBH
I use Tanstack query
cool
Can you share the script you're running with yarn test-storybook?
Hi bro, nice tutorial. By the way, what is the VS Code extension for that bracket line highlighter?
It's an interesting approach to prefetch data, but I believe you should place the window.addEventListener call inside a useEffect. Since it's an effect, it will add the event listener on every re-render, which can become problematic. For a large application with many modules to manage, this method may not scale well. You might end up prefetching data unnecessarily, even when it’s not needed. Prefetching should be reserved for specific use cases, not applied to all the data being handled.
Great video - question is can I do a simple join between 2 or more tables in the query? Let's say my primary table is members and I want the user to be able to filter not only on member field but also on purchased items by that member??
Why I hate kailesh Yuvraj and volly maasa 1. I was To much on iPad 2. I didn’t want to go dancing 3. I don’t like dancing 4. I ate to much junk 5. I didn’t wanting to bike 6. I Accidently opening the bathroom when Yuvraj was in there and he punched me and tackled me onto the ground 7. I was Being slow on a bike 8. I didn’t wanting to go to Canada 9. I talking to strangers 10. Kicking the ball against the window by accident 11. Yuvraj Snitched on me 12. I didn’t want to go to Kansas 13. I did not standing by his side when he was wrong 14. They Bullied me when their neighbor bullied me 15. I didn’t want to a sleepover 16. I watched family guy and innapropriate shows 17. Yuvraj bullied me for calling a man by his last name rather than his first him(called a man named Mr Walz instead of Michael) 18. I Touching a statue 19. I Drinking soda 20. Volly maasa and Yuvraj tried to feed a live bug to me 21. I was unable to catch 22. Yuvraj , kailesh , and volly maasa is biased against me(when a little kid was bullying my other cousin one time, Yuvraj defended him, but not me when Yuvraj’a neighbor bullied me, Yuvraj bullied me with him) 23. I was Trying to Dunk on a hoop 24. Yuvraj Shot me with a nerf gun 25. I Accidentally breaking a toy 26. Volly maasa and yuvraj say I know nothing about history 27. They did Not letting me sit in the middle of the car 28. Yuvraj, volly maasa, and kailesh were biased toward me 29. I didn’t not want to hang out with his friend 30. Yuvraj Said my farts killed people 31. Yuvraj,kailesh, and volly maasa Threatened to beat me up with a baseball bat 32. Kailesh, Yuvraj were Mad at me for supporting biden or trump 33. Kailesh and yuvraj Called me gay 34. Yuvraj Thought I wasnt my homework even though I did 35. I didn’t like playing the flute 36. I didn’t wanting to do yoga 37. Yuvraj said Being bad at hockey 38. Yuvraj Stole my candy 39. Yuvraj Called me dumb 40. Yuvraj said I hope you get bloody eyes to me 41. Yuvraj Called me stupid 42. Yuvraj Told all his friends I’m autistic 43. I Picked up coins on the ground 44. Yuvraj Snitched on me for eating meat 45. Volly maasa, kailesh, yuvraj Didn’t let me eat meat 46. Yuvraj made fun of me for Not singing when the music was playing 47. Yuvraj and volly maasa Forced me to clean their butt 48. I want Not listening to music 49. I was bad at soccer 50. Yuvraj and volly maasa made fun of me for wearing VANS 51. Yuvraj bullied me for Playing with his hockey stick while borrowing it 52. Yuvraj Punched me for chewing gum his dad gave to me 53. Volly maasa called me dumb for Not knowing of any companies 54. Yuvraj and volly maasa called me dumb for Not knowing of any clothing brands 55. Yuvraj Told and Got his friend to hit me , tackle me, punch me 56. Yuvraj Told me I was bad at hockey 57. Yuvraj Made fun of me for not being able to tackle 58. Yuvraj Told me to walk with my mom even though he was walking by himself 59. Yuvraj Made fun of me because I couldn’t evade them when playing a game 60. Yuvraj Supporting arav over him 61. Yuvraj and his neighbor bullied me for trying to bounce a ball into the net 62. I Talked about Katrina and Kelly to much 63. I Lost a fight in middle school 64. I Got suspended from middle school 65. I Talk about my friends to much 66. I ate to much candy 67. They Didn’t let me sit in the middle of the car 68. Yuvraj told all of his friends all the negative things that happened to me in schl 69. Yuvraj told his friend to hit me with a stick 70. I did not reading directions 71. I was unable to solve a math problem 72. I was burping 73. I Throwing a ball from afar 74. Yuvraj burped in my face 75. I did Not maintaining eye contact 76. I Calling him kish 77. Yuvraj and volly massa Called me dumb for not knowing if some things 78. I was Annoying talking 79. I was Performing basketball trick shots 80. I Accidentally kicking a soccer ball against the wall 81. Yuvraj punched me when his dad gave me soda to drink 82. Yuvraj and volly maasa made fun of me for Being scared of a frog 83. They were Cussing to me 84. Yuvraj and volly maasa made fun of me for Being scared of a snake 85. Yuvraj farted on me 86. Volly maasa hit me 87. Volly maasa called me gay 88. They bullied for me forBeing slow on a bike 89. Volly maasa and Yuvraj threatened to rub a frog in my face 90. Yuvraj Bragged for being faster than him 91. He made fun of me for Calling his friend nice and cool names 92. I told Yuvraj to stop singing and kept on taunting me 93. Yuvraj bullied me for Not wanting to play basketball 94. Yuvraj bullied me for Not wanting me to bike 95. I was talking to loud 96. Volly maasa and Yuvraj called me gay for wearing vans 97. I Accidentally touched yuvraj 98. I hitted on random girls 99. I was wandering off alone 100. Yuvraj took my glasses off without my permission 101. Yuvraj, kailesh, and volly maasa made fun of me for Not liking the Chicago bears 102. Volly maasa, kailesh, Yuvraj made fun of me For failing to make a basketball shot 103. I spending time with Yuvraj friends when I wasnt allowed to or Yuvraj wasn’t there 104. Yuvraj bullied me for Watching inappropriate shows 105. Yuvraj made fun of me for Wanting to take a train or bus or plane 106. I ate meat 107. They made fun of me For liking Stephen curry over lebron James 108. Yuvraj Stole my money 109. Yuvraj Told his friends to gang up on me and beat me up 110. I didn’t want to go to beach 111. For liking Ducks over Blackhawks 112. Yuvraj and his friends tackled me and jumped on to my back/performed John cena moves when I wasn’t doing anything 113. They bullied me because I was vegetarian 114. They never stood by my side when his neighbor bullied me 115. For water bottle flipping 116. Making fun of me for not having or wanting a girlfriend 117. Yuvraj said if his dad dies he’s going to blame it on me even though I didn’t do anything to his dad 118. They Lying to me that he lives in Anaheim hills 119. They Threatened to throw me into Lake Michigan 120. Kailesh Yuvraj and volly maasa punched me 121. Yuvraj said I hope you don’t go to college 122. I didn’t Not listen to their advice when playing video games 123. They threatened to cut my finger with a knife 124. They always say I farted 125. They always make fart noises near me and say ew you farted 126. They Made fun of me for not being able to do a pull up 127. They stripped me naked once 128. They pants me 129. Yuvraj bullied me for petting their neighbor dog 130. They said to i hope you suffer and die because of your autism 131. They don’t care about my autism and wants me to suffer because of it 132. They told me to let myself suffer because of my autism 133. I tried to kick and punt a ball into a net 134. Yuvraj hit me with a hockey stick 135. Yuvraj shot me with a water gun 136. Yuvraj threw a ball in my face on purpose and intentionally 137. Yuvraj told his friend to hit me with a stick 138. Yuvraj and volly maasa told me I’m gay 139. Yuvraj bullied me for not making eye contact and angrily threatened to tell everyone 140. Yuvraj told me smoking is good for my health 141. Yuvraj and volly maasa bullied me for liking and being friends with Muslims 142. Yuvraj bullied me for not wanting to hang out with his Islamic friend who bullied me 143. Yuvraj and his friend wrestled me to the ground even though i wasn’t doing nothing and just watching tv 144. Yuvraj told me to kill my self 145. Yuvraj kailesh and volly maasa told me I’ll never get a job in life and never succeed 146. Yuvraj try to trick me into smoking by saying smoking is good for some peoples health 147. Yuvraj says I hope you get diabetes 148. They made fun of me because of my handwriting 149. Yuvraj tries to ruin my reputation in front of everyone 150. Yuvraj tries to embarrass me in front of everyone 151. Yuvraj and volly maasa bullied me for not wanting a girlfriend 152. Whenever I physically bullied by them they just laughed and did nothing
Why I hate falguni Maasi family 1. They don’t want another child( falguni Maasi family) 2. They don’t have consistency(falguni Maasi) 3. They don’t take things seriously(falguni Maasi) 4. The mom spoils her husband(falguni maasi family) 5. They don’t understand me(falguni Maasi family) 6. They are biased against me(falguni Maasi family ) 7. The daughter annoys me(falguni Maasi family) 8. The daughter jokes around with me(falguni Maasi family) 9. They never wished me happy birth day(falguni Maasi family) 10. The mom continuously goes into my room without permission(falguni Maasi family) 11. Their personality(falguni Maasi family) 12. Their attitude(falguni Maasi family 13. Their talking styles(falguni Maasi family) 14. They do nothing for me(falguni Maasi family) 15. They don’t visit my house(falguni Maasi family) 16. They never visit my dad’s family(falguni Maasi family) 17. They joke around with me(falguni Maasi family) 18. The mom and daughter always goes in my room without my permission and just walks in and always interrupts me even when sleeping(falguni Maasi family) 19. The daughter annoys me(falguni Maasi family) 20. The daughter jokes around with me(falguni Maasi family) 21. They don’t talk to my dad side family(falguni Maasi family) 22. They mess around with me(falguni Maasi family) 23. The daughter always drives me crazy(falguni Maasi family) 24. The dad pays for their kids and wife’s meat while my dad doesn’t pay for my and my mom meat(Falguni Maasi family)
Why I hate paras Maasi family 1. They bully me(paras Maasi family) 2. They did nothing for me(paras Maasi family 3. They physically abuse and bully me(paras Maasi family) 4. They are biased against me(paras Maasi family) 5. The mom neglected me always even when volly maasa, kailesh, and Yuvraj were bullying me and she didn’t do anything about it(paras Maasi family) 6. They don’t seek or have good or proper health care provided to them(paras Maasi family) 7. They did nothing for my grandma(paras Maasi family) 8. They said I hope you don’t go to college(paras Maasi family) 9. The mom made fun of me for taking a college class while in high school(paras Maasi family) 10. Made fun of me for Starting off at a community college(paras Maasi family) 11. Them, Their friends and neighbors physically abuse and bully me(paras Maasi family) 12. Their personalities(paras Maasi family) 13. They don’t eat proper diet(paras Maasi family) 14. Their terrible parents(paras Maasi family) 15. The dad makes more money than my dad and owns a business (paras Maasi family) 16. They bullied me because I was vegetarian(paras Maasi family) 17. They have an extra car for each kid and they don’t have to share(Paras maasi family) 18. They told me to suffer because of my autism(paras Maasi family) 19. They don’t have consistency(paras Maasi family) 20. They don’t take things seriously(paras Maasi) 21. The mom doesn’t like it when I call the police on someone who trespasses my home(paras Maasi family) 22. The mom doesn’t like my opinion or respect my opinion of me not liking her family or anyone(paras Maasi family) 23. The mom tries to control my beleifs(paras Maasi family) 24. They don’t let me eat meat(paras Maasi family) 25. Their talking style(paras Maasi family) 26. They tell everyone I have autism and make fun of me because of my autism(paras Maasi family) 27. The dad didn’t want to have another child(paras Maasi family) 28. They hate muslims(paras Maasi family) 29. They snitch on me(paras Maasi family) 30. The youngest child took my money from me(paras Maasi family) 31. They all try to embarrass me in front of everyone(paras Massi family) 32. They all try to ruin my reputation in front of everyone ( paras Massi family) 33. Their attidues(paras Maasi family) 34. They don’t say hi or talk to my grandma(paras Maasi family) 35. They don’t do nothing for my grandma (paras Maasi family) 36. They don’t talk to my dad side family(paras Maasi family) 37. They forced me to go tutoring when I was on break/vacatjon(paras Maasi family) 38. They never wished me happy birthday(paras Maasi family) 39. They don’t help me with my autism(paras Maasi family) 40. They never visit my house(paras Maasi family) 41. They never visit my dad’s family(paras Maasi family) 42. They never visited my grandpa when he got sick(paras Maasi family) 43. They all literally physically harm me (paras Maasi family) 44. They disrespect me based on how I look and my habits(paras Maasi family) 45. They don’t support me because of my disability(paras Maasi family) 46. The youngest kid always manipulate me to do bad things(paras Maasi family) 47. They always gaslight me(paras Maasi family) 48. They always guilt trip me(paras Maasi family) 49. They show no compassion or empathy towards me and my dads family(paras Maasi family) 50. They always consistently criticize me(paras Maasi family) 51. They never showed remorse, shame, or guilt when they bullied me(paras Massi family) 52. They never apologized to me or seemed sorry when I physically got bullied and hurt by them or their friends(paras Maasi family)
I hate you, Dixit mama, paras Maasi, volly maasa, kailesh, Yuvraj, falguni Maasi, shree
Hi, why are you putting callback to ref?
Your video is wonderfully done. It's a masterpiece in NFC and React, to say the least.
How can I buy only the course? It is expensive 149 $ for me .🥲
I am building a website editor. Any change in blocks data structure forces me to change the all templates data by hand. Thats why i am researching how AST works and how to build for my application. You began to the video with examples that exactly fit my situation
dope!
very clear and easy to follow
{2024-09-24} - Subscribed!
This is perfect! thank you
can you provide the full course on RUclips please..
what version of nuxt.js is this???? version 2 or 3???
I write it in Swift import Foundation import CoreGraphics protocol Number { static func + (lhs: Self, rhs: Self) -> Self static func - (lhs: Self, rhs: Self) -> Self static func / (lhs: Self, rhs: Self) -> Self static func * (lhs: Self, rhs: Self) -> Self } extension Int: Number { } extension Float: Number { } extension Double: Number { } extension CGFloat: Number { } struct Operation <N: Number> { /// Enum to represent **a node on an AST** (abstract syntax tree). The node can either be a number (with something numeric attached to it) or another operation (which is also associated with the case). indirect enum Term { case number(N) case operation(Operation<N>) static var `default`: Term { Term.number(0 as! N) } } /// Store the left hand node let left: Term /// Store the right node let right: Term /// Store the calculation function to calculate an answer from 2 numbers (not Terms, these are handled later) let reduce: (N, N) -> N init(_ t1: Term = .default, _ t2: Term = .default, reduce: @escaping (N, N) -> N) { self.left = t1 self.right = t2 self.reduce = reduce } func calculate() -> N { // Return a value of the calculation function `calculate` on the terms. It traverses the tree first to find the last operation, return the result and continute up the tree until the current node /// Function to recursively traverse the tree, calculating the leaf operations first func evaluate(_ term: Term) -> N { return switch term { case .number(let num): num case .operation(let op): op.calculate() } } // Return the current operation's calculation on the 2 terms let t1 = evaluate(left) let t2 = evaluate(right) return reduce(t1, t2) } } let op = Operation(.number(2), .operation(Operation(.number(5.0), .number(10), reduce: *)), reduce: +) // Output 57 print(op.calculate())
Very interesting video! I love these kind of videos!
After watching several videos and finding myself with more questions than new concepts, I finally found the right one. Thank you.
Thank you very much!
Great video. Learning this for GraphQL introspection parsing of nested fields and arguments.
Yann - really nice video. Storybooks is so useful. We've just released an automation that has AI write storybooks files for all new react components in your codebase to make it easier to ensure there will always be a stories file where there should be. ruclips.net/video/G8_QVpDX1EY/видео.html
No... just no
what's the theme for vscode you're using
well no shit
Good work bro🎉
tons of term and nothuigb explained
useless
Is it sufficient to apply for a junior dev position?
Great Thanks
Holy snack, the lady at the end gave me a heart attack! Nice video tho.
same 😂
How did you get Rainbow effect for your terminal Commands
Is it possible to write to tag types 4?
42:30 amazing lmao
Turn down the ear rape at the end
Thanks for the video. This will be really helpful 🎉
Glad it was helpful!
wow I am new to this thanks
You’re welcome 😊
Noobish developer here. There are different gitignores for different frameworks?
Thanks for these videos, like to see what life is like as a developer
Interesting hearing this, been working in native application develop for a long time and learning web development and working with servers is a whole other world.
Very useful
we got bloated gitignore before GTA VI
Is that VSCode ?
New to PostgreSQL, Thanks for the lesson - very clear.
have just stumbled on your channel, great content!
Glad you enjoy it!
?? I was expecting you to show what is the result of anything at all ? But this is just pointless. Be better