در این ویدیو از سری مصاحبه فنی جاوا اسکریپت به بررسی مفهوم Prototype Inheritance در زبان برنامه نویسی جاوا اسکریپت پرداختیم. در برنامهنویسی شیءگرا، دو روش اصلی برای وراثت وجود دارد: وراثت نمونهای و وراثت کلاسیک. وراثت کلاسیک بر مبنای کلاسها است که در زبانهای برنامهنویسی شیءگرا مانند Java، C++، و Python مورد استفاده قرار میگیرد. در این مدل، یک کلاس والد تعریف میشود و کلاسهای فرزند از این کلاس والد وراثت میگیرند. کلاسها نوعی الگو یا قالب هستند که اشیاء از روی آنها ساخته میشوند. وراثت نمونهای در زبانهای برنامهنویسی مانند JavaScript استفاده میشود. در این مدل، اشیاء میتوانند مستقیماً از اشیاء دیگر وراثت بگیرند، بدون نیاز به تعریف کلاسها. هر شیء یک نمونه دارد که به عنوان مرجعی برای وراثت عمل میکند.
در این ویدیو از سری مصاحبه فنی جاوا اسکریپت به بررسی مفهوم Prototype Inheritance در زبان برنامه نویسی جاوا اسکریپت پرداختیم. در برنامهنویسی شیءگرا، دو روش اصلی برای وراثت وجود دارد: وراثت نمونهای و وراثت کلاسیک. وراثت کلاسیک بر مبنای کلاسها است که در زبانهای برنامهنویسی شیءگرا مانند Java، C++، و Python مورد استفاده قرار میگیرد. در این مدل، یک کلاس والد تعریف میشود و کلاسهای فرزند از این کلاس والد وراثت میگیرند. کلاسها نوعی الگو یا قالب هستند که اشیاء از روی آنها ساخته میشوند. وراثت نمونهای در زبانهای برنامهنویسی مانند JavaScript استفاده میشود. در این مدل، اشیاء میتوانند مستقیماً از اشیاء دیگر وراثت بگیرند، بدون نیاز به تعریف کلاسها. هر شیء یک نمونه دارد که به عنوان مرجعی برای وراثت عمل میکند.
Telegram’s stand out feature is its encryption scheme that keeps messages and media secure in transit. The scheme is known as MTProto and is based on 256-bit AES encryption, RSA encryption, and Diffie-Hellman key exchange. The result of this complicated and technical-sounding jargon? A messaging service that claims to keep your data safe.Why do we say claims? When dealing with security, you always want to leave room for scrutiny, and a few cryptography experts have criticized the system. Overall, any level of encryption is better than none, but a level of discretion should always be observed with any online connected system, even Telegram.
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%.