Microsofts GitHub CEO Nat Friedman is stepping down, product chief Thomas Dohmke will replace him – CNBC

From left, GitHub CEO Chris Wanstrath, Microsoft CEO Satya Nadella and future GitHub CEO Nat Friedman at GitHub headquarters in San Francisco.

Source: Microsoft

Microsoft said Wednesday that Nat Friedman, CEO of the company's GitHub subsidiary that provides software for storing source code, is stepping down. Thomas Dohmke, GitHub's product chief will replace him.

The announcement comes weeks after one of GitHub's most prominent competitors, GitLab, went public on the Nasdaq. Following the debut, GitLab was worth $16.5 billion, more than two times what Microsoft paid for GitHub in 2018.

"As Chief Product Officer, I'm proud of the work our teams have done to bring new capabilities to GitHub Codespaces, Issues, Copilot, and many of the 20,000 improvements that we shipped last year," Dohmke wrote in a blog post. "Together, we've built a roadmap that will transform the developer experience for open source maintainers and enterprises using GitHub for years to come."

Dohmke takes over for Friedman on Nov. 15.

Friedman is "very excited to go back to my startup roots to support and invest in the builders who are creating the world of tomorrow," he wrote in a tweet. He will be an advisor to both GitHub and Microsoft, Scott Guthrie, executive vice president for Microsoft's cloud and artificial intelligence group, wrote in an email to employees.

Before becoming the top leader of GitHub, Friedman had been co-founder and CEO of Xamarin, a start-up that built cross-platform mobile development tools. Microsoft acquired Xamarin in 2016 and made Friedman a corporate vice president for developer services. Then in 2018, after Microsoft closed the GitHub acquisition, it tapped Friedman to run the subsidiary. His appointment came months after co-founder Chris Wanstrath stepped down as CEO.

Dohmke first registered as a GitHub user in 2009, not long after its founding in 2008. He was co-founder and CEO of app-testing software start-up HockeyApp, which Microsoft acquired in 2014. He moved to GitHub at the time Microsoft closed the GitHub acquisition in 2018.

Dohmke "led the GitHub acquisition process on the Microsoft engineering side from the deal signing to the successful acquisition close," Guthrie wrote in his email. Dohmke later led the acquisitions of Npm, a code-distribution start-up, and Semmle, a start-up whose software helps organizations analyze code to uncover security issues, Guthrie wrote.

Since the acquisition, Friedman has reported to Guthrie. Once Dohmke takes the helm at GitHub, he will report to Julia Liuson, a 29-year Microsoft veteran who is becoming president of Microsoft's developer division.

In the Friedman years, GitHub came out with new features and enhanced existing ones. Perhaps the largest announcement was the introduction in June of GitHub Copilot, a system that draws on code posted online to suggest new code for developers to add to their projects. The feature remains available to a limited number of users, and people often show off its abilities on social media.

Microsoft does not disclose GitHub revenue, but the company does occasionally provide updates on the size of the service's user base. Over 73 million developers were using GitHub today, up from 28 million when Microsoft announced its plan to buy GitHub.

GitHub's challengers have gotten bigger, too. In 2019 Atlassian said its Bitbucket Cloud service had reached 10 million registered users. And GitLab, which said in the prospectus for its initial public offering that its "principal competitor is Microsoft Corporation following their acquisition of GitHub," estimates that it has 30 million registered users. GitLab said revenue grew 69% year over year in the quarter that ended July 31.

WATCH: The rise of open-source software

See more here:

Microsofts GitHub CEO Nat Friedman is stepping down, product chief Thomas Dohmke will replace him - CNBC

We’re still just scratching the surface of the cloud’s potential – TechCrunch

Battery Ventures released its State of the OpenCloud report today, providing a set of data points that clearly outline the accelerated growth of cloud services in recent quarters.

The report helps explain the race to invest capital into startups that weve been observing over the past 18 months.

The pandemic pushed companies to start using cloud services infrastructure, platform or SaaS earlier and quicker than they might have otherwise. That resulted in big investments, eye-popping IPOs and tremendous revenue growth for software companies of all stripes, especially those built atop open source code.

Consider this tidbit from the report: The average infrastructure-software IPO valuation has increased 10 times over the last 10 years, and there are more infrastructure-software companies valued at $10 billion or more than ever before. Whats more, the data implies a healthy pipeline of major cloud IPOs.

Battery believes that the cloud market could eventually be worth $1 trillion. When you consider that the vast majority of work, development and computing will be done in the cloud at some point, the investment groups round-number projection may prove modest.

Thats our takeaway. While the digital transformation is evident and startling, this report makes it clear that despite the nigh-incredible growth numbers we have seen recently, we are still just scratching the surface of the clouds potential.

Amazons AWS public cloud platform is big business. Amazon breaks out its results on a quarterly basis, showing the world exactly how much cloud revenue it generates, as well as the resulting operating profit. Microsoft also breaks out growth for its Azure service, but with other services included in the reporting category, the exact number is harder to nail down.

Batterys report gives us per-platform data. In Q2 2021, the venture capital firm reckons that AWS reached a $59 billion run rate, while Azure hit $37 billion and Google Cloud reached $19 billion and this was before the companies reported Q3 results.

Image Credits: Battery Ventures

Critically, Batterys Q2 figures were up an aggregate 44% compared to a year earlier the growth has accelerated from an early-pandemic low of 36% in Q2 of last year. Indeed, since the second quarter of 2020, public cloud growth has either held steady or risen.

Given the sheer amount of dollars involved in these figures, the acceleration of growth from 36% to 44% is incredibly material: The three cloud platforms closed Q2 2021 on a combined run rate of $115 billion.

Go here to read the rest:

We're still just scratching the surface of the cloud's potential - TechCrunch

These Parents Built a School App. Then the City Called the Cops – WIRED

While the dispute was unfolding, ppna Skolplattformen continued growing in popularityincluding a swell in the number of people involved in its development. Cofounders Landgren and brink say up to 40 people have worked on development of the app. This group of volunteers has found and squashed bugs, developed a search feature, and translated the app into different languages. They also raised potential security issues with the official app, even as the city worked against them. The team includes designers, lawyers, and developers. As private citizens, we are highly digitalized, Landgren says.

As Swedens startup scene has thrivedSpotify, Klarna, and King were all founded thereits public sector technology has struggled to keep up. The most recent OECD report into government digitization, from 2019, ranks Sweden at the bottom of the 33 countries reviewed. When we use these official tools, they are stuck in the 90s, Landgren says. To bridge that gap we, and a lot of other people that joined us, think that open source is probably the best way for us to start collaborating. He argues that citizen development can be more effective than costly and often botched government IT projects that take years to complete and are out of date by the time they are completed.

It shows very clearly some of the ways in which Swedens digitalization has gone wrong, says Mattias Rubenson, the secretary of the Swedish branch of the Pirate Party, which has been chronicling the problems it has with the Skolplattform. There is, in general, the possibility of a school platform being good. But you have to involve students, and especially teachers, in the development from the start. There has been none of that in the School Platform.

ppna Skolplattformen had to wait months to be cleared. We do not believe that anything criminal has been committed, sa Skldberg, the leader of the polices preliminary investigation, told Dagens Nyheter on August 16. Data regulator Integritetsskyddsmyndigheten did not open an investigation into the citys complaint, a spokesperson says.

The police report, shared with WIRED by Landgren, references the Certezza security review, which was commissioned by the city and completed on February 17, 2021. The review concluded that the open source app wasnt sending any sensitive information to third parties and didnt pose a threat to users. The police report went further in clearing the ppna Skolplattformen developers. All information that ppna Skolplattformen has used is public information that the City of Stockholm voluntarily distributed, it said.

Landgren was traveling to his brothers wedding in France at the start of September when he got the phone call. The city was changing its position on ppna Skolplattformenand any other apps seeking to do similar thingsand decided to let others access the data within its systems. To do so, the city struck a deal with an external provider that will be able to set up licenses between ppna Skolplattformen and the city.

With this solution, the City of Stockholm can guarantee that personal data is handled in a correct and secure way, while parents can take part in the markets digital tools in their everyday lives, Isabel Smedberg-Palmqvist, a city councillor in Stockholm, said in a statement issued on September 9. The move was validation of ppna Skolplattformens effortsthe team estimates that hundreds of hours of work have been put into the app. But the call also came as a shock to Landgren. Just days earlier, he claims, ppna Skolplattformen was once again being buffeted by attempts to block its access to official APIs. After the announcement was made, the efforts stopped.

Read the rest here:

These Parents Built a School App. Then the City Called the Cops - WIRED

Wiwynn Successfully Implemented Open System Firmware on Its OCP Yosemite V3 Server – PRNewswire

TAIPEI, Nov. 4, 2021 /PRNewswire/ -- Wiwynn (TWSE: 6669), an innovative cloud IT infrastructure provider for data centers, today announces that its Open Compute Project Yosemite V3 (OCP YV3) based server has completed the implementation of Open System Firmware (OSF) and obtained the OCP Accepted recognition. With the help from OCP partners, including Facebook, Intel and 9elements, Wiwynn has made an important milestone for the open community to complete the first OCP product contribution that includes not only hardware design but also OSF.

OSF is a formal OCP project with the goal to move the control of firmware to the system owner. It allows the system firmware (also known as BIOS) to be modified and shared openly. Starting in March 2021, "OCP Accepted" badge for servers requires that server systems support OSF. The openness of OSF will lower the entry barrier of OCP system adoption and accelerate product development. The synergies with other open source firmware communities, such as LinuxBoot and coreboot, will enroll more talents to join and make the ecosystem more open and complete.

Wiwynn's YV3, the 3rd Gen Intel Xeon Scalable processor (codename: CooperLake) based single socket server, is the first product contribution that meets the new requirement of OCP Accepted recognition. 9elements will support the OSF code base maintenance, including rebasing to the tip of open source components, and making releases periodically.

"We have been devoted to the OCP community with more than 32 contributions and seen OSF become an important piece for modern server designs," said Steven Lu, Wiwynn's Senior Vice President of Product Development. "Thanks to Facebook, Intel and 9elements, we are able to move steps further to make OSF part of Wiwynn's YV3 server and obtained OCP Accepted recognition. We are looking forward to duplicating the successful model to more products to come."

"We are excited to see the ecosystem embrace Intel platforms to build the open system firmware," said Anjaneya "Reddy" Chagam, Intel's Cloud Architect. "It's our pleasure to work with Wiwynn, Facebook and 9elementsto realize a successful OSF practice and accelerate the community development."

"This is a disruptive milestone for the OSF Community," said Christian Walter, 9element's Executive Director of Firmware Development. "We are excited to work together with Wiwynn supporting the OSF code base for the Wiwynn YV3. This is the perfect showcase of what can be accomplished working together on open systems, and we hope this will pave the way for more products to come."

"As one of the very first OCP Solution Providers, Wiwynn has shown its continuous commitment to the open community. The OCP Accepted Wiwynn YV3 is a phenomenal milestone that includes system firmware in the OCP product contribution for the first time. We are thrilled to see the great progress of OSF through the close collaboration of Wiwynn and its partners. We also look forward to more OSF projects to be inspired and thrive," said Rajeev Sharma, OCP's Director of Software and Technologies

For more OCP OSF details, please refer to the recent OCP blog post.

Wiwynn will also showcase Wiwynn's YV3 at the upcoming OCP Global Summit 2021 at booth #C2. There will be two in-depth engineering workshops around OSF and SW management for OCP DeltaLake and Yosemite V3 as well. Please follow Wiwynn's OCP event page and stay tuned.

About Wiwynn

Wiwynn is an innovative cloud IT infrastructure provider of high-quality computing and storage products, plus rack solutions for leading data centers. We aggressively invest in next generation technologies for workload optimization and best TCO (Total Cost of Ownership). As an OCP (Open Compute Project) solution provider and platinum member, Wiwynn actively participates in advanced computing and storage system designs while constantly implementing the benefits of OCP into traditional data centers.

For more information, please visit Wiwynn website or contact [emailprotected]Follow Wiwynn on Facebook and Linkedin for the latest news and market trends.

SOURCE Wiwynn

More here:

Wiwynn Successfully Implemented Open System Firmware on Its OCP Yosemite V3 Server - PRNewswire

QuestDB snares $12M Series A with hosted version coming soon – TechCrunch

QuestDB, makers of the speedy open source time series database, announced a $12 million Series A today from 468 Capital, Uncorrelated Ventures and a list of industry angels, including Alexis Ohanian. The company has now raised a total of $14.3 million, including the $2.3 million seed announced last July.

Since that time, the startup, which was a member of the Y Combinator summer 2020 cohort, has been working hard to build a community around the open source project, while working on the enterprise version and an upcoming hosted version, which should be ready by the end of the year.

Customers can install the enterprise version on their cloud of choice and manage it themselves, but the company has been hearing requests from customers for something easier.

This is something that a lot of companies have been asking us about. Essentially, most companies do not want to deal with the operational complexity of hosting on their own cloud. And they want the database provider to host that on their behalf, co-founder and CEO Nicolas Hourcard told me.

The database is built for speed and is fast enough that companies using Quest can cut back on servers, which they often will use to make up for lost speed on the database side. As Hourcard told TechCrunch at the time of the seed funding:

Were building an open source database for time series data, and time series databases are a multi-billion-dollar market because theyre central for financial services, IoT and other enterprise applications. And we basically make it easy to handle explosive amounts of data, and to reduce infrastructure costs massively.

On the open source front, Quest has built a Slack community with more than 900 developers, and over 70 code contributors have helped out on the project. In addition, the founders started a group made up of Y Combinator alums who have built businesses on open source and have 100 members in that group. The group meets regularly to discuss issues related to their chosen business model and hear from successful open source company founders.

On the commercial side, they wouldnt share the number of customers, but indicated that the enterprise product has features like more flexibility around the deployment and making it easier to operate quickly at scale.

So far the company has 15 employees, with plans to double that number in the next six months if things continue to go according to plan. Hourcard believes that as an open source and fully remote company, it should help to build a more diverse workforce. We dont pose limits in terms of where were going to hire or what sort of backgrounds, and we think that diversity ultimately would benefit the companys culture, so were trying to do that the best we can, he said.

He says that sometimes an employee can be an open source contributor first, who shows knowledge and enthusiasm for the product. Open source is an amazing way of getting to meet developers from different areas, and its true that sometimes you see a contributor who [is making a big] contribution, and then there is the question, okay, should we bring this person on the team,' he said.

More here:

QuestDB snares $12M Series A with hosted version coming soon - TechCrunch

British Court Hears Appeal in Julian Assange Extradition Case – The New York Times

LONDON The extradition case against Julian Assange, the embattled WikiLeaks founder, resumed in a London court this week as lawyers for the United States argued that concerns about his mental health should not prevent him from standing trial in an American court.

The hearing considered a U.S. appeal of a January decision by a British court not to extradite Mr. Assange, and the outcome is not expected to be known for weeks. It was the latest step in an attempt to send Mr. Assange to the United States to face espionage charges that has dragged on since he was arrested in London in 2019.

If he is extradited, Mr. Assange, 50, could face trial on charges that he played a role in obtaining and publishing secret military and diplomatic documents related to the wars in Iraq and Afghanistan. If he were found guilty on all counts, he could face a sentence of up to 175 years in prison.

In January, a British court ruled that Mr. Assange could not be extradited, citing his diminished mental health and suicide risk, among other factors, in the decision. But American prosecutors appealed, prolonging an international legal battle that has already played out for nearly a decade.

During the two-day hearing this week, Mr. Assanges defense team argued that new accusations from a Yahoo News investigation published in September that the C.I.A. plotted to kidnap or kill Mr. Assange during the Trump administration, as well as fears that he would be placed in harsh prison conditions and concerns about his mental state, should be barriers for his extradition to the United States.

But prosecutors for the United States argued that they had made assurances that Mr. Assange would not face a highly restrictive form of solitary confinement and could apply to serve his sentence in Australia, his home country. They also pledged that he would receive clinical and psychological treatment and would not be sent to a prison reserved for the worst offenders, according to Reuters.

Mr. Assange is still being held in Londons Belmarsh prison, where he has been for more than two and a half years. He did not initially join the proceedings when they began Wednesday morning, as his legal team said he was not feeling well. But that afternoon, he appeared by video link wearing a shirt and tie and a face mask, according to courtroom drawings.

Mr. Assanges lawyers, rights groups and other defenders have called the charges against him a politically driven attack on media freedom, while doctors and mental health experts have detailed how his physical and mental states have deteriorated since he has been imprisoned.

At the time of the Yahoo report last month detailing an alleged C.I.A. plan to kidnap or kill him, Britains National Union of Journalists called the report chilling.

That such acts might have been contemplated as a reaction to an individual who had simply published inconvenient truths is all the more troubling, Michelle Stanistreet, the unions general secretary, said in a statement. She called for the appeal to be dismissed and for Mr. Assange to be released.

Mr. Assange published documents on WikiLeaks that were leaked by the former U.S. Army intelligence analyst Chelsea Manning, and he was indicted in the United States in 2019 on 17 counts of violating the Espionage Act. In 2018, he was indicted on one count of conspiring to hack government computers in 2010 and 2011.

He fled into Ecuadors Embassy in London in 2012 to escape extradition to Sweden, where he was wanted in an investigation into rape allegations that were later dropped. He spent seven years hiding out there before Ecuador revoked his citizenship and evicted him in April 2019. He was then arrested by the British police.

Rebecca Vincent, who has been monitoring the extradition hearing for Reporters Without Borders and was in the courtroom on Wednesday and Thursday, said that the hearing had major implications for media freedom.

What is at stake here is not only the rights of one man, but the ability of journalists everywhere to do their jobs, to hold power to account and to ensure our ability as the public to access information we have the right to know, she said in a statement after the hearing. This is not just about Julian Assange.

See the original post:

British Court Hears Appeal in Julian Assange Extradition Case - The New York Times

WikiLikes: Writers Association Honors Julian Assange And Calls For His Release – The Florida Star

WikiLeaks founder Julian Assange has been appointed an honorary member of the German PEN Centre, a writers association that fights for freedom of expression.

The center also called for authorities in England not to extradite Assange to the United States, where he faces up to 175 years in prison. The PEN center asks for his immediate and unconditional release in a statement issued on Nov. 2.

The United States is seeking extradition of Assange for releasing classified documents via Wikileaks in 2010.

Assange was imprisoned in the U.K. in 2019 for failing to appear in court

Assange has been in solitary confinement in Londons maximum security prison in Belmarsh since April 2019, after applying for asylum at the Ecuadorian embassy in London in 2012 and living there as a political refugee for almost seven years, the German PEN Centre said.

It contradicts the right to freedom of expression and therefore the charter of the international PEN. We assure him, like our other honorary members, of our unlimited solidarity, said Ralf Nestmeyer, vice president and Writers in Prison representative of the German PEN Centre.

The appointment as an honorary member of the German PEN center is linked to the concern for the health of Julian Assange, whose prison conditions are described by Amnesty International as torture. The arbitrariness of the judiciary and the deprivation of liberty of Assange are a monstrous violation of human rights and this happens in the midst of a Western European democracy and not in a despotic regime. The German PEN center takes the allegations of sexual assault seriously.

Two women in Sweden accused Assange of rape/sexual molestation in 2010. Assange sought refuge at the Ecuadoran embassy in London in 2012. Swedish prosecutors dropped their investigation of the alleged rape in 2019.

The German PEN center takes the allegations of sexual assault seriously, but we are also aware of the doubts expressed by Nils Melzer, the U.N. special rapporteur on torture, about these accusations and the risk of their inadmissible instrumentalization, the center said.

PEN Centre Germany is part of PEN International, which was founded in London in 1921. One of its primary goals is to fight for freedom of expression.

Assange has been detained in Belmarsh Prison since April 2019 after spending almost seven years at the Ecuadorian embassy in London.

In December 2020, the German PEN Centre projected Free Julian Assange. on the British Embassy building in Berlin.

We call on the competent authorities in England not to extradite our honorary member Julian Assange to the United States of America but to release him immediately and unconditionally from prison,. Nestmeyer said in the German PEN Centres statement.

His continued detention is purely political and is therefore neither acceptable nor justified. It contradicts the right to freedom of expression and therefore the charter of the international PEN. We assure him, like our other honorary members, of our unlimited solidarity.

Edited by Judith Isacoff and Kristen Butler

Originally posted here:

WikiLikes: Writers Association Honors Julian Assange And Calls For His Release - The Florida Star

American Comedy: USA condemns harassment of journalists while persecuting Julian Assange for exposing their war crimes – OpIndia

The US Department of State on Tuesday issued apress statementcondemning the harassment, intimidation, and surveillance carried out against journalists to constrain them from performing their journalistic duties. The statement was issued to mark the International Day to End impunity for crimes against journalists.

A free and independent press holds leaders accountable, protects the rights of citizens, and ensures our communities are well informed. In too many countries, journalists face the threat of violence or imprisonment fortheir reporting. The United States condemns threats, harassment, and violence targeting journalists and media workers, the statement said.

In its statement, the US department said the threats against journalists have increased manifold, notably from governments that have the resources to go beyond borders, employ digital surveillance tools and track journalists communication and whereabouts to clamp down on their abilities to report on corruption and repression.

Now, more than ever, we must stand against the increasing use of physical attacks, online harassment, intimidation lawsuits and regulatory pressures being used to silence media around the world, the statement read.

On the International Day to End Impunity for Crimes Against Journalists, we renew our resolve to advocate for an open press free from unjust restrictions, and to hold to account those who attack press freedom, the statement added.

Although the US Department of State emphasised the need to safeguard journalists from repressive regimes that targeted scribes and suppressed them from reporting inconvenient truths, it nevertheless underscored the hypocrisy of the United States in pontificating on press freedom while persecuting Julian Assange for uncovering Americas war crimes.

Julian Assange, the founder of Wikileaks, is currently underimprisonmentat one of the harshest jails in the United Kingdom for exposing US war crimes and their undercover secrets. He has been lodged in prison since 2019 when he was removed from the Ecuadorian embassy in London. He had taken refuge in 2012 in the Embassy to avoid extradition to Sweden over a sexual assault case that was subsequently dropped in November 2019.

He wasindictedby US authorities on 17 charges of espionage and one charge of computer misuse related to the publication of secret US military documents that carry a maximum sentence of 175 years in prison. The charges against Assange is that he published secret documents obtained by former Army intelligence analyst Chelsea Manning, some of which included the disclosure of foreigners who were aiding the U.S. military abroad. He is also accused of plotting to hack computers and conspiracy to obtain and disclose national defence information.

It was recently reported that the Central Intelligence Agency (CIA) in the United States of America (USA) was even contemplating kidnapping and assassinating Julian Assange. The discussions regarding the same reportedly occurred in 2017 after Donald Trump took oath as the president of the USA, as per some reports.

Go here to read the rest:

American Comedy: USA condemns harassment of journalists while persecuting Julian Assange for exposing their war crimes - OpIndia

They isolate him, keep him in limbo: UN Special Rapporteur condemns the torture of Julian Ass… – Market Research Telecast

In a recent interview with MRT, the UN Special Rapporteur on Torture, Nils Melzer, stated that Julian Assange has been subjected to imprisonment. absolutely unnecessary and illegal, just in case they finally decide to extradite him to the United States.

In addition, he stressed that the mental health of the WikiLeaks founder is related to the abuse he has suffered.

One cannot recover from torture if you continue to torture him, and it is precisely what is being done to it. They isolate him, keep him in limbosaid Melzer, who also clarifies that Assange is not serving any sentence andni he is even accused of nothing criminal.

The rapporteur gives as an example the Chilean dictator Augusto Pinochet, who, unlike Assange, was under house arrest while accused of crimes against humanity, such as the murders and forced disappearances of thousands of people.

Assange, 49, is accused in the US of espionage and hacking for the publication since 2010 of hundreds of thousands of pages of secret military documents and diplomatic cables on Washingtons activities in the wars in Iraq and Afghanistan, which were disseminated by its WikiLeaks leak portal.

In April 2019, the cyber activist was detained at the Ecuadorian Embassy in London (United Kingdom), where for seven years he had obtained refuge and even the Ecuadorian nationality.

Disclaimer: This article is generated from the feed and not edited by our team.

Read more here:

They isolate him, keep him in limbo: UN Special Rapporteur condemns the torture of Julian Ass... - Market Research Telecast

Introduction to TypeScript and It’s Features | HTMLGoodies.com – HTML Goodies

If you are wondering what TypeScript is and whether it is optimal to use this language in your next web development project as an alternative for JavaScript, you have come to the right place. In this web programming tutorial, we are going to talk about what TypeScript is, how it is different from JavaScript, and the basics of getting started with TypeScript.

Created by Microsoft, TypeScript is an open-source programming language. It includes a set of Object-Oriented Programming (OOP) features that are helpful for maintaining the quality of code. You can think of it as the ES6 version of JavaScript, with some additional features like strict type binding.

Note that TypeScript is a superset of JavaScript. It adds additional benefits to the language while still letting you write normal JavaScript code. Today, the use of TypeScript in the programming world is on the rise and more and more companies are adopting this powerful language.

Read: TypeScript Coding Outside of Angular Applications.

So why should you prefer TypeScript over JavaScript? What are the features of TypeScript that are absent in JavaScript? Here are some points to consider when comparing TypeScript versus JavaScript:

JavaScript is an interpreted language, which means to check everything works as intended, you have to run it on the browser. If there are any errors, you need to find them and debug them while writing the code and it, therefore, consumes more time and effort.

TypeScript, however, provides the convenience of checking for errors at compile time. If some syntax related errors arise, TypeScript will compile those errors and report them before the script is run, saving you from dealing with runtime bugs which are generally harder to identify and debug.

The refactoring process is reliable and easier in TypeScript than it is compared to JavaScript. TypeScript has Types that take care of the agility while refactoring the code. It catches the type-related errors at compile time rather than waiting for an exception to occur at runtime.

JavaScript is not a strongly typed language. TypeScript, however, comes with a static type checking feature (although its optional to use) and a Type Inference System. In TypeScript, sometimes you do not need to write the type before a variables name; instead, it gets inferred automatically, and assigning values of other types to this inferred variable will throw an error this is accomplished through the TLS (TypeScript Language Service).

TypeScript needs to be compiled down to JavaScript to be executed on a browser. You may be wondering why TypeScript code is compiled down to JavaScript. This happens because browsers cannot understand TypeScript; they only understand JavaScript. Because of this, TypeScript needs to be compiled into JavaScript first; then, that compiled JavaScript is executed on the browser.

Now, one may ask the question: if TypeScript is to be converted into JavaScript, then why would we bother writing our code in TypeScript? The answer is because TypeScript offers type checking at compile time rather than at runtime. If you try to run code that contains errors, the compiler will throw those errors and ask you to correct them before executing the program. That is where TypeScript shines.

Read JavaScript web development tutorials.

Below is a list of some of the important features of the TypeScript programming language for web developers.

TypeScript is an object-oriented programming language. That feature makes it smarter than JavaScript. Object-oriented programming helps in making the codebase robust and clean. The OOP features also makes TypeScript code more maintainable and organized. Below is an example of TypeScript Classes and Objects used in a program:

Below is a list of the default types available in TypeScript:

We can define interfaces that allow us to describe how the object will look, which is something not possible with JavaScript. You can create an interface and define it in the class as follows:

In TypeScript, the code is written in classes and interfaces. Classes and interfaces provide organization to the program and therefore it is easy to maintain and debug the code. You can see the below code snippet and observe how well the code is organized in TypeScript as compared to JavaScript:

In JavaScript, the equivalent of the above code can be written as:

TypeScript is a superset of ES6. It contains all the characteristics of ES6 plus some additional features. One example of such a feature is the Lambda function. ES6 has made a slight change in the syntax of anonymous functions called fat arrow functions:

Read: Explore TypeScript Fat Arrow.

Now that we understand some of the features and benefits of TypeScript, lets set-up TypeScript and get our hands dirty writing some code into it.

To begin, you need to install NodeJS and a package manager like npm or yarn so that you can use TypeScript locally.

Once the above is configured, you can install TypeScript using the following command:

-g here denotes that we are installing TypeScript globally. To install it as a dev dependency, replace the g with D.

Once TypeScript is installed, you will be able to compile any TypeScript file into a JavaScript file. Write the following code in TypeScript to see how it works:

Compile this code using the following code:

A new file with .js will be created in the same folder and you will be able to run this file like any JavaScript file.

TypeScript is an awesome, organized, and highly-scalable programming language. It is a widely used Object-oriented programming language and lots of companies have started using it. It helps in agile application development and provides convenience to the developer community around the world in regards to maintaining and optimizing their applications. We hope this article helped you in understanding the fundamentals of TypeScript.

View original post here:
Introduction to TypeScript and It's Features | HTMLGoodies.com - HTML Goodies