في البوست دة هشرح طريقة تسمية كل شيء في لغة Dart طبقاً لتوصيات التيم بتاعهم. وبعض نصائحهم عشان تزوّد ال Readability بتاعة الكود بتاعك.
مبدأياً اعرف إن عندنا تلت طرق للتسمية:
أول طريقة: UpperCamelCase "طريقة الجمل العلوي" .. متسميّة كدة لإنك بتخلّي الحرف اللي في كل أول كلمة كابيتال. دي بتستخدمها مع كل ال Types، يعني كل ال Classes وال Enums وال Types. بستخدمها كمان مع حاجة مشهورة اسمها ال Extentions، زي في الصورة رقم واحد.
الطريقة التانية: lowerCamelCase "طريقة الجمل السفلي" .. ودي زي اللي فاتت بالظبط باستثناء إن أول حرف في أول كلمة بس بيبقى Small مش Capital زي اللي فاتت. أي حاجة عايز تعرّفها غير اللي ذكرناهم فوق دول استخدم الطريقة دي، سواء بقى Variables أو Functions أو Objects.
الطريقة التالتة: lowercase_with_underscores هنا كل الحروف بتكون Small وبنفصل بين كل كلمة والتانية ب _ المعروفة بال Underscore. دي بتستخدم في كل أسماء الملفات والفولدرات في المشروع (في دارت أي ملف اسمه Package وأي فولدر اسمه Library). بتستخدمها كمان مع ال import prefixes بعد كلمة as .. زي في المثال رقم 3.
في البوست دة هشرح طريقة تسمية كل شيء في لغة Dart طبقاً لتوصيات التيم بتاعهم. وبعض نصائحهم عشان تزوّد ال Readability بتاعة الكود بتاعك.
مبدأياً اعرف إن عندنا تلت طرق للتسمية:
أول طريقة: UpperCamelCase "طريقة الجمل العلوي" .. متسميّة كدة لإنك بتخلّي الحرف اللي في كل أول كلمة كابيتال. دي بتستخدمها مع كل ال Types، يعني كل ال Classes وال Enums وال Types. بستخدمها كمان مع حاجة مشهورة اسمها ال Extentions، زي في الصورة رقم واحد.
الطريقة التانية: lowerCamelCase "طريقة الجمل السفلي" .. ودي زي اللي فاتت بالظبط باستثناء إن أول حرف في أول كلمة بس بيبقى Small مش Capital زي اللي فاتت. أي حاجة عايز تعرّفها غير اللي ذكرناهم فوق دول استخدم الطريقة دي، سواء بقى Variables أو Functions أو Objects.
الطريقة التالتة: lowercase_with_underscores هنا كل الحروف بتكون Small وبنفصل بين كل كلمة والتانية ب _ المعروفة بال Underscore. دي بتستخدم في كل أسماء الملفات والفولدرات في المشروع (في دارت أي ملف اسمه Package وأي فولدر اسمه Library). بتستخدمها كمان مع ال import prefixes بعد كلمة as .. زي في المثال رقم 3.
Cryptoassets enthusiasts use this application for their trade activities, and they may make donations for this cause.If somehow Telegram do run out of money to sustain themselves they will probably introduce some features that will not hinder the rudimentary principle of Telegram but provide users with enhanced and enriched experience. This could be similar to features where characters can be customized in a game which directly do not affect the in-game strategies but add to the experience.
Telegram hopes to raise $1bn with a convertible bond private placement
The super secure UAE-based Telegram messenger service, developed by Russian-born software icon Pavel Durov, is looking to raise $1bn through a bond placement to a limited number of investors from Russia, Europe, Asia and the Middle East, the Kommersant daily reported citing unnamed sources on February 18, 2021.The issue reportedly comprises exchange bonds that could be converted into equity in the messaging service that is currently 100% owned by Durov and his brother Nikolai.Kommersant reports that the price of the conversion would be at a 10% discount to a potential IPO should it happen within five years.The minimum bond placement is said to be set at $50mn, but could be lowered to $10mn. Five-year bonds could carry an annual coupon of 7-8%.