Skip to content

Commit 4ed07ff

Browse files
committed
Add some content
1 parent 7f02ba7 commit 4ed07ff

File tree

10 files changed

+61
-8
lines changed

10 files changed

+61
-8
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class ProgrammingLanguagesController < ApplicationController
2+
def index
3+
end
4+
5+
def show
6+
render params[:language]
7+
end
8+
end
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Assembly
3+
first_introduced: 1947
4+
---
5+
6+
h1 Assembly
7+
P In computer programming, assembly language, often referred to simply as assembly and commonly abbreviated as ASM or asm, is any low-level programming language with a very strong correspondence between the instructions in the language and the architecture's machine code instructions.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: C
3+
first_introduced: 1972
4+
---
5+
6+
h1 C
7+
p C is a general-purpose computer programming language. It was created in the 1970s by Dennis Ritchie, and remains very widely used and influential. By design, C's features cleanly reflect the capabilities of the targeted CPUs. It has found lasting use in operating systems, device drivers, and protocol stacks, but its use in application software has been decreasing.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Crystal
3+
first_introduced: 2014
4+
---
5+
6+
h1 Crystal
7+
P Crystal is a high-level general-purpose, object-oriented programming language, designed and developed by Ary Borenszweig, Juan Wajnerman, Brian Cardiff and more than 400 contributors. With syntax inspired by the language Ruby, it is a compiled language with static type-checking, but specifying the types of variables or method arguments is generally unneeded. Types are resolved by an advanced global type inference algorithm.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
h1 ProgrammingLanguages#index
2+
p Find me in app/views/programming_languages/index.html.slim
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Lisp
3+
first_introduced: 1960
4+
---
5+
6+
h1 Lisp
7+
p Lisp (historically LISP, an abbreviation of "list processing") is a family of programming languages with a long history and a distinctive, fully parenthesized prefix notation. Originally specified in 1960, Lisp is the third-oldest high-level programming language still in common use, after Fortran and COBOL. Lisp has changed since its early days, and many dialects have existed over its history. Today, the best-known general-purpose Lisp dialects are Common Lisp, Scheme, Racket, and Clojure.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Ruby
3+
first_introduced: 1995
4+
---
5+
6+
h1 Ruby
7+
p Ruby is an interpreted, high-level, general-purpose programming language which supports multiple programming paradigms. It was designed with an emphasis on programming productivity and simplicity. In Ruby, everything is an object, including primitive data types. It was developed in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Smalltalk
3+
first_introduced: 1972
4+
---
5+
6+
h1 Smalltalk
7+
p Smalltalk is a purely object oriented programming language (OOP) that was originally created in the 1970s for educational use, specifically for constructionist learning, but later found use in business. It was created at Xerox PARC by Learning Research Group (LRG) scientists, including Alan Kay, Dan Ingalls, Adele Goldberg, Ted Kaehler, Diana Merry, and Scott Wallace.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
name: Swift
3+
first_introduced: 2014
4+
---
5+
6+
h1 Swift
7+
p Swift is a high-level general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. and the open-source community. Swift compiles to machine code, as it is an LLVM-based compiler. Swift was first released in June 2014, and the Swift toolchain has shipped in Xcode since version 6, released in 2014.

config/routes.rb

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
Rails.application.routes.draw do
2-
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
3-
4-
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
5-
# Can be used by load balancers and uptime monitors to verify that the app is live.
6-
get "up" => "rails/health#show", as: :rails_health_check
7-
8-
# Defines the root path route ("/")
9-
# root "posts#index"
2+
get '/:language', to: 'programming_languages#show'
3+
root 'programming_languages#index'
104
end

0 commit comments

Comments
 (0)