در این ویدیو از سری مصاحبه فنی جاوا اسکریپت به بررسی مفهوم Prototype Inheritance در زبان برنامه نویسی جاوا اسکریپت پرداختیم. در برنامهنویسی شیءگرا، دو روش اصلی برای وراثت وجود دارد: وراثت نمونهای و وراثت کلاسیک. وراثت کلاسیک بر مبنای کلاسها است که در زبانهای برنامهنویسی شیءگرا مانند Java، C++، و Python مورد استفاده قرار میگیرد. در این مدل، یک کلاس والد تعریف میشود و کلاسهای فرزند از این کلاس والد وراثت میگیرند. کلاسها نوعی الگو یا قالب هستند که اشیاء از روی آنها ساخته میشوند. وراثت نمونهای در زبانهای برنامهنویسی مانند JavaScript استفاده میشود. در این مدل، اشیاء میتوانند مستقیماً از اشیاء دیگر وراثت بگیرند، بدون نیاز به تعریف کلاسها. هر شیء یک نمونه دارد که به عنوان مرجعی برای وراثت عمل میکند.
در این ویدیو از سری مصاحبه فنی جاوا اسکریپت به بررسی مفهوم Prototype Inheritance در زبان برنامه نویسی جاوا اسکریپت پرداختیم. در برنامهنویسی شیءگرا، دو روش اصلی برای وراثت وجود دارد: وراثت نمونهای و وراثت کلاسیک. وراثت کلاسیک بر مبنای کلاسها است که در زبانهای برنامهنویسی شیءگرا مانند Java، C++، و Python مورد استفاده قرار میگیرد. در این مدل، یک کلاس والد تعریف میشود و کلاسهای فرزند از این کلاس والد وراثت میگیرند. کلاسها نوعی الگو یا قالب هستند که اشیاء از روی آنها ساخته میشوند. وراثت نمونهای در زبانهای برنامهنویسی مانند JavaScript استفاده میشود. در این مدل، اشیاء میتوانند مستقیماً از اشیاء دیگر وراثت بگیرند، بدون نیاز به تعریف کلاسها. هر شیء یک نمونه دارد که به عنوان مرجعی برای وراثت عمل میکند.
Bitcoin is built on a distributed digital record called a blockchain. As the name implies, blockchain is a linked body of data, made up of units called blocks that contain information about each and every transaction, including date and time, total value, buyer and seller, and a unique identifying code for each exchange. Entries are strung together in chronological order, creating a digital chain of blocks. “Once a block is added to the blockchain, it becomes accessible to anyone who wishes to view it, acting as a public ledger of cryptocurrency transactions,” says Stacey Harris, consultant for Pelicoin, a network of cryptocurrency ATMs. Blockchain is decentralized, which means it’s not controlled by any one organization. “It’s like a Google Doc that anyone can work on,” says Buchi Okoro, CEO and co-founder of African cryptocurrency exchange Quidax. “Nobody owns it, but anyone who has a link can contribute to it. And as different people update it, your copy also gets updated.”
Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.