Gentlemen,
Just had a really good look at Swift which seems to be the latest/greatest way 
to write IOS apps and is being pushed as the preferred IOS development platform 
as opposed to Objective (Well named!!) C.

Funnily enough the languages bears many similarities to VFP and the features we 
have had for YEARS and YEARS!!! 
Some big revolutionary steps forward evidently being:

1. Automatically defined variable types:
varA = "Hello"
varB=1

2. Being able to redefine a variable (inferred typing) from one type to another
varA = "Hello"
varA=1.0

3. Powerful string functions: Combining Strings and Characters
Let Smiley_Face: Character = "<smiley face>"
Let Sad_Face: Char = "<Sad_Face>"

Let Both_Faces=Smiley_Face+Sad_Face 

Now that is really impressive, just how would the Fox be able to do that?? ... 
Lots of head scratching

4. String Interpolation
let a=3, b=5
// "3 times 5 is 15"
Let result = "\(a) times \(b) is \(a*b)

Just HOW difficult would this be in VFP!!!!!!! NOT!

5. You can have different values in a case statement, you can match against 
objects and even match against a "statement" e.g

Case: ((A or B or C) and C)

Seen that before somewhere!!!

The one thing I did like is the dictionary handling features, a little like 
adding the best bits of Python to VFP.

Take a look if you want a sly smirk!
https://www.youtube.com/watch?v=A0C6L4XmrZM

Oh well, just an observation and they do say what comes around goes around.

Next Best thing .... VFP

Dave




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to