Code it
4.6K views | +0 today
Follow
Code it
This is a curated resource for programmers and software architects. It is regularly updated with Articles, Hacks, How Tos, Examples and Code.
Curated by nrip
Your new post is loading...
Your new post is loading...
Scooped by nrip
Scoop.it!

Style guides for Google-originated open-source projects

Style guides for Google-originated open-source projects | Code it | Scoop.it

Style guides for Google-originated open-source projects

 

“Style” covers a lot of ground, from “use camelCase for variable names” to “never use global variables” to “never use exceptions.”

 

This project (google/styleguide) links to the style guidelines we use for Google code. If you are modifying a project that originated at Google, you may be pointed to this page to see the style guides that apply to that project.

 

This project holds the

 

Python Style Guide,

 

HTML/CSS Style Guide,

 

JavaScript Style Guide,

 

TypeScript Style Guide,

 

AngularJS Style Guide,

 

C++ Style Guide,

 

C# Style Guide,

 

Swift Style Guide,

 

Objective-C Style Guide,

 

Java Style Guide,

 

R Style Guide,

 

Shell Style Guide,

 

Common Lisp Style Guide,

 

and Vimscript Style Guide.

 

 

If your project requires that you create a new XML document format, the XML Document Format Style Guide may be helpful. In addition to actual style rules, it also contains advice on designing your own vs. adapting an existing format, on XML instance document formatting, and on elements vs. attributes.

 

 

 

No comment yet.
Scooped by nrip
Scoop.it!

Report: TypeScript Pays Well, Projected for Huge Growth (C#, Not So Much)

Report: TypeScript Pays Well, Projected for Huge Growth (C#, Not So Much) | Code it | Scoop.it
Technical careers specialist Dice dove into job posting data to chart the salaries associated with popular programming languages, finding that Microsoft's TypeScript fares well in both accounts.

 

The job data comes from Burning Glass, which provides real-time job market analytics.

 

Dice combed through the data to determine which programming languages are

most in-demand and

how much they pay

 

Those are two vital questions as technologists and developers everywhere decide which skills to learn next.

 

See the attached photograph. TypeScript pays fairly well (fifth), but really shines in projected 10-year growth, where an astounding predicted rate of 60 percent dwarfs all other languages.

 

Dice opined more about TypeScript specifically. "It's worth calling out TypeScript here. Technically, it's a superset of the ultra-popular and well-established JavaScript, which means that whatever you code in it is transpiled to JavaScript. That being said, many programming-language rankings (such as RedMonk) treat it as a full programming language. However you define it, it's clear that the language is on a strong growth trajectory, paired with a solid median salary. If you're looking for a new programming language to learn, keep an eye on it."

 

read the whole report here: https://visualstudiomagazine.com/articles/2021/04/01/typescript-csharp.aspx

 

For a quickstart to Typescript for tjose of you know who know javascript look here --> https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html

 

nrip's insight:

its wonderful to see that the 3 languages showing growth here in this list are the 2 languages and 1 framework I back at Plus91 i.e. Python, Javascript and Typescript :)

No comment yet.
Scooped by nrip
Scoop.it!

Why Python hasn't taken off on mobile, or in the browser - according to its creator

Why Python hasn't taken off on mobile, or in the browser - according to its creator | Code it | Scoop.it

Python creator Guido van Rossum reveals the strengths and weaknesses of one of the world's most popular programming languages.

 

mobile app development is one of the key growth fields that Python hasn't gained any traction in, despite it dominating in machine learning with libraries like NumPy and Google's TensorFlow, as well as backend services automation.

 

Python isn't exactly boxed into high-end hardware, but that's where it's gravitated to and it's been left out of mobile and the browser, even if it's popular on the backend of these services, he said.

 

Why? Python simply guzzles too much memory and energy from hardware, he said. For similar reasons, he said Python probably doesn't have a future in the browser despite WebAssembly, a standard that is helping make more powerful applications on websites.  

 

Mobile app development in Python is a "bit of a sore point", said van Rossum in a recent video Q&A for Microsoft Reactor.  

 

"It would be nice if mobile apps could be written in Python. There are actually a few people working on that but CPython has 30 years of history where it's been built for an environment that is a workstation, a desktop or a server and it expects that kind of environment and the users expect that kind of environment," he said.

 

"The people who have managed to cross-compile CPython to run on an Android tablet or even on iOS, they find that it eats up a lot of resources," he said. "Compared to what the mobile operating systems expect, Python is big and slow. It uses a lot of battery charge, so if you're coding in Python you would probably very quickly run down your battery and quickly run out of memory," he said.

 

"Python is a pretty popular language [at the backend]. At Google I worked on projects that were sort of built on Python, although most Google stuff wasn't. At Dropbox, the whole Dropbox server is built on Python. On the other hand, if you look at what runs in the browser, that's the world of JavaScript and unless it translates to JavaScript, you can't run it," van Rossum said. 

 

"I don't mind so much different languages have to have different goals i mean nobody is asking Rust when you can write Rust in the browser; at least that wouldn't seem a useful sort of target for Rust either. Python should focus on the application areas where it's good and for the web that's the backend and for scientific data processing."

 

watch the Microsoft Q&A with him at https://www.youtube.com/watch?v=aYbNh3NS7jA

 

 

read the original article at https://www.zdnet.com/article/python-programming-why-it-hasnt-taken-off-in-the-browser-or-mobile-according-to-its-creator/

 

 

No comment yet.