InBetter ProgrammingbyAndy Nguyen·Jun 8, 2022A “generic” Swift Interview Problem: Filter an Array of Generic ItemsBased on my recent coding interviewA response icon2A response icon2
Andy Nguyen·May 16, 2020Functional Programming: recursion and tail call optimization (TCO)Ever heard about The Tower of Hanoi? It’s a famous puzzle when you have a stack of disks with different sizes and 3 rods that you are…
Andy Nguyen·Mar 24, 2020Functional Programming in Swift: currying and partial functionIn this section, currying and partial function will be the main topic to discuss.
Andy Nguyen·Mar 18, 2020Functional Programming in Swift: stateless and immutable dataYou might heard about this before — Function Programming. Wait, aren’t we using function everyday? What is the difference?A response icon1A response icon1
Andy Nguyen·Apr 6, 2019How to apply Single for network request in SwiftReactive programming has became popular as a useful programming paradigm for all developers in the world. It provides many concepts and…
Andy Nguyen·Sep 9, 2018Protobuf in SwiftProtobuf, or called by its original name Protocol Buffers, is Google (not newly) invention that is created to resolve the weakness of XML…A response icon5A response icon5
Andy Nguyen·Nov 10, 20174 ways to check if a range contains a value in SwiftSwift is a very powerful programming language and it makes developer’s life much easier since its birth. In this topic I’m gonna show 4…
Andy Nguyen·Nov 9, 2017iOS SSL pinningSSL stands for Secure Socket Layer, which is a protocol for creating an encrypted connection between client and server. It ensures that all…A response icon7A response icon7
Andy Nguyen·Nov 1, 2017Swift sequence higher order functions: filter, map, flatMap and reduceAny of us must have a chance to work with sequence in Swift. And we must also experienced with tasks such as calculate sum of an array, or…
Andy Nguyen·Sep 20, 2017Air debugging in Xcode 9 and iOS 11Today, Apple officially launched the new version of iOS — iOS 11. Along with that, they also release the new Xcode 9 yesterday. One of the…