Welcome to computer-languages-comparison Discussions! #5
Replies: 1 comment
-
|
Hello, my name is Suraj and I am the project founder. I created this project to help others with quickly finding the similarities and differences between a set of programming language. MotivationI originally had this idea when I thought about how C#, Python, and Rust provide the concept of a ternary operator. Each of them provide a different way of phrasing the same idea. For example, let's say we have two variables // C#
var x = true /* or false */;
var y = x ? 42 : 314;# Python
x = True # or False
y = 42 if x else 314// Rust
let x = true /* or false */;
let y = if x { 42 } else { 314 };This got me thinking about what other kinds of difference I could find in syntax provided the same semantics. So I looked for some websites where I could find those similarities and difference. There were many websites that got close to what I was thinking about, the two big ones were: Syntax Across Language and Hyperglot. However, I wanted something that mixed the tables of Syntax Across Language with the in-line comparison of Hyperglot, so I started my own. My hope is that this will provide others an easy reference for comparing various computer based languages. InspirationThere are a bunch of websites that inspired me to create this. Here is a short-list of many of them:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
What is this project
This is a project to showcase a variety of computer languages to compare and contrast them and provide a common framework to think about the different syntax of the computer languages.
Beta Was this translation helpful? Give feedback.
All reactions