Eiffel is an actively used programming language created in 1986.

33Years Old 5,125Users 2Jobs

Example code from the Hello World Collection:

note "Hello World in Eiffel"
class HELLO
create run
feature run
       do
               print ("Hello World!%N")
       end
end

Example code from Linguist:

note
	description: "Git checkout command."
	author: "Olivier Ligot"

class
	GIT_CHECKOUT_COMMAND

inherit
	GIT_COMMAND

create
	make,
	make_master

feature {NONE} -- Initialization

	make (a_branch: STRING)
			-- Checkout the branch `a_branch'.
		do
			initialize
			arguments.force_last (a_branch)
			branch := a_branch
		ensure
			branch_set: branch = a_branch
		end

	make_master
			-- Checkout the master branch.
		do
			make ("master")
		end

feature -- Access

	branch: STRING
			-- Branch to checkout

	name: STRING = "checkout"
			-- Git subcommand name

end

Example code from Wikipedia:

class
    HELLO_WORLD
create
    make
feature
   make
      do
         print ("Hello, world!")
      end
end
Edit

Last updated February 11th, 2019