Skip to content

Commit ad9b611

Browse files
committed
Fixes langauges/languages typo in www/Philosophies & test/Prototypes/FloatingPoint.swift
1 parent 564973f commit ad9b611

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/Prototypes/FloatingPoint.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ FloatLiteralConvertible {
440440
//
441441
// - it violates the hell out of the principle of least surprise,
442442
// given that programmers have been conditioned by years of using
443-
// other langauges.
443+
// other languages.
444444
//
445445
// - it would introduce a gratuitous minor inefficiency to most
446446
// code on the hardware we have today, where IEEE-754 equality is

www/Philosophies.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ functionality as well as basic data-types.
4141
Familiarity to Programmers in the C Family of Languages
4242
-------------------------------------------------------
4343

44-
"Semicolon and curly brace" langauges are very popular, including C,
44+
"Semicolon and curly brace" languages are very popular, including C,
4545
Objective-C, C++ etc, but also Java, Javascript, Ruby, and many other languages.
4646
For this reason, we want the basic expression and statements in Swift to be
4747
similar to these languages and/or an obvious small leap over them when it makes
@@ -56,7 +56,7 @@ we must change it.
5656
Innovation is not a Goal Unto Itself
5757
------------------------------------
5858

59-
Being different from all other langauges is not a goal. Language design
59+
Being different from all other languages is not a goal. Language design
6060
is not a new field. It is better to borrow good, proven, ideas from other
6161
languages than it is to be novel in areas that don't need to change. This
6262
is pragmatic language implementation, not open-ended language research.

0 commit comments

Comments
 (0)