├── .gitignore ├── LICENSE ├── README.md └── docs ├── CNAME ├── _config.yml ├── assets └── css │ └── style.scss ├── code-of-conduct.md ├── en ├── code-of-conduct.md ├── faq.md └── index.md ├── faq.md └── index.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Intellij Idea 2 | .idea 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Kotlin Telegram 2 | 3 | Repository with information about Kotlin chats on Telegram. 4 | 5 | Репозиторий с информацией по котлин телеграм-чатам. 6 | -------------------------------------------------------------------------------- /docs/CNAME: -------------------------------------------------------------------------------- 1 | kug.community -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-minimal -------------------------------------------------------------------------------- /docs/assets/css/style.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | @import "{{ site.theme }}"; 5 | 6 | .wrapper { 7 | font-size: 16px; 8 | 9 | header { 10 | display: none; 11 | width: auto; 12 | float: none; 13 | position: static; 14 | margin-bottom: 40px; 15 | } 16 | 17 | section { 18 | width: auto; 19 | float: none; 20 | } 21 | 22 | footer { 23 | width: 300px; 24 | text-align: center; 25 | float: none; 26 | position: static; 27 | bottom: auto; 28 | margin: 0 auto; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /docs/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Нормы поведения 2 | 3 | [In English](https://kug.community/en/code-of-conduct) 4 | 5 | ## Нормы поведения помогают создавать сообщество, в основе которого лежит доброта, сотрудничество и взаимное уважение. 6 | 7 | > За основу взяты нормы поведения с сайта [StackOverflow](https://ru.stackoverflow.com/conduct). 8 | 9 | Хотите ли вы получить ответ на свой вопрос или пришли поделиться знаниями с коллегами, пожалуйста, присоединяйтесь к созданию сообщества, где комфортно всем и любой желающий может принять участие вне зависимости от уровня знаний и личностных качеств. 10 | 11 | Мы обязуемся обеспечивать соблюдение норм поведения и постоянно улучшать их. Действие норм распространяется на всех участников каждого из чатов сообщества, включая модераторов. 12 | 13 | ## Ожидаемое поведение 14 | 15 | **Если вы пришли в чат за помощью, убедитесь, что вы сделали все возможное, чтобы другие смогли вам помочь.** [Следуйте руководству о том, как задавать вопросы](https://ru.stackoverflow.com/help/how-to-ask) и помните, что наше сообщество существует благодаря добродетели волонтеров. 16 | 17 | **Если вы пришли в чат помогать другим, будьте терпеливы и доброжелательны.** Научиться задавать вопросы правильно, общаться в большом сообществе — задача не из легких. Протяните руку помощи, если вы заметили участника, который испытывает трудности или нуждается в какой-либо иной поддержке. 18 | 19 | **Если вы хотите оставить отзыв участнику, будьте предельно ясны и конструктивны. Увидев отзыв к вашему сообщению, примите его открыто.** Правки, комментарии и предложения — важнейшие части нашей культуры. 20 | 21 | **Будьте дружелюбными и доброжелательными.** Избегайте сарказма и будьте осторожны с шутками — письменная речь плохо передаёт тон высказываний. Если складывается ситуация, в которой вы не можете более оставаться дружелюбным, прекратите разговор вовсе. 22 | 23 | ## Неприемлемое поведение 24 | 25 | **Никаких резких замечаний или враждебно настроенных фраз.** Какими бы ни были ваши намерения, подобное поведение может негативно отразиться на ваших коллегах. 26 | 27 | | Не дружелюбно | Дружелюбно | 28 | | ------------- | ---------- | 29 | | ❌ «Это гуглится за пять секунд».| ✔️ «Это называется лоренцева инвариантность и ковариантность. Поищите в интернете статьи на эту тему — они помогут намного больше, нежели можем мы здесь, в комментариях». | 30 | | ❌ «Если вы не утрудили себя прочитать мой вопрос, это не значит, что он дубликат». | ✔️ «Не думаю, что это дубликат. Мой вопрос о цементных плитах, тогда как предложенный вами вопрос — о гипсокартоне». | 31 | | ❌ «Вы вообще понимаете по-русски? Если нет, то ничем не могу помочь». | ✔️ «Правильно ли я понимаю, что вы хотите узнать, как добавить swap-раздел после установки ОС?» | 32 | | ❌ «Я задал вопрос не для того, чтобы его редактировали». | ✔️ «Благодарю за желание помочь, но ваша правка не согласуется с тем, что я имел в виду. Я её отменил и добавил в вопрос уточняющую информацию». | 33 | 34 | **Никаких переходов на личности или личных выпадов.** Сосредоточьтесь на содержимом, а не на личности. Не используйте слова, связанные с человеческими качествами (например, «ленивый»), даже если ими можно описать содержание сообщения. 35 | 36 | **Никакой травли.** Мы не приемлем высказывания, которые могут обидеть человека или сделать его чужим на основании его расы, пола, сексуальной ориентации или религии — и это лишь несколько примеров. Если у вас появились любые сомнения о допустимости высказывания, не пишите его. 37 | 38 | **Никакого преследования.** В том числе, но не ограничиваясь: травля, шантаж, нецензурная лексика, прямые и завуалированные угрозы, высказывания сексуального характера, неприличное и бестактное поведение, а также постоянное неконструктивное встревание в дискуссии. 39 | 40 | ## Если вы видите, что что-то идёт не так 41 | 42 | Каждый участник вносит вклад в создание дружелюбной атмосферы и взаимного уважения в сообществе. Если вы столкнулись с неприемлемым поведением, направленным на вас или другого человека, вы можете [связаться с нами](https://t.me/kotlin_meta). Мы постараемся ответить максимально быстро. 43 | 44 | ## Соблюдение норм 45 | 46 | Мы серьёзно относимся к вашим сообщениям о нарушениях. Команда модераторов сделает всё необходимое, чтобы те, кто не соблюдает нормы поведения ***добросовестно***, испытали на себе соответствующие последствия своих действий. Модераторы обычно поступают следующим образом: 47 | 48 | 1. **Делают предупреждение**. Как правило, если это первое нарушение, модераторы удалят оскорбительное содержимое и отправят его автору предупреждение. Чаще всего проблемы решаются на этом этапе. 49 | 50 | 2. **Временно ограничивают возможность посылать сообщения в чаты.** При повторных нарушениях или в случае преследования, травли или унижений модераторы ограничивают возможность посылать сообщения в чаты на некоторое время (один день или больше — в зависимости от серьёзности ситуации). 51 | 52 | 3. **Ограничивают возможность посылать сообщения навсегда** В очень редких случаях модераторы изгоняют с чатов тех участников, чьё поведение намерено направлено на разрушение нашего сообщества. 53 | 54 | Модераторы принимают решение для каждого случая в индивидуальном порядке, с учётом всех сопутствующих обстоятельств. Если у вас есть сомнения в том, правильное ли решение принял модератор в конкретной ситуации, [свяжитесь с нами](https://t.me/kotlin_meta) напрямую. 55 | 56 | Мы создали настоящие нормы поведения, чтобы подчеркнуть то уважительное отношение, которое участники ожидают друг от друга. Имея нормы поведения, мы всегда можем подкорректировать нашу культуру, если она вдруг отклонится от намеченного курса. 57 | 58 | Мы рады вашим отзывам о нормах поведения, как и о других аспектах работы сообщества. Благодарим вас за ваш вклад в создание дружелюбного сообщества взаимной помощи, где участники относятся друг к другу с уважением. 59 | 60 | [Данная страница на GitHub](https://github.com/Heapy/kotlin-telegram/blob/master/docs/code-of-conduct.md) 61 | 62 | Чаты поддерживаются сообществом разработчиков на Kotlin. 63 | -------------------------------------------------------------------------------- /docs/en/code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct 2 | 3 | [In Russian](https://kug.community/code-of-conduct) 4 | 5 | ## This Code of Conduct helps us build a community that is rooted in kindness, collaboration, and mutual respect. 6 | 7 | > This document is based on [StackOverflow Code of Conduct](https://stackoverflow.com/conduct). 8 | 9 | Whether you’ve come to ask questions or to generously share what you know, join us in building a community where all people feel welcome and can participate, regardless of expertise or identity. 10 | 11 | We commit to enforcing and improving the Code of Conduct. It applies to everyone participating in each of chats of the community including moderators. 12 | 13 | ## Our Expectations 14 | 15 | **If you’re here to get help, make it as easy as possible for others to help you.** [Follow guidelines on asking questions](https://stackoverflow.com/help/how-to-ask) and remember that our community is made possible by volunteers. 16 | 17 | **If you’re here to help others, be patient and welcoming.** Learning how to participate in our community can be hard. Offer support if you see someone struggles or otherwise in need of help. 18 | 19 | **Be clear and constructive when giving feedback, and be open when receiving it.** Edits, comments, and suggestions are healthy parts of our community. 20 | 21 | **Be kind and friendly.** Avoid sarcasm and be careful with jokes — tone is hard to decipher online. If a situation makes it hard to be friendly, stop participating and move on. 22 | 23 | ## Unacceptable Behavior 24 | 25 | **No subtle put-downs or unfriendly language.** Even if you don’t intend it, this can have a negative impact on others. 26 | 27 | | Unfriendly | Friendly | 28 | | ---------- | -------- | 29 | | ❌ “You could Google this in 5 seconds.”.| ✔️ “This is called Invariance and Covariance. If you Google it, you’ll find tutorials that can explain it much better than we can in an answer here.”. | 30 | | ❌ “If you bothered to read my question, you’d know it’s not a duplicate.”.| ✔️ “I don’t think this is a duplicate. My question is about cement board, while the question you linked is about drywall.”. | 31 | | ❌ “Are you speaking English? If so, I can’t tell.”.| ✔️ “I’m having trouble understanding your question. I think you’re asking how to add a swap after system installation. Is that correct?”. | 32 | | ❌ “I came to get help, not to get my question edited.”.| ✔️ “Thanks for trying to help, but your edit isn’t what I meant. I’ve removed your edit, and have updated my question so it’s clearer.”. | 33 | 34 | **No name-calling or personal attacks.** Focus on the content, not the person. This includes terms that feel personal even when they're applied to content (e.g. “lazy”). 35 | 36 | **No bigotry.** We don’t tolerate any language likely to offend or alienate people based on race, gender, sexual orientation, or religion — and those are just a few examples. When in doubt, just don’t. 37 | 38 | **No harassment.** This includes, but isn’t limited to: bullying, intimidation, vulgar language, direct or indirect threats, sexually suggestive remarks, patterns of inappropriate social contact, and sustained disruptions of discussion. 39 | 40 | ## Reporting 41 | 42 | Every person contributes to building a kind, respectful community. If you find unacceptable behavior directed at yourself or others, you can [contact us](https://t.me/kotlin_meta). We’ll respond as quickly as we can. 43 | 44 | ## Enforcement 45 | 46 | We take your reports seriously. Those who don’t follow the Code of Conduct ***in good faith*** may face repercussions deemed appropriate by our moderation team. This is how moderators generally handle misconduct: 47 | 48 | 1. **Warning**. For most first-time misconduct, moderators will remove offending content and send a warning. Most issues are resolved here. 49 | 50 | 2. **Temporarily limit ability to post messages**. For repetitive misconduct or behavior containing harassment, bigotry, or abuse, moderators will impose a temporary posting restriction (one day or more, depending on the violation). 51 | 52 | 3. **Restrict posting messages forever**. For very rare cases, moderators will expel people who display a pattern of harmful destructive behavior toward our community. 53 | 54 | All actions will be taken on a case-by-case basis at the discretion of our moderators. If you have concerns about how a moderator has handled a situation, [contact us](https://t.me/kotlin_meta) directly. 55 | 56 | We created this Code of Conduct because it reinforces the respect that we, as a community, expect from one another. Having a code also provides us with clear avenues to correct our culture should it stray off-course. 57 | 58 | We welcome your feedback on this and every other aspect of what we do at Stack Overflow and the Stack Exchange network. Thank you for working with us to build a kind, collaborative, and respectful community. 59 | 60 | [This page at GitHub](https://github.com/Heapy/kotlin-telegram/blob/master/docs/en/code-of-conduct.md) 61 | 62 | Chats are supported by Kotlin developers community. 63 | -------------------------------------------------------------------------------- /docs/en/faq.md: -------------------------------------------------------------------------------- 1 | # Kotlin FAQ 2 | 3 | _FAQ for Telegram chat [@kotlin_start](https://t.me/kotlin_start)._ 4 | 5 | ## 1. I want to learn Kotlin. Where should I start? 6 | 7 | ### 1a. Documentation. 8 | 9 | If you are just starting, you should check official [docs](https://kotlinlang.org/docs/reference/). The reference is well-written and answers most of beginner questions. Often there are editable code samples which you can run from within the webpage. 10 | 11 | Brief language [syntax overview](https://kotlinlang.org/docs/reference/basic-syntax.html) and useful [idioms](https://kotlinlang.org/docs/reference/idioms.html). 12 | 13 | [Java libraries](https://kotlinlang.org/docs/reference/java-interop.html) usage. 14 | 15 | Short [language review](https://developer.android.com/kotlin/learn) by Google. 16 | 17 | ### 1b. Books. 18 | 19 | You can find comprehensive list of books [right at the site](https://kotlinlang.org/docs/books.html). 20 | 21 | **Should I read the book?** Most probably not. Docs should be enough to kick-off. 22 | 23 | **But I really want a book. Which one should I pick?** If you have an experience with Java [Kotlin in Action](https://www.manning.com/books/kotlin-in-action) is one of the best books out there. 24 | 25 | **What if I don't have programming experience?** [Atomic Kotlin](https://www.atomickotlin.com/) should soon become available. Preview of the book is available [as a Stepik course](https://stepik.org/course/15001/promo). Part of the material is free. 26 | 27 | **What about Android?** [Android Development with Kotlin](https://www.packtpub.com/application-development/android-development-kotlin) or [Kotlin for Android Developers](https://leanpub.com/kotlin-for-android-developers). 28 | 29 | ### 1c. MOOC. 30 | 31 | **Kotlin**: 32 | 33 | * For those who just start learning to program: [Atomic Kotlin](https://stepik.org/course/15001/promo) Stepic course mentioned above. 34 | - For those who already know Java: [Kotlin for Java developers](https://www.coursera.org/learn/kotlin-for-java-developers) from Coursera. 35 | - [Kotlin Bootcamp for Programmers](https://www.udacity.com/course/kotlin-bootcamp-for-programmers--ud9011) — Kotlin course by Google. 36 | 37 | **Android**: 38 | 39 | - [Developing Android Apps with Kotlin](https://www.udacity.com/course/developing-android-apps-with-kotlin--ud9012) — free course for starters in Android with Kotlin. 40 | - [Android Kotlin Fundamentals](https://codelabs.developers.google.com/android-kotlin-fundamentals/) — big codelab on Kotlin for Android development. 41 | - [Refactoring to Kotlin](https://codelabs.developers.google.com/codelabs/java-to-kotlin/) — hour-long codelab on refactoring existing app. 42 | - [Using Kotlin Coroutines in your Android App](https://codelabs.developers.google.com/codelabs/kotlin-coroutines/) — hour-long codelab on how to use coroutines in Android app. 43 | 44 | ### 1d. Excercises. 45 | 46 | _(You should also check ["MOOC"](#1c-mooc))_ 47 | 48 | You can install [Kotlin Educational Plugin](https://www.jetbrains.com/help/education/learner-start-guide.html?section=Kotlin%20Koans) and learn the language interactively. 49 | 50 | Short interactive examples with descriptions can also be found at ["Kotlin by Example"](https://play.kotlinlang.org/byExample/overview) page. 51 | 52 | Tasks called **Kotlin Koans** are also available [online](https://play.kotlinlang.org/koans/overview). This is the great way to get your feet wet with Kotlin. 53 | 54 | [play.kotl.in](https://play.kotlinlang.org/), [Scratch files](https://kotlinlang.org/docs/tutorials/quick-run.html#scratches) in IDE and [REPL](https://kotlinlang.org/docs/tutorials/quick-run.html#repl) in terminal are a great tools to experiment with small fragments of code. 55 | 56 | ## 2. Can I learn Kotlin without Java knowledge? Is Kotlin a good first programming language? 57 | 58 | **Yes**. Kotlin is quite a good language to become a first one. Knowledge of JVM/Java is not mandatory from the beginning, but would be useful in future if you continue your path with Kotlin on JVM platform. 59 | 60 | For example, if you are going to create Android apps, be ready to read Java from time to time and use Java libraries on the daily basis. You should invest at least some time to become acquainted with Java and JVM as soon as you learn Kotlin foundation. 61 | 62 | Remember that despite you are going to work with [Kotlin standard library](https://kotlinlang.org/api/latest/jvm/stdlib/index.html), it uses Java classes under the hood on JVM-based platforms (Android, JavaFX, backend). For example, Kotlin collections are backed by specific Java implementations. 63 | 64 | Knowledge and understanding is important overall, but is not mandatory **while you learn**. 65 | 66 | ## 3. Does Kotlin code has specific style guides? 67 | 68 | Yes. Coding conventions are available [at kotlinlang.org](https://kotlinlang.org/docs/reference/coding-conventions.html). There is also Android style guide [at developer.android.com](https://developer.android.com/kotlin/style-guide). 69 | 70 | ## 4. I still have questions 71 | 72 | **Do you know how to solve your problem in Java?** 73 | Use [Java to Kotlin converter in IDEA](https://www.jetbrains.com/help/idea/converting-a-java-file-to-kotlin-file.html) and make the result more idiomatic manually. 74 | 75 | **Do you want to share your code with others?** 76 | Try to trim it down to [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) showing your main issue and post it via [play.kotlinlang.org](https://play.kotlinlang.org/). 77 | 78 | Make sure you've skimmed through the corresponding documentation section. 79 | 80 | Still got questions? Ask: 81 | 82 | - [forum](https://discuss.kotlinlang.org/). 83 | - [Slack-chat](https://kotl.in/slack). 84 | - Telegram-chat [@kotlin_start](https://t.me/kotlin_start). **Note that this is a chat on Kotlin, so questions on algorythms or programming unrelated to the language are off-topic** and can be left without any response. 85 | 86 | **Examples of bad questions for Kotlin chat**: 87 | 88 | - How do I create singleton in Kotlin? _(direct answer can easily be found in docs)_ 89 | - How do I implement binary search? _(the question is too general and is off-topic)_ 90 | - How do I create an Adapter for `RecyclerView` in Kotlin? _(same way as it's done in Java. The chat for Android-specific questions is here: [@android_ru](https://t.me/android_ru))_ 91 | -------------------------------------------------------------------------------- /docs/en/index.md: -------------------------------------------------------------------------------- 1 | # Kotlin in Telegram 2 | 3 | [In Russian](https://kug.community) 4 | 5 | [FAQ](https://kug.community/en/faq) 6 | 7 | ## Chats 8 | 9 | * [@kotlin_lang](https://t.me/kotlin_lang) — Discussion of Kotlin language, IDE, general questions. Kotlin/Native 10 | * [@kotlin_start](https://t.me/kotlin_start) — Chat for novice Kotlin developers 11 | * [@kotlin_meta](https://t.me/kotlin_meta) — Organizational questions, discussion of chat moderation 12 | 13 | ## Channels 14 | 15 | * [@kotlin_jobs](https://t.me/kotlin_jobs) — openings related to Kotlin 16 | * [@TheDailyKotlin](https://t.me/TheDailyKotlin) — Kotlin news and tips 17 | 18 | ## Bots 19 | 20 | * [@tryktbot](https://t.me/tryktbot) — Try Kotlin Bot 21 | * [@tgkotbot](https://t.me/tgkotbot) — Kotlin Bot (Moderation and Statistics) 22 | 23 | ## Our friends 24 | 25 | * [@kotlinmpp](https://t.me/kotlinmpp) — News and articles on Kotlin Multiplatform 26 | * [@kotlinmppchats](https://t.me/kotlinmppchats) — Chat for discussions and questions on Kotlin Multiplatform 27 | 28 | ## How to ask questions 29 | 30 | Some points which would help you to compose the question to maximize the chance of getting an answer: 31 | 32 | 1. You should ask yourself if your question is related to Kotlin. If the only reason to ask here is the fact you are solving your problem in Kotlin, and it would still sound meaningful for Java, there is a high chance that you should write to different chat related to your topic. 33 | 1. You should search for existing answers (there are tons of them at [StackOverflow tag:kotlin](https://stackoverflow.com/questions/tagged/kotlin)). 34 | 1. If you still are going to ask here, please read through [this article on StackOverflow](https://stackoverflow.com/help/how-to-ask). Ten minutes you spent on this should help you to ask good questions. 35 | 1. You didn't find an answer and know how to ask a meaningful question? Ask it at [StackOverflow tag:kotlin](https://stackoverflow.com/questions/tagged/kotlin) and send a linked question to chat. 36 | 37 | ## Rules 38 | 39 | Recommended languages for chatting are Russian and English. Using other languages makes communication and moderation difficult, therefore moderators are entitled to request using these languages. 40 | 41 | Our community has the following [code of conduct](https://kug.community/en/code-of-conduct). 42 | 43 | We welcome: 44 | 45 | * Help to the people who ask questions 46 | * Links and discussions of any news related to Kotlin 47 | 48 | Forbidden: 49 | 50 | * Trolling — inflammatory, digressive, non-constructive discussions 51 | * Counterfeits — unfounded allegations, leading to unproductive discussions. 52 | * Insults 53 | * Pirated content: books, software licenses, etc. 54 | * Flame comparisons of programming languages (Kotlin vs Java/Scala/Groovy/Go/Whatever) 55 | * Off-topic — withdrawal from the topic of chats 56 | * Flood — voluminous messages of little substance 57 | * Cross-posting — asking one question in multiple sibling chats 58 | * Disputing chat moderation (welcome to [@kotlin_meta](https://t.me/kotlin_meta)). 59 | * Using the list of chat members for a spread of anything through private messages: job positions, ads, etc. 60 | 61 | ## Useful resources 62 | 63 | * [kotlinlang.org](http://kotlinlang.org/) — Kotlin's official website 64 | * [kotlin.link](https://kotlin.link/) — curated list of libraries and repositories related to Kotlin 65 | 66 | [This page at GitHub](https://github.com/Heapy/kotlin-telegram/blob/master/docs/en/index.md) 67 | 68 | Chats are supported by Kotlin developers community. 69 | -------------------------------------------------------------------------------- /docs/faq.md: -------------------------------------------------------------------------------- 1 | # Kotlin FAQ 2 | 3 | _FAQ для Telegram-чата [@kotlin_start](https://t.me/kotlin_start)._ 4 | 5 | ## 1. Хочу изучать Kotlin. Где начать? 6 | 7 | ### 1a. Документация. 8 | 9 | Если вы начинающий — обратите внимание на официальную [документацию](https://kotlinlang.org/docs/reference/). Она хорошо написана и позволяет решить абсолютное большинство вопросов, возникающих при изучении языка. Как правило, на каждой странице есть редактируемые примеры кода, которые можно запустить прямо в браузере. 10 | 11 | Краткий обзор [синтаксиса](https://kotlinlang.org/docs/reference/basic-syntax.html) языка и полезных [идиом](https://kotlinlang.org/docs/reference/idioms.html). 12 | 13 | Про использование [Java-библиотек](https://kotlinlang.org/docs/reference/java-interop.html). 14 | 15 | Очень краткий [обзор языка](https://developer.android.com/kotlin/learn) от Google. 16 | 17 | Базового английского (на крайний случай Google Translate) достаточно для понимания документации. Но если русскоязычные материалы предпочтительнее — есть неофициальные [переводы](https://kotlinlang.ru/). 18 | **Имейте в виду, что в отдельных случаях переводы могут быть устаревшими. Сверяйтесь с официальным сайтом языка.** 19 | 20 | ### 1b. Книги. 21 | 22 | Большой список книг по Kotlin есть [на сайте](https://kotlinlang.org/docs/books.html). 23 | 24 | **Нужна ли мне книга?** Скорее всего, нет. В большинстве случаев документации будет хватать. 25 | 26 | **Но я хочу именно книгу — какую выбрать?** Если есть опыт на Java — берите [Kotlin in Action](https://www.manning.com/books/kotlin-in-action). 27 | 28 | **А если у меня нет опыта программирования?** Скоро выйдет [Atomic Kotlin](https://www.atomickotlin.com/). Книга есть в раннем доступе в виде [курса на Stepik](https://stepik.org/course/15001/promo). Часть материалов доступна бесплатно. 29 | 30 | **Для Android'a?** [Android Development with Kotlin](https://www.packtpub.com/application-development/android-development-kotlin) или [Kotlin for Android Developers](https://leanpub.com/kotlin-for-android-developers). 31 | 32 | ### 1c. Курсы. 33 | 34 | **Kotlin**: 35 | 36 | - Для тех, кто только начинает программировать — [Введение в язык Котлин](https://www.coursera.org/learn/vvedenie-v-yazyk-kotlin) на Coursera. 37 | - Для тех, кто знает Java — [Kotlin для Java разработчиков](https://www.coursera.org/learn/kotlin-for-java-developers) на Coursera. 38 | - [Kotlin Bootcamp for Programmers](https://www.udacity.com/course/kotlin-bootcamp-for-programmers--ud9011) — Kotlin курс от Google. 39 | 40 | **Android**: 41 | 42 | - [Developing Android Apps with Kotlin](https://www.udacity.com/course/developing-android-apps-with-kotlin--ud9012) — бесплатный курс для начинающих про разработку Android-приложений с использованием Kotlin. 43 | - [Android Kotlin Fundamentals](https://codelabs.developers.google.com/android-kotlin-fundamentals/) — большой codelab по использованию Kotlin в контексте Android-разработки. 44 | - [Refactoring to Kotlin](https://codelabs.developers.google.com/codelabs/java-to-kotlin/) — часовой codelab про рефакторинг существующего приложения. 45 | - [Using Kotlin Coroutines in your Android App](https://codelabs.developers.google.com/codelabs/kotlin-coroutines/) — часовой codelab о том, где и как использовать корутины в приложении. 46 | - [Хочу стать Android Developer. Что, где и как учить](https://dou.ua/lenta/columns/how-to-become-android-developer/) - это статья для тех, кто хочет стать Android-разработчиком, и в целом для всех, кто желает работать программистом. 47 | 48 | ### 1d. Упражнения. 49 | 50 | _(посмотрите также на раздел ["Курсы"](#1c-курсы))_ 51 | 52 | Установив [Kotlin Educational Plugin](https://www.jetbrains.com/help/education/learner-start-guide.html?section=Kotlin%20Koans), вы сможете ознакомиться с языком в интерактивном режиме. 53 | 54 | Маленькие интерактивные примеры с обьяснениями можно также попробовать на странице ["Kotlin by Example"](https://play.kotlinlang.org/byExample/overview). 55 | 56 | Задачки, называемые **Kotlin Koans**, также доступны [онлайн](https://play.kotlinlang.org/koans/overview). Отличный инструмент для продолжения знакомства с языком. 57 | 58 | Для написания небольших фрагментов кода иногда удобно использовать [play.kotl.in](https://play.kotlinlang.org/), [Scratch files](https://kotlinlang.org/docs/tutorials/quick-run.html#scratches) в IDE или [REPL](https://kotlinlang.org/docs/tutorials/quick-run.html#repl) в консоли. 59 | 60 | ## 2. Можно ли учить Kotlin, не зная Java? Подходит ли Kotlin как первый язык программирования? 61 | 62 | **Да**. Kotlin вполне подходит как первый язык. Знание JVM/Java не обязательно на начальных этапах, но, вероятно, (если вы планируете использовать Kotlin на JVM-платформе) потребуется позже. 63 | 64 | Например, если вы собираетесь писать приложения для Android — готовьтесь читать Java-код время от времени и очень часто использовать Java-библиотеки. Инвестируйте хотя бы немного времени в понимание Java и основ JVM как освоите базу языка Kotlin. 65 | 66 | Примите во внимание, что хотя вы и будете работать со стандартной [библиотекой Kotlin'a](https://kotlinlang.org/api/latest/jvm/stdlib/index.html), на JVM-платформе (Android, JavaFx, backend) под капотом иногда используются Java-классы (например, конкретные реализации Java-коллекций скрыты за Kotlin-интерфейсами). 67 | 68 | Знание и понимание целевой платформы полезно в целом, но не обязательно на **начальных** этапах. 69 | 70 | ## 3. У Kotlin-кода есть какой-то особый стиль? 71 | 72 | Да. Конвенции по оформлению кода есть [на сайте](https://kotlinlang.org/docs/reference/coding-conventions.html). Для Android'a также [тут](https://developer.android.com/kotlin/style-guide). 73 | 74 | ## 4. У меня остались вопросы / что-то непонятно. 75 | 76 | **Знаете, как написать нужный вам код на Java?** 77 | Используйте [конвертацию кода в IDEA](https://www.jetbrains.com/help/idea/converting-a-java-file-to-kotlin-file.html) и доведите до идиоматического Kotlin-кода вручную. 78 | 79 | **Хотите показать код другим?** 80 | Сократите его до [маленького примера](https://ru.stackoverflow.com/help/minimal-reproducible-example), демонстрирующего то, с чем возникли затруднения, и загрузите на [play.kotlinlang.org](https://play.kotlinlang.org/). 81 | 82 | Убедитесь, что вы просмотрели соответсвующий раздел в документации (см. выше). 83 | 84 | Все еще непонятно? Спросить можно: 85 | 86 | - на [форуме](https://discuss.kotlinlang.org/). 87 | - в [Slack-чате](https://kotl.in/slack). 88 | 89 | - в Telegram-чате [@kotlin_start](https://t.me/kotlin_start). **УЧТИТЕ, что чат посвящен языку Kotlin и вопросы по алгоритмам или основам программирования (не языка) не соответствую тематике чата.** Подобное поведения будет рассматриваться как злоупотребление помощью и, скорее всего, вопросы останутся неотвеченными. 90 | 91 | **Пример неуместных вопросов для Kotlin-чата**: 92 | 93 | - Как мне создать singleton в Kotlin? _(прямой ответ есть в документации)_ 94 | - Как мне реализовать бинарный поиск? _(вопрос слишком общий или не соответствует тематике чата)_ 95 | - Как сделать Adapter в RecyclerView на Kotlin? _(так же, как и в Java. Чат для Android-вопросов есть тут: [@android_ru](https://t.me/android_ru))_ 96 | -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- 1 | # Kotlin in Telegram 2 | 3 | [In English](https://kug.community/en) 4 | 5 | [FAQ](https://kug.community/faq) 6 | 7 | ## Чаты 8 | 9 | * [@kotlin_lang](https://t.me/kotlin_lang) — Обсуждение языка Kotlin, IDE, общие вопросы. Kotlin/Native 10 | * [@kotlin_start](https://t.me/kotlin_start) — Чат для новичков в Kotlin 11 | * [@kotlin_meta](https://t.me/kotlin_meta) — Обсуждение работы чатов, вопросы по модерации 12 | 13 | ## Каналы 14 | 15 | * [@kotlin_jobs](https://t.me/kotlin_jobs) — вакансии, связанные с Kotlin 16 | * [@TheDailyKotlin](https://t.me/TheDailyKotlin) — новости и советы по Kotlin 17 | 18 | ## Боты 19 | 20 | * [@tryktbot](https://t.me/tryktbot) — Try Kotlin Bot 21 | * [@tgkotbot](https://t.me/tgkotbot) — Kotlin Bot (Moderation and Statistics) 22 | 23 | ## Наши друзья 24 | 25 | * [@kotlinmpp](https://t.me/kotlinmpp) — Новости и статьи о Kotlin Multiplatform 26 | * [@kotlinmppchats](https://t.me/kotlinmppchats) — Чат для обсуждения и вопросов о Kotlin Multiplatform 27 | 28 | ## Как задавать вопросы 29 | 30 | Несколько моментов, которые помогут вам задать вопрос так, чтобы получить ответ: 31 | 32 | 1. Спросите себя, относится ли ваш вопрос к Kotlin. Если тот факт, что вы решаете задачу на Kotlin, является единственной причиной обратиться в группу, и для Java этот вопрос всё ещё актуален, то есть вероятность, что вам стоит написать в другое тематическое сообщество. 33 | 1. Сначала поищите ответы (их полно на [StackOverflow tag:kotlin](https://stackoverflow.com/questions/tagged/kotlin)). 34 | 1. Если таки хотите задать вопрос, то изучите небольшую [статью](https://ru.stackoverflow.com/help/how-to-ask) на русском StackOverflow. Эти 10 минут помогут вам правильно задавать вопросы. 35 | 1. Вы не нашли готового ответа и поняли, как задать вопрос правильно? Задайте его на [StackOverflow tag:kotlin](https://stackoverflow.com/questions/tagged/kotlin) и пришлите ссылку с вопросом в чат! Плохо с английским? Задайте его на русском [StackOverflow tag:kotlin](https://ru.stackoverflow.com/questions/tagged/kotlin). 36 | 37 | ## Правила 38 | 39 | Рекомендуемые языки для общения в чате — русский и английский. Использование прочих языков затрудняет общение и модерирование дискуссии, поэтому модераторы вправе на русском и на английском запросить перейти на эти языки. 40 | 41 | В сообществе действуют следующие [нормы поведения (code of conduct)](https://kotlinby.github.io/kotlin-telegram/code-of-conduct). 42 | 43 | Приветствуется: 44 | 45 | * Помощь вопрошающим 46 | * Ссылки на новости, связанные с Kotlin; их обсуждение 47 | 48 | Запрещается: 49 | 50 | * Троллинг — ведение разговора в заведомо неконструктивном русле 51 | * Вбросы — необоснованные утверждения, провоцирующие малопродуктивные дискуссии 52 | * Оскорбления 53 | * Распространение пиратского контента: книг, лицензий к софту и т. п. 54 | * Языковые споры (Kotlin vs Java/Scala/Groovy/Go/Whatever) 55 | * Оффтоп — уход от темы общения чатов 56 | * Флуд — объемные и малосодержательные сообщения 57 | * Кросс-постинг — задавание одного вопроса одновременно в нескольких родственных чатах 58 | * Обсуждение вопросов модерации (добро пожаловать в [@kotlin_meta](https://t.me/kotlin_meta)). 59 | * Использовать список пользователей чата для распространения чего бы то ни было через личные сообщения: вакансий, рекламы и т. д. 60 | 61 | ## Полезные ссылки 62 | 63 | * [kotlinlang.ru](http://kotlinlang.ru/) — документация на русском (поддерживается сообществом) 64 | * [kotlin.link](https://kotlin.link/) — сборник ссылок на ресурсы и репозитории 65 | 66 | [Данная страница на GitHub](https://github.com/Heapy/kotlin-telegram/blob/master/docs/index.md) 67 | 68 | Чаты поддерживаются сообществом разработчиков на Kotlin. 69 | --------------------------------------------------------------------------------