Skip to main content

Do you want to learn to program? Start with Swift, the language with the future

Do you want to learn to program? Start with Swift, the language with the future


Knowing how to program will be as common in the near future as it is to know English today, so it is normal that many have begun to worry about learning some programming language.But, what programming language is the most interesting? Our bet is Swift.


Swift, the new language introduced by Apple in 2014


Do you want to learn to program? Start with Swift, the language with the future


Apple introduced in 2014 its new programming language called Swift .The aim of this language is in short to offer a solution that allows you to edit real-time code of Cocoa and Cocoa Touch.He doesn't just stand there, so let's see what he offers a little more.


The first thing to note is that it is a programming language that since December 3, 2015 is Open Source .And you can find more information, as well as all the necessary documentation , on its Swift.org website and the github repository github.com/apple.Now what does it offer?


Swift is a language that is focused for all those who are starting to program and also to be the basis of the future development of mobile apps.In principle, for the iOS apps , although everything points to gain greater prominence among the major technology firms, such as Google, Facebook or Urber, among others, with Google being the most interested in becoming a top-level language in Android.


Swift combines the best of other languages, such as C or Objective-C, with features focused on programming with objects such as classes and protocols, flow control, types, operators, etc.Also, it stands out for being very fast thanks by using a high-performance LLVM compiler that allows you to take full advantage of the device's hardware when working natively.


Reasons to learn Swift


Do you want to learn to program? Start with Swift, the language with the future


And why should we bet on Swift? A good answer could be "and why not", but if it doesn't convince you, here are some reasons.


The first is that Swift is not, as we have said, an exclusive language of iOS.Also you can use stop programming in Linux and possibly Android shortly
Swift is a young language and that brings advantages.Seeing how it evolves helps to better understand how it works or want it to work.
Swift requires a lesser learning curve than other languages, facilitating programming and obtaining results ahead of time.
Swift represents the future of programming for Apple platforms and could soon join Android.Taking into account how succulent and profitable mobile app markets can be, it's worth it.
Swift receives more support every day.An example is IBM Swift Sandbox, something important if we also add the agreement reached by Apple and IBM to have better professional apps.

Enough? We hope so, because it really is worth betting on Swift.Although it will be you who determines to what extent it is interesting or not to build your own applications, the next mobile app or other ones with a professional market is increasingly valued.


Resources to learn to program in Swift



If you want to start programming in Swift, the first thing will be to surround yourself with the best resources.In addition to its website and github repository, you can add the following resources that come from Apple or users with years of development experience of applications.


Of course, we cannot forget Playgrounds, an app available for iPad that allows you to complete different lessons in order to obtain a base that allows progress in the creation of increasingly complex projects.


Swift 3, next stop


Do you want to learn to program? Start with Swift, the language with the future


After seeing all this now it is time to review the existing versions of Swift a bit.Although it is a young language, the truth is that it advances at a great pace, which demonstrates its value. The next stop will be Swift 3 The third version is now available as a Developer Preview and will be at the end of the year when the final version is distributed.


This third version will bring important news and a detail that everyone who is already involved in the development of Swift will know: will not be compatible in compilation with version 2 .So it is it will be necessary to modify or adapt part of the code that is written so that everything works as it should be.Fortunately, there will be a migration assistant provided by Apple itself so that much of that Work is done in a more friendly way.


Regarding the news of Swift 3, we have the possible elimination of NS prefixes, better translation of calls in Swift to Objective-C APIs, modification of some work commands and other details that can be seen in the documentation.Technical information that right now may not sound like anything, but that ultimately seeks to make programming more efficient with Swift.


So you know, if you want to enter the programming market, doing so with Swift seems like a great idea, because, in iOS 10, Apple will also offer Playgrounds, a fun and enjoyable way to learn Swift from the iPad Of course, it should not be confused with other programming languages ​​for blocks that may be more focused on children, since what they are teaching us with fun aesthetics can then be applied to the development of any type of app.


Therefore, you know, Swift is one of the best programming languages ​​you can learn. And no, it's not something you can only do on Mac, it can be installed on Linux for a long time.

Comments

Popular posts from this blog

Internet of plants: a tomato knows as much about networks as you

The possibility of plant species communicating through complex networks, what some scientists have called the internet of plants , is an issue that has been discussed for a long time, at least 20 years.It was in 1997 when the scientist Suzanne Simard , from the University of British Columbia in Vancouver (Canada), published a study in the journal Nature on how Forest plants use complex systems where species exchange nutrients, send warning signals and relate to the environment. Although there is no scientific consensus, several investigations seem to support this hypothesis.If confirmed, as we read in a fascinating report by the Sinc Agency, the forests would act as huge structures that are articulated under the soil through a network in which factors invisible to the human eye interact and can determine the future of the climate.Understanding how it works is the challenge that even science faces. internet of plants and the wisdom of forests The premise of Suzanne Simard ...

New setbacks for conspiranoicos: radiofrequencies do not affect health

New evidence published by the Scientific Advisory Committee on Radio Frequency and Health (CCARS) in its 2016 Radio Frequency and Health Report indicates that there are no adverse health effects derived of exposure to radio frequencies emitted by mobile phone antennas or radio and television broadcasting.No evidence has been found on the danger in wireless systems (Wi-Fi) or airport scanners. The new 2016 Radio Frequency and Health Report collects, updates and analyzes the scientific evidence on the subject for the period between January 2013 and June 2016. radio frequencies are not dangerous According to the conclusions of the report " the critical analysis of the evidence supports that there are no technical or sanitary reasons that justify the arbitrary and discretionary imposition of more demanding exposure limits than those recommended by WHO-ICNIRP and the Union European ", while the application of more restrictive limits" would imply increasing the n...

GIF history: where they come from and where they are going

Funny, witty, curious... GIFs have already become a regular resource in social networks and messaging applications and have become part of our daily lives and jokes.It is an image format that has evolved significantly throughout its history and is experiencing a new awakening. In fact, to find its origins, we must go back more than twenty years ago .A moment in which they had little to do with what we know today and an evolution that we could not stop review.So let's find out where they come from and try to catch a glimpse of where they are going. What is a GIF The word GIF responds to the acronym of Graphics Interchange Format , or what is the same, graphic exchange format.A term for the graphic format used in the network for both static images and animations.In more concrete terms, it supports 8 bits per pixel and allows you to display images with up to 256 colors simultaneously-limited by a palette of 16 million-. This particularity makes it a perfect ally of infogr...

Amazon Prime Video arrives in Spain: this is all you need to know

That during the last years there has been a change in the way we enjoy audiovisual content is an obvious reality, as reflected by the huge popularity of streaming services like Netflix and the like.A context in which new competitors are constantly added and that, after the landing of this company in our country just over a year ago, is in full transformation. In fact, today we have learned of the incursion of a new protagonist in this area.Yes, because Amazon Prime Video has just arrived in Spain .A landing that takes place only two weeks away that of HBO, which culminates in a 2016 sown of changes.But, what exactly does it consist of? What advantages and disadvantages does it have compared to the "of its kind"? WHAT AMAZON PRIME VIDEO OFFERS The type, quality and quantity of movies and series offered by the service will be key when determining your success.A catalog a priori smaller than that of HBO and Netflix, but in which we find titles like Seinfield , Into...

What we know and what we suspect in the new Facebook algorithm change

"In my time, we read the newspaper in Facebook ".By 2020, nostalgia has taken over billions of people.In its memory, 2018, when Facebook stopped being Facebook to become Facebook again.Paraiso of engagement for brands and media, land paid for clickbaits and fake news, the social network of Mark Zuckerberg has given a rudder to his algorithm. He wants to return to his origins .And this is what will happen. Related If something goes well, to change it.40.653 million dollars entered in 2017.More than 2.100 million active users per month, a quarter of the world's population.But Zuckerberg is not one of those, of which they are.Want a Facebook with more social connections between people and less presence of brands and media .And what do your users want? Nearly two-thirds of American adults consume news on social networks.More than half do so on their Facebook walls.Pew Research Center data points to a clear trend: Facebook is becoming a media platform.54% of Facebook u...

No kidding: selfitis exists and can be a problem

Sometimes one thinks that social networks were created to share photos of faces putting on little bones and images of dishes overflowing with appetizing foods or, better, of faces putting little bones in front of plates overflowing with appetizing foods in the same shot.is to see faces, faces, faces...all of them smiling, as if looking at the smartphone mirror was the height of happiness.And it does not seem that there are so many beautiful and happy people, or maybe yes, that you go Namely.What envy. Well, what we're going to do: Janarthanan Balakrishnan psychologists from the Thiagarajar School of Management in India; and Mark D.Griffiths, of the Nottingham Trent University, in the United Kingdom, have published an article in the International Journal of Mental Health and Addiction entitled 'A study on' Selfitis', which names this mania of going around the world taking pictures of oneself, as if beyond our curls the world had been destroyed by that meteorite th...

Twitter shows the best of ourselves (it wasn't always going to be the worst)

In the era of social networks, accustomed to interact daily with Facebook, Twitter, Instagram, Google or WhatsApp, we forget that these tools are phenomenal in the History of Humanity capable of mobilize hundreds of thousands of people in very different geographical locations in a matter of hours or even minutes. Already in the past, Twitter has asserted its more social dimension to mobilize people, companies or organizations and also, from a broader perspective, feelings of solidarity and support or also of rejection and repulses towards causes with an important mediatic impact.Recently, Twitter was once again the engine of solidarity after Dortmund's explosions as the Borussia Dortmund team bus passed on its way to the local stadium on the occasion of the Champions League match between the Borussia and the Monaco. These explosions did not have the devastating effect that they could have caused , so that everything remained in a major social commotion at international lev...

Most apps for children violate your privacy

Do you know if apps with which children enjoy their safety? A team of researchers from the International Computer Science Institute (ICSI) of the University of Berkeley has studied compliance with the Online Privacy Protection Act (COPPA) in these mobile applications for the little ones, through a scalable dynamic analysis that allows the automatic evaluation of privacy behaviors of Android apps. After studying 5,855 applications aimed at children, the research concludes that most of these apps, 57%, violate the privacy of their users mainly due to the use of data by third parties. apps for children and privacy Although many apps offer options in their configuration to respect the federal law that protects minors in the United States, by disabling tracking, their results suggest that a majority of applications either do not use these options or propagate them in wrong way. In addition, researchers believe that 19% of apps for children send user IDs to third parties to show ...

Are social networks damaging democracy?

The revelations according to which Russian agents inserted ads on Facebook that tried to influence the 2016 US elections raise a disturbing question: is Facebook bad for democracy? As an expert in the social and political repercussions of technology, I think that the problem is not exclusively from Facebook, but that it is much broader: Social networks are weakening some of the conditions that have historically enabled the existence of national states democratic. I understand that it is a dramatic statement, and I do not expect anyone to believe it immediately, but considering that almost half of all potential voters received false news promoted by the Russians in Facebook is an argument that must be debated. Associate Professor of Philosophy, Director of Center for Professional and Applied Ethics, University of North Carolina-Charlotte How we create a shared reality Let's start with two concepts: the "imagined community" and the "bubble filter". ...

This is how visual challenges star in some of the most viral content

Constantly, we all receive in our mail, our WhatsApp or our Facebook account, games that try to test our ingenuity, imagination or visual skill.There are a thousand types, more fun or darker.But they have one thing in common: we cannot avoid trying them and see if we are able to solve them .This is how the visual challenges star in some of the most viral content of the network. Visual challenges, why are we crazy? The visual challenges are games.So, they attend to this playful and fun part that people have no choice but to feed from time to time.They are pure and hard entertainment, with no more pretensions, and that desire to Having fun represents one of the main features that are sought when surfing the Internet . Another of the qualities for which they succeed is because they challenge the mind directly.Human beings love that feeling of feeling a little troubled, somewhat lost, but convinced that there is a solution to that enigma to which, sooner or later, it will come.Rathe...