I'd prefer something like -
if controller.navigationController {
controller.navigationController.pushViewController(myViewController,animated:true)
}
controller.navigationController?.pushViewController (myViewController, animated:true)
I'd prefer something like -
if controller.navigationController {
controller.navigationController.pushViewController(myViewController,animated:true)
}
I was kidding...If she did, it would not make any difference. Stage names are a totally separate trademark category from programming languages. Look up the USPTO web site for a full description of different trademark categories.
I wholeheartedly agree with your disagreement. Well said. I think Swift on the server-side will surpass Ruby's and PHP's initial buzz and pace. Especially with major players doing things like this:I wholeheartedly disagree with this.
IBM has already put Swift in the cloud. That was fast. You can now create and run Swift programs from your iPad.
https://developer.ibm.com/swift/2015/12/03/introducing-the-ibm-swift-sandbox/
I cringed.controller.navigationController?.pushViewController (myViewController, animated:true)
Doubt that'll happen (client-side), but PHP ... in about a year I'm looking forward to it swiftly going the way of Perl / the Dodo bird for me.Sorry Javascript. I'm looking to drop you and use SWIFT all day everyday...
I'd recommend not digging your heels in on this issue, and reconsider. Swift results in far more stable code once you become familiar with the language and some of its new concepts (which admittedly does take some time!). You'll be thankful for taking the time do learn it in the long run!
Not really. Swift will look very bizarre to you if you haven't done any programming at all. Maybe build gradually on top of your existing HTML knowledge with some PHP and JavaScript. Both of these have some of the flattest learning curves of all programming languages. Once you have a firm grasp of programming concepts like classes, objects, closures, scope etc, you can more easily transition to Swift, Objective-C or whatever.
Assuming you know all the programming concepts, switching to SWIFT is a breeze of course.
As a non programmer or a beginner I would NOT learn other languages first.
This is a bad suggestion that many programmers who are not teachers advocate. Teachers know that a good percentage of people fail to ever learn to program their way out of a paper bag. A large set of "all the programming concepts" is extremely difficult for many people to learn at the beginning.
Interactive teaching languages, such as Squeak, Logo and Basic, which only require a tiny subset of simple coding concepts to get started, are far easier to work with by typical absolute beginners. Programming languages based on a larger set of advanced concepts can come later.
I think your advice is backwards but given that you have experience I see why you said it. Assuming you know all the programming concepts, switching to SWIFT is a breeze of course.
As a non programmer or a beginner I would NOT learn other languages first. That will be the BIGGEST mistake and thats where 90% will fail. SWIFT coupled with Xcode, storyboards and auto layout is the BEST thing that can happen to a new developer. ONLY THEN did I venture into javascript and actually understand what the hell is going on.
The problem with other languages is that your IDE is whatever you want it to be and therefore if you don't have a great setup you don't know what the hell is going on. Of course assuming you got the perfect setup you are all set. But even then, as a new developer, javascript is just a little complicated and SWIFT is as straight forward as it gets. SWIFT as of now forces you to use Xcode as your IDE and some may argue Xcode is horrible, its truly ideal for new developers. It really depends on your perspective.
Overall I can only recommend SWIFT as a new developer. Begin there and venture to any other language and you will understand whats going on. With SWIFT and Xcode you can build an app and run it on your phone/simulator within minutes. The environment motivates you to learn more because the barrier of entry is just low.
Hope that helps.
Programming languages seem to be like religions. The fact that he said "python" made me almost choke on my tea. Python is really only useful in a couple of places.
Python is one of the better scripting languages, but I think it's a mistake to use it for anything of substantial complexity or with a considerable memory footprint or performance requirements. I would, however, see Swift being used in any of those cases. Hence why I choked when the original author suggested it was better. For anything complex in python, I've seen better projects that used C# or Java, for example.
A lot of algorithm research people use python for testing because it can handle large matrix operations easily, but as an example: Someone once said a particular brute force algorithm for natural language processing was untenable. I wrote the same algorithm in C++, and ran it. It ran plenty fast, minutes, even on a large dataset while it took hours or worse on moderate sized one in python, so while it was still not really fast enough for a production dataset in c++, python was just not the right language for the production version with any algorithm. Incidentally, it took me no longer to write it and a production ready version in C++ than the python version.
The only reason I'd use python is when I just want to open a text editor and type something out really fast and the speed it runs is not necessary. If it gradually grows larger and more complex, I would seriously consider rewriting it. Frankly, I don't think there is really any specific task for which python is the best choice, but I do still kind of like it.
Frankly, I don't think there is really any specific task for which python is the best choice, but I do still kind of like it.
I agree. I'm strongly anti-scripting languages except for small projects. If I had to use one, it would be PHP. JavaScript would be pretty low on my list. Anyone learning a first language should learn something like Swift, Java, or C#. All those languages give a firm grasp of what you are creating and how your application flows, and they promote good design. You also don't get lost in the details. Scripting languages are actually harder to use in larger projects, even though they seem easier for smaller tasks. JavaScript in particular, since it doesn't implement object oriented behavior, but instead gives one the ability to do it oneself, is actually pretty confusing to learn at first.
Im saying learn Swift FIRST because its such a basic and "Interactive" language THEN expand into other programming languages.
Calling Python a scripting language is a bit of an insult to the language- it is a 'real' / complete language by itself - including full object orientation functionality.
Python has a fantastic developer community behind it, frameworks / libraries for many types of roles.
There are quite a few high profile applications / games / web apps that use Python - that you'd probably never know were written in Python, that are doing just fine.
....
Hopefully we choose the right tools for the job.
Swift was not designed as a teaching language. It will likely fail at encouraging the same percentage of kids to program as did AppleSoft Basic did on Apple II's and similar 8-bit computers.
Swift was not designed as a teaching language. It will likely fail at encouraging the same percentage of kids to program as did AppleSoft Basic did on Apple II's and similar 8-bit computers.
Swift was not designed as a teaching language. It will likely fail at encouraging the same percentage of kids to program as did AppleSoft Basic did on Apple II's and similar 8-bit computers.
Thats such BS! It is THE language for learning to program. None of these languages should be designed to teach, they are designed to for programming. Swift just happens to be one you can learn in a breeze.
let you = dumb
Thats how easy it is! You guys stick to languages that will give you errors when you miss ";" at the end of every SINGLE line of code. YUCK!
You mean like missing a "." at the end of a sentence when you write... Yeah... that's really hard. (sic)
Guess we should remove all punctuation since they are a barrier to learning a language.
BTW, I already know/use Swift, and probably 100 other programming languages I've collected in 3 decades.
Swift is OK; but, for me, it is just another language on the big pile.
None of these languages should be designed to teach, they are designed for programming.
I think you read that wrong or I articulated that wrong. Im saying learn Swift FIRST because its such a basic and "Interactive" language THEN expand into other programming languages.
Thats such BS! It is THE language for learning to program.
No very unlike missing "." at the end of the sentence. Because if you miss a "." your whole essay won't be broken. And that was just an example of the many small annoyances of other programming languages, that swift overcomes.
what about weak and strong, synthesize. How about having to specify that a string is a string and you can't just do let myName = AceGreen. The list goes on
My point still remains for any beginner, Swift is highly recommend because of its low barrier of entry and with Xcode's storyboard, auto layout and size classes, you can develop an app in a few hours.
PS changed my let statement to be less rude. No need to call someone anything.
You can develop a lot of crap in a few hours....
I'd rather they teach design than coding. That's the skill that's sorely missing.