Kotlin Weekly 中文周报——122

Kotlin Weekly 中文周报


  1. The advent of Kotlin 2018, week 1 (blog.kotlin-academy.com)
    Kotlin 2018 年的到来,第 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 编程的挑战。每周一开始,我们将发布一个挑战,为您解决在 Kotlin。它们可以用许多不同的方式解决,并使用不同的 Kotlin 功能。

  2. Gradle 5.0 released with Kotlin DSL (docs.gradle.org)
    Kotlin DSL 发布的 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 已经发布,在这个版本中,Kotlin DSL 用于构建脚本现在已经准备就绪!

  3. Kotlin for Python developers (github.io)
    Kotlin for Python 开发人员
    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 是一种编译的、静态类型的语言,它可能为那些被解释的、动态类型的 Python 提供了一些最初的障碍。Khan 学院的人们慷慨地释放了他们的内部资源,以帮助那里的 Python 开发者。

  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.
    你听说过一些特棒 Kotlin 库吗?如果浏览器不方便你,现在你可以安装这个插件和浏览内容在你喜欢的 IDE。

  5. Concurrent Coroutines - Concurrency is not parallelism (kotlinexpertise.com)
    并发 coroutines - 并发不是并行
    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 被描述为一个工具『异步编程和更多』。这到底是什么意思?『异步』与『并发』和『并行』的关系如何?从 Simon Wirtz 的这篇文章中了解更多关于这些术语的信息。

  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 是一个简单的方式来修改所有测试的行为在一个类中,他们可以升级我们的 Kotlin 游戏。从 Nicola Corti 的这篇文章中学习一些实际的例子。

  7. Increasing readability using operator conventions in Kotlin (proandroiddev.com)
    在 Kotlin 中使用运算符增加可读性
    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 强调了开发团队认为 Kotlin 最重要的原则。作为快速回顾,这些原则是可读性、可重用性、互操作性以及安全性和工具支持。本文重点介绍了 Kotlin 的运营商公约如何支持这些原则,特别是强调可读性。

  8. A Comparison of Swift and Kotlin Languages (raywenderlich.com)
    Swift 和 Kotlin 语言的比较
    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.
    斯威夫特和科特林可以说是兄弟语言。本文重点介绍了 SWIFT 和 Kotlin 的主要异同点,包括实现方式、风格、句法等重要细节。

  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.
    该项目旨在测量不同设备中的几个依赖注入框架(或服务定位器)的性能。他们当中有 Koin、Kodein 和 Katana。


文章主要来源:

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

关于我:微博,,掘金,Github。


你可能感兴趣的:(Kotlin Weekly 中文周报——122)