In the first episode we've covered how programming languages like Java, Python, Ruby, Perl & Swift got their names.
In our second episode, we've covered how Bash, SQL, Go, Scala and C got their names which you can read them here.
Now in this third episode, we'll cover how TypeScript, Rust, Elixir, R & Clojure got their call sign.
Rust
use rand::Rng;
fn main() {
let mut range = rand::thread_rng();
let num: i32 = range.gen();
println!("Random: {}", n1);
}
Did you know a programming language that performs slightly faster than Go and is still gaining popularity among developers? Yes, Rust. It's a language originally developed by the people at Mozilla Foundation.
For the name itself, it seems that Rust is taken from the word "rust" which means robust or "strong". In German there is a word "rost" which means "rust".
Visit Rust on Kodekativ.
TypeScript
interface User {
name: string;
id: number;
}
class UserAccount {
name: string;
id: number;
constructor(name: string, id: number) {
this.name = name;
this.id = id;
}
}
const user: User = new UserAccount("Murphy", 1);
Essentialy TypeScript is a JavaScript that gifted a "type" which is some kind of rules and classes that makes it similar to what C# and Java does in their typing style. I'm talking about strongly typed.
TypeScript got its name as you might've guessed, add "type" in the front of the "script" and you will have TypeScript.
Visit TypeScript in Kodekativ.
Clojure
(ns hello-world.core)
(defn -main [& args]
(println "Hello, World!"))
The creator of Clojure wanted o insert 'C' for "C#, 'l' for "Lisp" and 'j' for "Java" so then it forms "Clojure".
The word "clojure" from greek also means "to shut or close", which probably mean "to be close with C#, Lisp and Java" as the created wanted.
Visit Clojure in Kodekativ.
Elixir
import IO, only: [puts: 1]
puts("Hello, World!")
The word "elixir" means a drug that prolongs life and maintains its quality. The name is of course taken from the Arabic "al-iksi" which is derived from the Greek "exerion", a powder for drying wounds, which was invented in the fourteenth century.
Visit Elixir in Kodekativ.
R
# Program to check if the input number is prime or not
# take input from the user
num = as.integer(readline(prompt="Enter a number: "))
flag = 0
# prime numbers are greater than 1
if(num > 1) {
# check for factors
flag = 1
for(i in 2:(num-1)) {
if ((num %% i) == 0) {
flag = 0
break
}
}
}
if(num == 2) flag = 1
if(flag == 1) {
print(paste(num,"is a prime number"))
} else {
print(paste(num,"is not a prime number"))
}
R is a programming language for data science and is often compared to programming languages such as Julia and Python.
His own name "R" seems to come from the first names of its two creators, Ross Ihaka & Robert Gentleman.
Visit R in Kodekativ.