Apple's new programming language: Swift

  • (3 Pages)
  • +
  • 1
  • 2
  • 3

36 Replies - 7332 Views - Last Post: 11 June 2014 - 02:58 PM

#1 carloborja  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 25-October 13

Apple's new programming language: Swift

Posted 03 June 2014 - 10:21 AM

http://www.theverge....language-viudeo

What are your thoughts on it?

Are you excited?

Will we get a dedicated section in the forums for this programming language? :)/>

Is This A Good Question/Topic? 0
  • +

Replies To: Apple's new programming language: Swift

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9215
  • View blog
  • Posts: 34,612
  • Joined: 12-June 08

Re: Apple's new programming language: Swift

Posted 03 June 2014 - 11:02 AM

I think Scott Hanselman said it best:

Quote

The real win here is that I don't have to learn Objective-C. I've successfully waited a language out.

https://twitter.com/...557178637250561

Other fun facts..

Quote

Swift fun fact #1: You can use emoji characters in variable, constant, function, and class names

By allowing Unicode characters in constant and variable names, Apple’s new Swift programming language will allow programmers whose native languages don’t use the Roman alphabet to write code that makes more sense to them. Since emoji are part of the Unicode set, expect to see amusing code demos and search-and-replace pranks that look like this:

Posted Image
http://www.globalner...nd-class-names/
Was This Post Helpful? 1
  • +
  • -

#3 CharlieMay  Icon User is offline

  • This space intentionally left blank
  • member icon

Reputation: 1605
  • View blog
  • Posts: 5,162
  • Joined: 25-September 09

Re: Apple's new programming language: Swift

Posted 03 June 2014 - 01:37 PM

Wouldn't say I'm excited. But after skimming through the free book that they released, I'm thinking about messing with it. Seems pretty easy to pick up. On a side note, what is a bare-minimum macbook recommendation for developing with XCode? (Processor, Memory, Storage).
Was This Post Helpful? 0
  • +
  • -

#4 Martyr2  Icon User is offline

  • Programming Theoretician
  • member icon

Reputation: 4337
  • View blog
  • Posts: 12,137
  • Joined: 18-April 07

Re: Apple's new programming language: Swift

Posted 03 June 2014 - 02:14 PM

Excited and dreading at the same time. Why?

Why I am excited: I am all for updating languages if they bring new things to the table besides syntax sugar and truly speed up coding for the developer. Bringing in things like closures etc are a much needed enhancement.

Why I am dreading: Did you hear the part about it works along side C/Objective-C? This means program code that you and I have to look at by others have to now decipher what is C, what is Objective-C and what is Swift. They can all be swirled together. While some may see this as an actual advantage (for onboarding old code into newer apps) it really means we are going to see Frankenstein monster code bases and conversations like "You should do it in C! No you should do it like this in Objective-C! Screw that, do it in Swift like this!"

Luckily I know C, enough Objective-C to know what to look for and I see Swift as no real obstacle but gosh some people are going to get confused. Does anyone know if StackOverflow had an IPO because that stock is going to rise on this announcement!

:D
Was This Post Helpful? 0
  • +
  • -

#5 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7762
  • View blog
  • Posts: 13,126
  • Joined: 19-March 11

Re: Apple's new programming language: Swift

Posted 03 June 2014 - 06:21 PM

Was discussed at work yesterday. This exchange happened.

Chris #1: "It's kinda weird syntax though, a bit of PHP, Ruby, and Javascript thrown together in an unholy sex tape."
Chris #2: "Python must have been doing the taping"


From what I've seen so far, it looks a little ho-hum. Another mishmash of language features, optimized for an area I'm not really all that interested in. Kind of like javascript, really - I learned javascript when I needed it to do stuff, and I don't mind knowing it, but there's nothing very interesting about it. If I need to do mobile for Apple devices - could happen - then I'll learn one of Apple's dead-end languages. Until then, why care?
Was This Post Helpful? 2
  • +
  • -

#6 Xaos  Icon User is offline

  • D.I.C Regular

Reputation: 56
  • View blog
  • Posts: 345
  • Joined: 20-November 13

Re: Apple's new programming language: Swift

Posted 03 June 2014 - 07:02 PM

I'm in the process of developing for iOS, so for the first ten minutes after this announcement, I was frantically searching the web until I found it could be ran alongside Objective-C and so I was safe. Glad I don't have to learn Objective-C (I'm currently using Xamarin with work) but I kind of despise Python (I know, shoot me) so I'm still asking why the hell they can't use something modern and not fucked up
Was This Post Helpful? 0
  • +
  • -

#7 The Effekt  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 38
  • Joined: 02-July 13

Re: Apple's new programming language: Swift

Posted 04 June 2014 - 05:09 AM

I don't know much about the underlying science behind programming languages, so I've been wondering how Swift could achieve all these great things that Apple says it can achieve.

"Swift seems like it finally gives the developers in the iOS world the ability to do the things you have been able to do in the scripting world but without the penalties." - Apple

It sounds extremely innovative.
Was This Post Helpful? 0
  • +
  • -

#8 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9215
  • View blog
  • Posts: 34,612
  • Joined: 12-June 08

Re: Apple's new programming language: Swift

Posted 04 June 2014 - 06:41 AM

Quote

It sounds extremely innovative.

Yes.. applied marketing is an amazing thing.
Was This Post Helpful? 4
  • +
  • -

#9 depricated  Icon User is offline

  • DLN-000

Reputation: 718
  • View blog
  • Posts: 2,434
  • Joined: 13-September 08

Re: Apple's new programming language: Swift

Posted 04 June 2014 - 06:47 AM

For particularly low values of innovative, sure...

I'm not watching the video. I hate "articles" that are just pages with embedded youtube videos, with the fiery passion of a thousand suns. Nothing pisses me off more than excitedly opening a page to read an article that has an interesting premise, and finding no transcript and just an embedded video. Like, really? Can't even be fucked to write a general summary? I can't be fucked to watch the video, then.


So, here's a link to Swift @ developer.apple.com, for those who don't want to listen to some overhyped ass clown raving for his favorite new and unique apple product that's unlike anything that's ever come before it...

...

Quote

Modern
[subtext]

So it's C++ syntax for Visual Basic .NET...

Quote

Interactive Playgrounds

So...the IDE has a built in debugger? That's new and innovative? Fuck, I can do this with HTML, PHP, AJAX, ASP...

Quote

Designed for Safety
Training wheels and bumper-lanes

Quote

Fast and Powerful
Just like every programming language before it has boasted, and every apple product too.


So yay new programming language, that's always good. Using unicode in identifiers isn't new either - that can be done in VB.NET, C#, and Java just off the top of my head.
Was This Post Helpful? 2
  • +
  • -

#10 Xaos  Icon User is offline

  • D.I.C Regular

Reputation: 56
  • View blog
  • Posts: 345
  • Joined: 20-November 13

Re: Apple's new programming language: Swift

Posted 04 June 2014 - 06:53 AM

View PostThe Effekt, on 04 June 2014 - 07:09 AM, said:

"Swift seems like it finally gives the developers in the iOS world the ability to do the things you have been able to do in the scripting world but without the penalties." - Apple

It sounds extremely innovative.



lolCode gives developers the ability to code in a fast, streamlined environment that allows them to produce innovative, creative applications previously impossible without lolCode.
Was This Post Helpful? 0
  • +
  • -

#11 depricated  Icon User is offline

  • DLN-000

Reputation: 718
  • View blog
  • Posts: 2,434
  • Joined: 13-September 08

Re: Apple's new programming language: Swift

Posted 04 June 2014 - 06:57 AM

linky linky I want to write in lolCode!
Was This Post Helpful? 0
  • +
  • -

#12 Xaos  Icon User is offline

  • D.I.C Regular

Reputation: 56
  • View blog
  • Posts: 345
  • Joined: 20-November 13

Re: Apple's new programming language: Swift

Posted 04 June 2014 - 07:00 AM

http://lolcode.org/

"We are very excited to release this innovative programming platform designed to help programmers get the most out of their ability and are equally excited in your interest in the new programming platform we feel will help innovate and re-create the software industry."


P.S. I have similar feelings about video-article B.S. And apple.

P.S.S I'm also really glad this topic is in the lounge.

This post has been edited by Xaos: 04 June 2014 - 07:00 AM

Was This Post Helpful? 0
  • +
  • -

#13 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7762
  • View blog
  • Posts: 13,126
  • Joined: 19-March 11

Re: Apple's new programming language: Swift

Posted 04 June 2014 - 07:00 AM

View Postmodi123_1, on 04 June 2014 - 08:41 AM, said:

Quote

It sounds extremely innovative.

Yes.. applied marketing is an amazing thing.


It's more or less Apple's stock in trade, isn't it?
Was This Post Helpful? 0
  • +
  • -

#14 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9215
  • View blog
  • Posts: 34,612
  • Joined: 12-June 08

Re: Apple's new programming language: Swift

Posted 04 June 2014 - 07:01 AM

@dep: Here's a good link: http://tinyurl.com/kw68chj
Was This Post Helpful? 0
  • +
  • -

#15 Xaos  Icon User is offline

  • D.I.C Regular

Reputation: 56
  • View blog
  • Posts: 345
  • Joined: 20-November 13

Re: Apple's new programming language: Swift

Posted 04 June 2014 - 07:06 AM

View Postmodi123_1, on 04 June 2014 - 09:01 AM, said:

@dep: Here's a good link: http://tinyurl.com/kw68chj



Bing???? Modi's been affected by the Apple.


(Obvious reference to Apple using Bing instead of Google because they feel Google is more competition in Mobile than Microsoft is in PC)
Was This Post Helpful? 0
  • +
  • -

  • (3 Pages)
  • +
  • 1
  • 2
  • 3