Snapshot เป็นตัวช่วยให้ค้นพบข้อผิดพลาดที่อาจจะเกิดจากการเปลี่ยนแปลงที่ไม่ต้องการใน App
ได้มีโอกาสมาเขียนทางฝั่ง Mobile บ้าง แต่ก็ไม่ได้มีความเชียวชาญอะไรมายมาย…
ในโลกของธุรกิจทุกวันนี้เราคงปฎิเสธกันไม่ได้เลยว่าขุมทองของธุรกิจนั้นมาจากแหล่งข้อมูลและแหล่งข้อมูลหรือข้อมูลส่วนตัว…
วันนี้ได้กลับมานั่งดูโค้ดส่วนที่เราจะเขียน Network request ไปเรียก API บางอันต้องสร้าง query string…
การเขียน guard let, if let, และ as? แบบ Swift ใน Kotlin
guard เอาไว้ตรวจค่า ว่าเป็นไปอย่างต้องการหรือป่าว ซึ่งถ้าไม่ตรงตามเงื่อนไขก็จะขับไล่มันออกจาก function โดยการ return, throw exception ออกจาก function ไป หรือ break ออกจาก loop