From ad9b61107d5482f180e9750d70581bbc40a0bd8f Mon Sep 17 00:00:00 2001 From: Ben Eggett Date: Thu, 3 Dec 2015 10:54:41 -0700 Subject: [PATCH] Fixes langauges/languages typo in www/Philosophies & test/Prototypes/FloatingPoint.swift --- test/Prototypes/FloatingPoint.swift | 2 +- www/Philosophies.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/Prototypes/FloatingPoint.swift b/test/Prototypes/FloatingPoint.swift index c9d7702936504..5c00af67b4d19 100644 --- a/test/Prototypes/FloatingPoint.swift +++ b/test/Prototypes/FloatingPoint.swift @@ -440,7 +440,7 @@ FloatLiteralConvertible { // // - it violates the hell out of the principle of least surprise, // given that programmers have been conditioned by years of using - // other langauges. + // other languages. // // - it would introduce a gratuitous minor inefficiency to most // code on the hardware we have today, where IEEE-754 equality is diff --git a/www/Philosophies.rst b/www/Philosophies.rst index 7003914f96da5..e15a4b385f4b0 100644 --- a/www/Philosophies.rst +++ b/www/Philosophies.rst @@ -41,7 +41,7 @@ functionality as well as basic data-types. Familiarity to Programmers in the C Family of Languages ------------------------------------------------------- -"Semicolon and curly brace" langauges are very popular, including C, +"Semicolon and curly brace" languages are very popular, including C, Objective-C, C++ etc, but also Java, Javascript, Ruby, and many other languages. For this reason, we want the basic expression and statements in Swift to be similar to these languages and/or an obvious small leap over them when it makes @@ -56,7 +56,7 @@ we must change it. Innovation is not a Goal Unto Itself ------------------------------------ -Being different from all other langauges is not a goal. Language design +Being different from all other languages is not a goal. Language design is not a new field. It is better to borrow good, proven, ideas from other languages than it is to be novel in areas that don't need to change. This is pragmatic language implementation, not open-ended language research.