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


©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 194,524评论 5 460
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 81,869评论 2 371
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 141,813评论 0 320
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 52,210评论 1 263
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 61,085评论 4 355
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 46,117评论 1 272
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 36,533评论 3 381
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 35,219评论 0 253
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 39,487评论 1 290
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 34,582评论 2 309
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 36,362评论 1 326
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 32,218评论 3 312
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 37,589评论 3 299
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 28,899评论 0 17
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 30,176评论 1 250
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 41,503评论 2 341
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 40,707评论 2 335

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,258评论 0 10
  • 今天已是周三,回顾前两天工作,我一直在拖延一些我不想去面对的工作。 上周看了秋叶大叔的手账术,昨天看了小六的21天...
    烧红阅读 159评论 0 0
  • 春风过云泥 泉涌花旖旎 玄发垂素衣 舒眉落凤仪
    林映澈阅读 196评论 0 1
  • 天净沙-心境 轰轰烈烈谈情。 海盟山誓铮铮。 雪月风花爱卿。 天长地鼎。 米柴盐醋陪诚。 (乔吉体 词林正韵)
    诗者如斯夫阅读 190评论 5 11