🔥 "เรื่องอื่นอาจจะประนีประนอมได้ .. แต่เขียนโค้ดสไตล์มั่วซั่ว ประนีประนอมไม่ได้เด็ดขาดดด !"
.
หลายคนน่าจะเคยเจอปัญหากันมาบ้างไม่ว่าจะเป็น
.
🤣 "เมื่อวันก่อนตรูเขียนอะไรลงไปเนี่ยยย !?" จนไปถึง "งงจัด เมื่อเพื่อนร่วมทีมส่งงานมาให้ช่วยดู"
.
ปัญหานี้จะหมดไปถ้าเรารู้ และ เข้าใจสิ่งที่เรียกว่า Coding Style ซึ่งจริง ๆ แล้วในหลาย ๆ ภาษาก็มีให้เราได้อ่านอยู่
.
✅ โดยเจ้าสิ่งนี้จะเป็น "คำแนะนำ" ในการเขียนโค้ดที่ดีของแต่ละภาษา หรือ แต่ละองค์กร ที่ได้มีเกณฑ์ต่าง ๆ กำหนดไว้แล้วนั่นเอง
.
ไม่ว่าจะเป็นเรื่องทั่วไปอย่าง
.
▶️ ควรตั้งชื่อตัวแปรแบบไหน ? ชื่อฟังก์ชันควรเป็นอะไรดี ?
.
▶️ การ Import ของจากข้างนอกมาใช้ อะไรควรทำก่อน หลัง หรือ ไม่ควร ?
.
▶️ จนไปถึง การออกแบบเงื่อนไขการทำงานควรออกแบบอย่างไร ?
.
ซึ่งแน่นอนว่าคำแนะนำที่ดีเหล่านี้จะช่วยให้โปรเจคของเราผ่านไปได้โดยราบลื่นนั่นเอง หากนำมาใช้ในทีมด้วยก็ยิ่งทำให้พวกเราเข้าใจตรงกันได้มากขึ้น
.
"มันเลยเปรียบเสมือนข้อตกลงในการทำงานร่วมกันนั่นเอง <3"
.
แต่จะต้องบอกก่อนนะว่า ไม่ใช่ทุกงานที่เหมาะกับ Coding Style นั้น ๆ หรือ ไม่ใช่ทุกปัญหาจะมีใน Coding Style บอกว่าแก้ไขยังไง หลายครั้งเราอาจจะต้องเพิ่มเติมเอาเอง
.
⚠️ "แต่สิ่งที่เพิ่มเติมจะต้องคุยกันในทีมให้เคลียร์ก่อนเสมอนะ !"
.
ดังนั้นวันนี้เรามาดู Coding Style Guide ของแต่ละภาษาไปพร้อมกันเลยดีกว่า !! (บางภาษาอาจมีตัวน่าสนใจมากกว่า 1 ตัว แอดก็รวมไว้ให้แล้วจ้า)
.
👉 ภาษา Java
.
http://www.oracle.com/technetwork/java/codeconventions-150003.pdf
https://google.github.io/styleguide/javaguide.html
.
👉 ภาษา C
.
http://www.maultech.com/chrislott/resources/cstyle/indhill-annot.pdf
http://www.maultech.com/chrislott/resources/cstyle/Peter_CStyleGuide.pdf
.
👉 ภาษา C++
.
http://www.maultech.com/chrislott/resources/cstyle/Wildfire-C++Style.html
http://www.maultech.com/chrislott/resources/cstyle/CppCodingStandard.html
.
👉 ภาษา Python
.
https://www.python.org/dev/peps/pep-0008/
.
👉 ภาษา C#
https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/index
.
👉 ภาษา JavaScript
.
https://github.com/airbnb/javascript
http://google.github.io/styleguide/javascriptguide.xml
https://www.w3schools.com/js/js_conventions.asp
.
👉 ภาษา Dart
https://dart.dev/guides/language/effective-dart/style
.
👉 ภาษา PHP
http://www.php-fig.org/psr/psr-1/
http://pear.php.net/manual/en/standards.php
.
👉 ภาษา Objective-C
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CodingGuidelines/CodingGuidelines.html
.
👉 ภาษา Kotlin
https://kotlinlang.org/docs/reference/coding-conventions.html
.
👉 ภาษา Swift
https://github.com/raywenderlich/swift-style-guide
.
👉 ภาษา Visual Basic.NET
https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/index
.
👉 ภาษา Ruby
https://github.com/bbatsov/ruby-style-guide
https://github.com/airbnb/ruby
.
👉 ภาษา R
http://web.stanford.edu/class/cs109l/unrestricted/resources/google-style.html
.
👉 ภาษา Go
https://golang.org/doc/effective_go.html
.
"เรียบร้อย ครบจบทุก Guideline ใครที่อยากทำงานกับทีมง่าย ๆ แนะนำให้ลองใช้กันดูได้เลยจ้า" <3 <3 <3
.
#borntoDev - 🦖 สร้างการเรียนรู้ที่ดีสำหรับสายไอทีในทุกวัน
「dart library」的推薦目錄:
- 關於dart library 在 BorntoDev Facebook 的最佳貼文
- 關於dart library 在 軟體開發學習資訊分享 Facebook 的最佳貼文
- 關於dart library 在 Eat with Pal Li - พี่แป๋วพากินเที่ยวสิงคโปร์ฮ่องกง Facebook 的精選貼文
- 關於dart library 在 Flutter Error: Dart library 'dart:ui' is not available on this platform 的評價
- 關於dart library 在 A curated list of awesome Dart frameworks, libraries ... - GitHub 的評價
- 關於dart library 在 Darts - Time Series Made Easy in Python - GitHub Pages 的評價
- 關於dart library 在 18 - Dart Libraries & Private Fields - import, export, part, part of 的評價
- 關於dart library 在 John Dart Library - Charleston, SC - Facebook 的評價
dart library 在 軟體開發學習資訊分享 Facebook 的最佳貼文
課程由 udemy 熱門課程講師 Stephen Grider http://bit.ly/2wKp73k 主講
Flutter 是行動開發領域的新興技術。 在 Google 的大力支持下,它已經被視為取代原生的 Swift 和 Android 開發的理想平台。 由於它驚人的標準程式庫( library )的小工具,快速編譯的時間和令人讚嘆的文件,開發人員愛上了 Flutter !
https://softnshare.com/dart-and-flutter-the-complete-devel…/
dart library 在 Eat with Pal Li - พี่แป๋วพากินเที่ยวสิงคโปร์ฮ่องกง Facebook 的精選貼文
#เปิดโผ ... ร้านทั้งหมดใน Michelin Guide Bangkok ฉบับปฐมฤกษ์
... คืนนี้ พี่แป๋วขอปิดโพสต์สุดท้ายเรื่องมิชลินกรุงเทพ ด้วยรายชื่อทั้งหมด 126 ร้านที่ได้คัดเลือกลงในไกด์ โดยทางมิชลินก็ประกาศรายชื่อทั้งหมดลงเว็บแล้วเช่นกัน
... **แนะนำให้เข้าไปเช็ครายละเอียดเพิ่มเติม เช่น ประวัติร้าน เมนูแนะนำ ราคา แผนที่ ฯลฯ ได้ที่เว็บไซต์ >> https://guide.michelin.com/th/bangkok/restaurants หรือใครจะรอเก็บเป็นไกด์บุคเหมือนของพี่แป๋วก็สะดวกดีค่ะ คาดว่าน่าจะวางแผงตามร้านหนังสือต่อไปค่ะ
...Continue Reading#Open the dart... All shops in Michelin Guide Bangkok
... Tonight, brother Pam would like to close the last post about Michelin Krueng Thep with a list of 126 shops selected in the guide. Michelin has announced all the list.
... ** I recommend you to check out more details such as shop history, recommended menu, price, map, etc. >> https://guide.michelin.com/th/bangkok/restaurants or anyone who wants to collect as a guide like Pam. It's convenient. I guess it should be released at the bookstore. Next up.
=======================
Starred shop (number)
- 3 star shop (0)
- 2 star shop (3)
(1) Gaggan
(2) Normandy
(3) Crescent
- 1 star shop (14)
(1) BO. LAN LASS
(2) Chim by Siam Wisdom
(3) Elements
(4) Ginza Sushi Ichi
(5) J’iame by Jean Michael Lorain
(6) Joel Robuchon's Workshop
(7) Took
(8) Easter
(9) Sandalwood charm
(10) Savelberg
(11) Sra Bua by Kin Kin
(12) Suhring
(13) Upstairs at Mikkeller
(14) Sister Mole (Street Food)
====================
Bib Gourmand (35)
(or delicious restaurant, affordable price)
Divided into :-
- Not Street Food Group (17)
(1) Arun Ekamai 15
(2) House, Street, Radio.
(3) Ban Pad Thai Charoen Krung 44
(4) Ban Somtam, Pramwan Road.
(5) House in Setsasiri Road
(6) Urr Maharaj Road
(7) Sister O Pathumwan
(8) Roasted vegetables, fresh, friendly.
(9) cuddle, cuddle, cuddle, Sam Sen.
(10) Laos Phahonyothin 7
(11) Prayaya Sukhumvit 8
(12) Mallory House Sukhumvit 22
(13) Sri Road Radio
(14) Saen yot soi jruss wiang
(15) Soul Food Metropolitan Thonglor
(16) Lady Pramwang Road
(17) The Local Sukhumvit 23
- Street Food Group (18)
(18) Roasted chicken noodle, pom
(19) Ban Yai Pad Thai, Din Daeng
(20) how many are you?
(21) Charoen Saeng Silom
(22) Elvis Suki.
(23) ko chicken rice basin pratunam
(24) Guay, Mr. Joe.
(25) Guay, cuddle, Boan Phochana.
(26) Roasted chicken, Suan Mali, Central Hospital intersection.
(27) thriving pork noodles
(28) Sweet brother. Boiled rice. Sathorn fish.
(29) Princess Porridge
(30) Taste Yaowarat
(31) Mr. Mong fried hoi
(32) Sister Ki Polo
(33) Thip in the ghost door.
(34) Set Sui Heng Rama 4
(35) Evening Tafoconvent
========================
Street Food (28)
- Not starred and Bib Gourmand (9)
(1) Sister Jia Yen Tafo
(2) Kimpo fish porridge
(3) Golden line meatballs
(4) Guay, cuddle, Mr. Aksampanthawong.
(5) fat, cold, tafo, swing pole.
(6) Pakko eat yaowarat
(7) Roasted chicken, Suan Luang market.
(8) Papaya salad, sister daeng, Chula 42
(9) Wattana Panich Ekamai
=========================
Plate level shop (65)
(Or use meticulously cooked ingredients)
Samples of 30 shops :-
(1) Eye cuddle River Hotel
(2) Arroz Sukhumvit 53
(3) Chef Man Sathorn
(4) Cocotte Sukhumvit 39
(5) Eat Me
(6) Erawan Tea Room
(7) Freebird Sukhumvit 47
(8) GAA behind the garden
(9) Hen Lamphun, vegetable garden.
(10) Issaya Siamese Club
(11) Broken Sukhumvit 20
(12) Karatama Robatayaki Sukhumvit 49
(13) Green egg ladprao 33
(14) Le Du Silom
(15) Golden chicks. Emquartier.
(16) Namsaah Bottling Trust Silom
(17) Quince Sukhumvit 45
(18) complete phochana surong
(19) Papaya salad. Sala Daeng.
(20) Sorn Thong Phochana Rama 4
(21) Soufflé and me Narathiwat Road
(22) Sri Trat Sukhumvit 33
(23) Theo Mio Intercon Hotel
(24) Sushi Masato Sukhumvit 31
(25) Tonkin Annam Maharaj Road
(26) Water Library Chamchuri Square
(27) Zuma
(28) Philippe Sukhumvit 39
(29) Nara Erawan cuddle at
(30) Lee Kitchen, new cut off road.
... Finally, brother Pam would like to thank Michelin for inviting me to attend. Even if Pam is just a small media in Hong Kong and thank you for creating this project. Of Thailand and other partners to benefit our country's tourism and food industry.
#ฮ่องกง #hk #hongkong #eatlike852 #MichelinGuideBangkok2018Translated
dart library 在 A curated list of awesome Dart frameworks, libraries ... - GitHub 的推薦與評價
A curated list of awesome Dart frameworks, libraries, and software - GitHub - yissachar/awesome-dart: A curated list of awesome Dart frameworks, libraries, ... ... <看更多>
dart library 在 Darts - Time Series Made Easy in Python - GitHub Pages 的推薦與評價
Darts is a Python library for user-friendly forecasting and anomaly detection on time series. It contains a variety of models, from classics such as ARIMA ... ... <看更多>
dart library 在 Flutter Error: Dart library 'dart:ui' is not available on this platform 的推薦與評價
... <看更多>