LaptrinhX
  • My
  • News
  • Tag
  • Author
  • Ebook
  • Theme
  • Tutorial
  • Funny
  • IT Job
  • Video
  • Tools
  • Hacker News
  • India (বাংলা)
  • Česká republika (čeština)
  • Danmark (Dansk)
  • Österreich (Deutsch)
  • Schweiz (Deutsch)
  • Deutschland (Deutsch)
  • Ελλάδα (ελληνικά)
  • United Arab Emirates (English)
  • Australia (English)
  • Canada (English)
  • United Kingdom (English)
  • Ireland (English)
  • India (English)
  • Malaysia (English)
  • New Zealand (English)
  • Philippines (English)
  • Singapore (English)
  • United States (English)
  • International Edition (English)
  • South Africa (English)
  • Argentina (español)
  • Chile (español)
  • Colombia (español)
  • España (español)
  • México (español)
  • Perú (español)
  • United States (español)
  • Venezuela (español)
  • América Latina (español)
  • Suomi (suomi)
  • Belgique (français)
  • Canada (français)
  • Suisse (français)
  • France (français)
  • Afrique francophone (français)
  • India (हिंदी)
  • Magyarország (magyar)
  • Indonesia (Bahasa Indonesia)
  • Italia (italiano)
  • 日本 (日本語)
  • 한국 (한국어)
  • India (मराठी)
  • Norge (norsk, bokmål)
  • België (Nederlands)
  • Nederland (Nederlands)
  • Polska (polski)
  • Brasil (português)
  • Portugal (Português)
  • Россия (Pусский)
  • Sverige (svenska)
  • India (తెలుగు)
  • ไทย (ไทย)
  • Türkiye (Türkçe)
  • Việt Nam (Tiếng Việt)
  • 中华人民共和国 (简体中文)
  • 香港特别行政區 (繁體中文)
  • 台灣 (繁體中文)

    Tags ::

    blog.oozou.com blog.oozou.com

    A collection of 16 posts


    Gilded Rose Kata Refactoring — Part 1
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2019-02-18 16:40

    Gilded Rose Kata Refactoring — Part 1

    Gilded Rose Kata Refactoring — Part 1Here’s a well-known Kata called Gilded Rose which has a flog complexity of 45 and almost 12 duplicate method calls and is a great example for refactoring so let’s hop...

    Alireza Bashiri
    A Alireza Bashiri
    2 min read
    Command, Don’t Query
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2019-02-11 10:55

    Command, Don’t Query

    Have you ever come across chunks of code as below?An Ruby-ized version of The Art of Enbugging’s exampleAn enhanced version of Ben Orenstein’s exampleThat’s a violation of “Tell, Don’t Ask” principle or as...

    Alireza Bashiri
    A Alireza Bashiri
    2 min read
    Create a Router Network from URLSession
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2019-01-14 09:03

    Create a Router Network from URLSession

    https://www.tomsguide.com/us/best-wifi-routers,review-2498.htmlMost of the iOS apps in the world could have an interaction with data from network e.g. Restful, XML-RPC, GraphQL etc. We mostly use 3rd party to get the...

    Kittisak Phetrungnapha
    K Kittisak Phetrungnapha
    2 min read
    Introduction to Coordinator
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2019-01-09 16:22

    Introduction to Coordinator

    iOS flow controllerPhoto by Ryoji Iwata on UnsplashThe Model-View-Controller (MVC) is a design pattern Apple choose for the iOS. I think it is a good choice because it easy for newcomers to grasp and flexible enough...

    Sarun W.
    S Sarun W.
    4 min read
    Enum & custom type from primitive JSON type
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2018-12-18 12:34

    Enum & custom type from primitive JSON type

    with Swift CodableLast year I wrote a review of Codable protocol in Swift 4 and how it competed with JSON encoder/decoder out there. I happy to say that Codable served me well over the year, so today I’m going to...

    Sarun W.
    S Sarun W.
    2 min read
    Simple Flux architecture with Vue.js
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2018-12-12 10:42

    Simple Flux architecture with Vue.js

    Photo by Denys Nevozhai on UnsplashFor a small app that only needs a simple state management pattern. I always use one component to hold the state of the app, a container. This act as a single source of truth for an...

    Tino Thamjarat
    T Tino Thamjarat
    1 min read
    LiveData to the next level with MediatorLiveData and Transformations
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2018-12-07 20:38

    LiveData to the next level with MediatorLiveData and Transformations

    MediatorLiveData and Transformations seem to be very useful classes if we would like to do a ‘reactive patterns’ with LiveData and here are what I can show to you:MediatorLiveDataFrom its explanation, it is a...

    Jutikorn Varojananulux
    J Jutikorn Varojananulux
    2 min read
    Handle Complex Network Call with Kotlin Coroutine + Retrofit 2
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2018-07-26 13:47

    Handle Complex Network Call with Kotlin Coroutine + Retrofit 2

    https://www.pexels.com/photo/abstract-art-background-brown-279844/When you’ve been working with some Android applications, you may encounter the scenario where you have to make multiple network requests such as...

    Boonya Kitpitak
    B Boonya Kitpitak
    3 min read
    Interface in Kotlin and when to use it
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2018-07-05 21:46

    Interface in Kotlin and when to use it

    After using Kotlin in Android development for a while, I’ve just realized the benefit of Interface in Kotlin. In Java, Interface can only be used to describe the behaviors, but not implement them.Fortunately, Kotlin...

    Boonya Kitpitak
    B Boonya Kitpitak
    2 min read
    Documenting iOS apps, visually
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2018-05-31 15:28

    Documenting iOS apps, visually

    Let’s admit it, it’s hard to remember all the UIView’s classes, even in medium-sized iOS apps. There’re hundreds of those files, made by multiple people, using different languages, scattered around the...

    aunnnn
    A aunnnn
    2 min read
    Commit Messages Matter
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2018-05-29 22:47

    Commit Messages Matter

    Please put your thought on itGit is currently the most popular version control of the software industry. Created by Linus Torvalds, the mind behind Linux kernel, himself back in 2005, It is now one of a must-have tool...

    Tino Thamjarat
    T Tino Thamjarat
    3 min read
    How to prevent ViewController initiation unexpected behavior
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2018-04-06 14:57

    How to prevent ViewController initiation unexpected behavior

    https://en.wikipedia.org/wiki/LionFor iOS developers nowadays, there are many ways to create ViewController. How do you create it? By Storyboard, Xib file, or Programmatically?// Storyboardlet vc = UIStoryboard(name:...

    Kittisak Phetrungnapha
    K Kittisak Phetrungnapha
    3 min read
    How to fix Xcode indexing endless problem (a different way)
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2017-12-21 11:45

    How to fix Xcode indexing endless problem (a different way)

    Hi everyone, I am a hundred percent sure that every iOS developer used to face the Xcode indexing endless problem. I bet you before you read this short article you will sayJust clear derive data folder, clean, and...

    Kittisak Phetrungnapha
    K Kittisak Phetrungnapha
    1 min read
    Feature Test with Headless Chrome and Capybara
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2017-11-03 12:03

    Feature Test with Headless Chrome and Capybara

    Capybara is so cute ❤Capybara is one of the most popular feature testing framework in the Ruby on Rails community. I’ve been pretty happy using it with headless browser like PhantomJS.However, Google recently...

    Tino Thamjarat
    T Tino Thamjarat
    2 min read
    Handling decimal operations in Javascript
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2017-08-22 23:27

    Handling decimal operations in Javascript

    Don’t we all love Javascript?I ❤ JsThe most annoying thing when you have to do some math operation in Javascript is that sometimes it does not work the way you want.Take a look at this example0.1 + 0.2...

    Tino Thamjarat
    T Tino Thamjarat
    2 min read
    Tail Call Optimization in Kotlin
    • twitter
    • facebook
    • email
    blog.oozou.com blog.oozou.com 2017-07-25 18:26

    Tail Call Optimization in Kotlin

    Since Kotlin is a multi-paradigm language, we can also avoid using for loop and use recursion instead. This blog, I will show a little trick to do a TCO in Kotlin.The Imperative Programing is normally defined by thing...

    Jutikorn Eddy Varojananulux
    J Jutikorn Eddy Varojananulux
    2 min read
    LaptrinhX © 2021
    Latest Posts News raoxyz congtyaz