Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Garbd
Dec 29, 2008

where did all the brackets go? I miss them. brackets are fun to type!!

pls explain why swift has no brackets thanks for your time

Adbot
ADBOT LOVES YOU

triple sulk
Sep 17, 2014



posting in a rimjobcallout thread

The Management
Jan 2, 2010

sup, bitch?
lol, a new language with no multithreading primitives

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

the strategic bracket reserve was running low, apple ordered to remove them under penalty of law

The Management
Jan 2, 2010

sup, bitch?
brackets are TOO VERBOSE why do I have to TYPE so MUCH I can't even

exe cummings
Jan 22, 2005

quote:

Swift is the result of the latest research on programming languages, combined with decades of experience building Apple platforms.

code:
var sortedStrings = sorted(stringArray) {
	$0.uppercaseString < $1.uppercaseString
}
looks like javascript lol

pram
Jun 10, 2001
brackets own. semicolons not so much

jesus WEP
Oct 17, 2004


pram posted:

brackets own. semicolons not so much
same but I like semicolons too

BONGHITZ
Jan 1, 1970

swiftly, james

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

(actually (parenthesis (are (the (best (punctuation (used (in (programming languages)))))))))

Valeyard
Mar 30, 2012


Grimey Drawer

carry on then posted:

(actually (parenthesis (are (the (best (punctuation (used (in (programming languages)))))))))

those are brackets

jesus WEP
Oct 17, 2004


Valeyard posted:

those are brackets

WRONG

Valeyard
Mar 30, 2012


Grimey Drawer
( ) — parentheses, brackets (UK, Canada, New Zealand, and Australia), parens, round brackets, soft brackets, or circle brackets

:britain: :australia: :canada: :nz:

Garbd
Dec 29, 2008

no... brackets look like this: [ ]

u can tell its a bracket because when u type one it is fun, unlike parenthesis

Valeyard
Mar 30, 2012


Grimey Drawer

Garbd posted:

no... brackets look like this: [ ]

u can tell its a bracket because when u type one it is fun, unlike parenthesis

yeah thats a square bracket

pram
Jun 10, 2001
in jolly ol britain they're called braukettes

ArmedZombie
Jun 6, 2004

carry on then posted:

(actually (parenthesis (are (the (best (punctuation (used (in (programming languages)))))))))

exe cummings
Jan 22, 2005

curly brace supremacy

exe cummings
Jan 22, 2005

say BRACE a dozen times in your head. ITLL SOUND REALLY WEIRD!!!

THE BIG DOG DADDY
Oct 16, 2013

Rasheed was, with Aliases, the top 7 PvPers in Bone Krew.


No one talks about this.
curly braces you loving idiots

The Management
Jan 2, 2010

sup, bitch?
curly brackets are lame as hell

ArmedZombie
Jun 6, 2004

Santas Ainol Elf posted:

curly braces you loving idiots

this is redundant hth

ArmedZombie
Jun 6, 2004

( = paren
[ = bracket
{ = brace

:argh: you fuckers

Video Nasty
Jun 17, 2003

pram posted:

in canada they're called brauquettes

black man 3
Oct 29, 2014

by XyloJW
Autism itt

qirex
Feb 15, 2001

carry on then posted:

(actually (parenthesis (are (the (best (punctuation (used (in (programming languages)))))))))

when I was in college someone had written ((((((((((((((((((((SCHEME SUCKS)))))))))))))))))))) on the wall of the bathroom in the CS building

obstipator
Nov 8, 2009

by FactsAreUseless

yard salad posted:

say BRACE a dozen times in your head. ITLL SOUND REALLY WEIRD!!!

:wth:

black man 3
Oct 29, 2014

by XyloJW

qirex posted:

when I was in college someone had written ((((((((((((((((((((SCHEME SUCKS)))))))))))))))))))) on the wall of the bathroom in the CS building

That's extremely gay and fail.

EMILY BLUNTS
Jan 1, 2005

yard salad posted:

say BRACE a dozen times in your head. ITLL SOUND REALLY WEIRD!!!

try it with floor

floor floor floor floor floor floor floor floor floor floor floor floor floor

Moist von Lipwig
Oct 28, 2006

by FactsAreUseless
Tortured By Flan
i like a good mix of ( ) or { } and [ ] and ; in my langs

pram
Jun 10, 2001
semicolon is fail as gently caress

Valeyard
Mar 30, 2012


Grimey Drawer
this thread smells like a colon

Garbd
Dec 29, 2008

I just want to know why there are no brackets in swift! why are there no brackets? what the gently caress

jony ive aces
Jun 14, 2012

designer of the lomarf car


Buglord
:boom:

her hands are the brackets if you think about it

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

carry on then posted:

the strategic bracket reserve was running low, apple ordered to remove them under penalty of law

yeah, and apple has a a patent on curly braces due to the rounded edges. it's weird that they were ever into brackets at all.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
brackets are for one things: arrays and lists. if you put anything anything else in you're brackets, well

i guess it kinda makes sense beause brackets are for messages passing and they kinda look like envelopes when you think about it

Adbot
ADBOT LOVES YOU

med school head
Apr 17, 2012
wow cool nerd poo poo nerds wfc

  • Locked thread