@yipcode
programmer
Nothing here yet.
Nothing here yet.
Jul 11, 2022 · 1 min read · Common error encountered: firstlambda % sam build Your template contains a resource with logical ID "ServerlessRestApi", which is a reserved logical ID in AWS SAM. It could result in unexpected behaviors and is not recommended. Building codeuri: /Us...
Join discussionJun 22, 2022 · 2 min read · How do we pass in a function into another function? Let say there is a calculator function, which will perform addition function. For example, let have a calculator function that take in 2 Int param, and output an Int. func calculator(num1:Int, num2:...
Join discussionFeb 19, 2022 · 2 min read · The useState() function useState() function takes in a changeable value and returns an array of exactly 2 elements. Where the 1st element is the updated value itself, and the 2nd element is the updating function. const [title,setTitle] = useState('')...
Join discussionFeb 17, 2022 · 2 min read · The reuse principle Composition over inheritance (or composite reuse principle) is a OOP design pattern to reuse the composition (e.g classes that have been implemented with functionality) rather then using inheritance. Example Let say you have 3 sec...
Join discussion