Andy NguyeninBetter ProgrammingA “generic” Swift Interview Problem: Filter an Array of Generic ItemsBased on my recent coding interviewJun 8, 20222Jun 8, 20222
Andy NguyenFunctional 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…May 16, 2020May 16, 2020
Andy NguyenFunctional Programming in Swift: currying and partial functionIn this section, currying and partial function will be the main topic to discuss.Mar 24, 2020Mar 24, 2020
Andy NguyenFunctional 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?Mar 18, 20201Mar 18, 20201
Andy NguyenHow 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…Apr 6, 2019Apr 6, 2019
Andy NguyenProtobuf in SwiftProtobuf, or called by its original name Protocol Buffers, is Google (not newly) invention that is created to resolve the weakness of XML…Sep 9, 20184Sep 9, 20184
Andy Nguyen4 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…Nov 10, 2017Nov 10, 2017
Andy NguyeniOS SSL pinningSSL stands for Secure Socket Layer, which is a protocol for creating an encrypted connection between client and server. It ensures that all…Nov 9, 20177Nov 9, 20177
Andy NguyenSwift 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…Nov 1, 2017Nov 1, 2017
Andy NguyenAir 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…Sep 20, 2017Sep 20, 2017