Kotlin Weekly 中文周報(bào)——122

Kotlin Weekly 中文周報(bào)


  1. The advent of Kotlin 2018, week 1 (blog.kotlin-academy.com)
    Kotlin 2018 年的到來(lái),第 1 周
    Marcin Moskala announces weekly Kotlin programming challenges. At the beginning of each week, we will publish one challenge for you to solve in Kotlin. They can be solved in many different ways and using different Kotlin features.
    Marcin Moskala 宣布每周 Kotlin 編程的挑戰(zhàn)。每周一開(kāi)始,我們將發(fā)布一個(gè)挑戰(zhàn),為您解決在 Kotlin。它們可以用許多不同的方式解決,并使用不同的 Kotlin 功能。

  2. Gradle 5.0 released with Kotlin DSL (docs.gradle.org)
    Kotlin DSL 發(fā)布的 Gradle 5.0
    Gradle 5.0 has been released, and in this release the Kotlin DSL for build scripts is now production-ready!
    Gradle 5.0 已經(jīng)發(fā)布,在這個(gè)版本中,Kotlin DSL 用于構(gòu)建腳本現(xiàn)在已經(jīng)準(zhǔn)備就緒!

  3. Kotlin for Python developers (github.io)
    Kotlin for Python 開(kāi)發(fā)人員
    Kotlin is a compiled, statically typed language, which might provide some initial hurdles for people who are used to the interpreted, dynamically typed Python. The folks at Khan Academy were munificent enough to release this internal resource of theirs, to help of the Python developers out there.?
    Kotlin 是一種編譯的、靜態(tài)類型的語(yǔ)言,它可能為那些被解釋的、動(dòng)態(tài)類型的 Python 提供了一些最初的障礙。Khan 學(xué)院的人們慷慨地釋放了他們的內(nèi)部資源,以幫助那里的 Python 開(kāi)發(fā)者。

  4. Awesome Kotlin IntelliJ Plugin (jetbrains.com)
    擼棒的 kotlin intellij 插件
    Have you ever heard of the repository Awesome Kotlin? If the browser was inconvenient for you, now you can install this plugin and browse content within your favorite IDE.
    你聽(tīng)說(shuō)過(guò)一些特棒 Kotlin 庫(kù)嗎?如果瀏覽器不方便你,現(xiàn)在你可以安裝這個(gè)插件和瀏覽內(nèi)容在你喜歡的 IDE。

  5. Concurrent Coroutines - Concurrency is not parallelism (kotlinexpertise.com)
    并發(fā) coroutines - 并發(fā)不是并行
    Kotlin Coroutines are described as a tool “for asynchronous programming and more”. What exactly does this mean? How is “asynchrony” related to the terms “concurrency” and “parallelism”? Learn more about those buzzwords in this article from Simon Wirtz.
    Kotlin Coroutines 被描述為一個(gè)工具『異步編程和更多』。這到底是什么意思?『異步』與『并發(fā)』和『并行』的關(guān)系如何?從 Simon Wirtz 的這篇文章中了解更多關(guān)于這些術(shù)語(yǔ)的信息。

  6. Don’t be lazy, use @Rules (medium.com)
    不要懶惰,用『@Rules』
    @Rules are a simple way to modify the behavior of all the tests in a class, and they can level up our Kotlin game. Learn some practical examples in this article from Nicola Corti.
    @Rules 是一個(gè)簡(jiǎn)單的方式來(lái)修改所有測(cè)試的行為在一個(gè)類中,他們可以升級(jí)我們的 Kotlin 游戲。從 Nicola Corti 的這篇文章中學(xué)習(xí)一些實(shí)際的例子。

  7. Increasing readability using operator conventions in Kotlin (proandroiddev.com)
    在 Kotlin 中使用運(yùn)算符增加可讀性
    During his keynote at KotlinConf 2018, lead language designer Andrey Breslav emphasized what the language development team considers the most important principles of Kotlin. As a quick recap, these principles are readability, reusability, interoperability, and safety and tool support. This article focuses on how Kotlin’s operator conventions support these principles, particularly emphasizing readability.
    在他在 Kotlinconf2018 的演講中,AndreyBreslav 強(qiáng)調(diào)了開(kāi)發(fā)團(tuán)隊(duì)認(rèn)為 Kotlin 最重要的原則。作為快速回顧,這些原則是可讀性、可重用性、互操作性以及安全性和工具支持。本文重點(diǎn)介紹了 Kotlin 的運(yùn)營(yíng)商公約如何支持這些原則,特別是強(qiáng)調(diào)可讀性。

  8. A Comparison of Swift and Kotlin Languages (raywenderlich.com)
    Swift 和 Kotlin 語(yǔ)言的比較
    Swift and Kotlin can be considered fraternal languages. This article focuses on the main similarities and differences between Swift and Kotlin, including implementation, style, syntax and other important details.
    斯威夫特和科特林可以說(shuō)是兄弟語(yǔ)言。本文重點(diǎn)介紹了 SWIFT 和 Kotlin 的主要異同點(diǎn),包括實(shí)現(xiàn)方式、風(fēng)格、句法等重要細(xì)節(jié)。

  9. Android Injection Performance (github.com)
    Android 注入性能
    This project aims to measure the performance of several Dependency Injection frameworks (or Service Locators) in different devices. Koin, Kodein and Katana among them.
    該項(xiàng)目旨在測(cè)量不同設(shè)備中的幾個(gè)依賴注入框架(或服務(wù)定位器)的性能。他們當(dāng)中有 Koin、Kodein 和 Katana。


文章主要來(lái)源:

  1. Android Weekly - 338
  2. Kotlin Weekly - 122

關(guān)于我:微博,簡(jiǎn)書(shū)掘金,Github


?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,872評(píng)論 0 10
  • 今天已是周三,回顧前兩天工作,我一直在拖延一些我不想去面對(duì)的工作。 上周看了秋葉大叔的手賬術(shù),昨天看了小六的21天...
    燒紅閱讀 178評(píng)論 0 0
  • 春風(fēng)過(guò)云泥 泉涌花旖旎 玄發(fā)垂素衣 舒眉落鳳儀
    林映澈閱讀 219評(píng)論 0 1
  • 天凈沙-心境 轟轟烈烈談情。 海盟山誓錚錚。 雪月風(fēng)花愛(ài)卿。 天長(zhǎng)地鼎。 米柴鹽醋陪誠(chéng)。 (喬吉體 詞林正韻)
    詩(shī)者如斯夫閱讀 207評(píng)論 5 11

友情鏈接更多精彩內(nèi)容