TypeScript 与 R 对比:30项指标
TypeScript 对比 R
TypeScript
TypeScript 是一种Object-Oriented, Functional, Procedural编程语言,首次出现于 2012 年,由 Microsoft 设计。主要应用场景:Web Development, Automation, Scripting。
R
R 是一种Multi-paradigm编程语言,首次出现于 1993 年,由 Ross Ihaka, Robert Gentleman 设计。主要应用场景:Data Science, Scientific Computing, Statistics。
30项指标
| 指标 | TypeScript | R |
|---|---|---|
| GitHub Stars | 63098 | 58302 |
| Stack Overflow Tags | 825235 | 729989 |
| TIOBE Rank | 14 | 36 |
| RedMonk Rank | 11 | 20 |
| PYPL Rank | 8 | 24 |
| Average Salary (USD) | 130981 | 122736 |
| Job Postings | 43501 | 38329 |
| Benchmarks Score | 1.08 | 1.0 |
| Learning Curve | Hard | Hard |
| Community Size | Very Large | Very Large |
| Documentation Quality | 8 | 8 |
| Ecosystem Maturity | 10 | 10 |
| Industry Adoption | 10 | 8 |
| Type System Complexity | 9 | 9 |
| Concurrency Support | 10 | 8 |
| Performance - Execution Speed | 9 | 8 |
| Performance - Memory Usage | 10 | 9 |
| Performance - Startup Time | 8 | 8 |
| Tooling Quality | 10 | 8 |
| Package Manager Quality | 10 | 9 |
| IDE Support | 9 | 8 |
| Debugging Experience | 9 | 9 |
| GitHub Stars Rank | 11 | 20 |
| Stack Overflow Tags Rank | 13 | 25 |
| Average Salary Rank | 10 | 23 |
| Job Postings Rank | 6 | 22 |
| Benchmarks Rank | 1 | 4 |
| Learning Curve Score | 3 | 2 |
| Community Size Score | 10 | 9 |
| AHP Score | 8.47 | 7.66 |
AHP综合评分
- TypeScript: 8.47 (#3)
- R: 7.66 (#23)
TypeScript | ######## 8.47
R | ######## 7.66
何时选择TypeScript
Web Development, Automation, Scripting, General Programming. TypeScript 是一种Object-Oriented, Functional, Procedural编程语言,首次出现于 2012 年,由 Microsoft 设计。主要应用场景:Web Development, Automation, Scripting。
何时选择R
Data Science, Scientific Computing, Statistics, Visualization. R 是一种Multi-paradigm编程语言,首次出现于 1993 年,由 Ross Ihaka, Robert Gentleman 设计。主要应用场景:Data Science, Scientific Computing, Statistics。
Hello World 示例
TypeScript:
console.log('Hello, World!');
R:
print('Hello, World!')