why swift?
07-30-2016, 09:31 AM,
Post: #1
why swift?
I'm dusting off xCode, I figured I'd take another stab at it.  I want to communicate with a server.  JSON is simple enough, but parsing JSON looks to be a pain in the ass with Swift, and I still need to load classes/libraries with arcane Obj-C names (NSJSONUgh).  Yet Swift is billed as Javascript-like.  I'm not seeing it.  I do see that I can do stuff like element.text = 'foo' and that's great and all, but it's not like I can leverage js knowledge.  Is it just syntax?

Given that my Obj-C and Swift are equal, I know how to program, and I accept that new syntax is just one of those things that takes adjustment... why would I choose to learn Swift over Obj-C?
07-30-2016, 01:19 PM,
Post: #2
RE: why swift?
...Because you're putting philosophy in practice? That seems to be the only way to explain most of the stupid stuff in the programming world.
My logic is infallible. Resistance is futile.
07-31-2016, 12:48 AM,
Post: #3
RE: why swift?
Yeah, I messed with the Swift sandbox and learned the basic syntax, but that's as far as I got. I wasn't terribly impressed with it, but then again, I've not really got any Objective C experience either, so it very well could be a breath of fresh air compared to traditional compiled langs, but seems archaic compared to PHP or Python.
The chaos army seems suspiciously well organized.
flickr | Stupid Blog | Twitter
08-01-2016, 08:50 PM,
Post: #4
RE: why swift?
Perhaps just more rigidly structured and steeped in tradition more than archaic. And then there are the cross-platform alternatives. I mean, why bother with swift or objc unless I also learn Java, and then why not use Sencha or Xamarin or Phonegap or get in bed with some other cross-platform tool.

I realize that if I just do it, this will all be moot in a few months, but it seems to set the bar needlessly high.
bedstuy Wrote:mocking a pair of $500 jeans is a form of class warfare... why do you hate my social status?

Forum Jump: