Slashdot Mirror


Apple Introduces Swift Playgrounds App To Teach Kids To Code (theverge.com)

An anonymous reader writes: At their Worldwide Developers Conference in San Francisco today, Apple CEO Tim Cook said, "We believe coding should be a required language in all schools." To help achieve this goal, Apple introduced Swift Playgrounds, a new app that is meant to teach kids basic coding skills in Apple's chosen language. It teaches concepts like loops and conditionals, and uses an animated character tasked with performing simple challenges in a digital maze to help make learning fun. The app also offers suggested coding languages and will be completely free. Tim Cook described it as "a powerful new way for kids to learn to code," and went on to compare writing code to basic literacy. "I wish Swift Playgrounds was around when I was first learning to code," said Apple's senior vice president of Software Engineering Craig Federighi. "Swift Playgrounds is the only app of its kind that is both easy enough for students and beginners, yet powerful enough to write real code. It's an innovative way to bring real coding concepts to life and empower the next generation with the skills they need to express their creativity." Apple announced a host of new features and improvements made to iOS and Mac OS X. Not only did they announce that OS X will now be called macOS, but the first version update will be called macOS Sierra. One of the biggest new features of the new OS is support for Siri.

73 comments

  1. Yay by Hognoxious · · Score: 0

    How long before Apple sue MIT, saying they ripped them off with Scratch?

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    1. Re:Yay by Anonymous Coward · · Score: 0

      How long before Apple sue MIT, saying they ripped them off with Scratch?

      Apple is making a smart move here. They understand the same thing as any drug dealer or tobacco company: get 'em hooked young and you get a long term customer. Of course you'll have a "better experience" with the latest iDevice, as long as you participate in the walled garden for a nice managed experience.

    2. Re:Yay by oh_my_080980980 · · Score: 1

      Hardly. Nobody was ever hooked on coding when exposed to it when they where young. Hooked on shiny new objects. Coding, know. It's boring and some guy from India will be doing it on an H1B Visa. Best spend time learning another trade.

  2. Logo by MightyMartian · · Score: 4, Interesting

    Anybody remember Logo, with all those drawing turtles? I remember my first introduction to recursion was in Logo.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
    1. Re:Logo by Anonymous Coward · · Score: 0

      I vaguely remember Logo. I was in college when it hit the scene. I thought it was pitched as a 4GL language. Look how well it stuck.....

    2. Re:Logo by __aaclcg7560 · · Score: 3, Interesting

      I had logo in the seventh grade in 1983. That's when I discovered I came from a "poor" family because we couldn't afford an Apple II computer and cable TV to watch MTV. Logo on the Commodore VIC-20 sucked donkey balls.

    3. Re:Logo by Anonymous Coward · · Score: 1

      You call yourself poor? My family was so poor I had to take the bus to the public library to read a book about what it would be like to own a computer with Logo. I'm completely serious about this.

    4. Re:Logo by Hognoxious · · Score: 1

      Bus? Luxury!

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    5. Re:Logo by __aaclcg7560 · · Score: 1

      Your library has books on Logo?! My library was so poor that I could only read books about COBOL and business logic.

    6. Re:Logo by jader3rd · · Score: 1

      Anybody remember Logo, with all those drawing turtles?

      I do remember Logo. I remember in the second grade that we'd file into the computer lab, the teacher would speak commands we would type into computer and the turtle would draw an object. Then once in a while a kid would screw up, and the turtle would fill the screen with lines, and we'd all find it funny. I'm pretty sure that the teachers had no idea what the different commands did, and no one ever mentioned it outside of class. Then when we went to the third grade no one mentioned it again.

    7. Re:Logo by Yvan256 · · Score: 4, Funny

      My library only had two books about computers. They were titled "Zero" and "One".

    8. Re:Logo by 101percent · · Score: 1

      Your post reminds of this speech by Eben Moglen. That guy is seriously unappreciated.

    9. Re:Logo by Anonymous Coward · · Score: 0

      Wait, your library had books?!

      Buddy, you don't know what poor is!

    10. Re:Logo by OOSCARR · · Score: 1

      Logo Writer! Yes!

  3. Next year Apple will release Prenatal Playgrounds by JoeyRox · · Score: 2, Funny

    So that fetuses will pop out already knowing how to code Swift.

  4. Re:Next year Apple will release Prenatal Playgroun by NotInHere · · Score: 1

    Its just in their interest. The more people can code, the less they have to pay them.

  5. Indoctrination by Anonymous Coward · · Score: 0

    "in Apple's chosen language"

    Be good little slaves now

    1. Re:Indoctrination by __aaclcg7560 · · Score: 1

      Swift has distributed multiprocessing support now? Cool!

    2. Re:Indoctrination by John+Bokma · · Score: 1

      "in Apple's chosen Open Source language" FTFY

    3. Re:Indoctrination by Yvan256 · · Score: 2

      Compared to what? Microsoft's C#? Oracle's Java?

  6. Teaching Swift to childern by edxwelch · · Score: 3, Insightful

    Swift features seem to get depreciated so quickly, it's highly likely that it'll be completely obsolete by the time they are grown up

    1. Re:Teaching Swift to childern by Anonymous Coward · · Score: 0

      No it's much worse than that. By the time these kids grow up, every coding job will be outsourced to Africa.

    2. Re:Teaching Swift to childern by __aaclcg7560 · · Score: 1

      No it's much worse than that. By the time these kids grow up, every coding job will be outsourced to Africa.

      Those will be the only respectable jobs that former Nigerian scammers can get in the future.

    3. Re:Teaching Swift to childern by 0100010001010011 · · Score: 1

      And so was anything available when I was growing up. TI-BASIC isn't something I use ever these days but it taught me the basics of loops and the like.

    4. Re:Teaching Swift to childern by Anonymous Coward · · Score: 0

      Coding is brown-collar work now, why do you expect coding will be even remotely respectable in the future? Coding will be something that just isn't done except by an invisible underclass of the lowest laborers.

    5. Re:Teaching Swift to childern by Anonymous Coward · · Score: 0

      Swift features seem to get depreciated so quickly, it's highly likely that it'll be completely obsolete by the time they are grown up

      We still teach people Latin...

      It's a good idea, not to turn kids into computer programmers, but for the same reason teaching them a year of French, Spanish, Latin, or whatever else is offered in schools. It teaches them to think about things differently.

    6. Re: Teaching Swift to childern by Anonymous Coward · · Score: 0

      great! because programming is totally about loops and stuff. well done.

    7. Re:Teaching Swift to childern by Anonymous Coward · · Score: 0

      It's not about learning to code. This is another Apple attempt to indoctrinate children into the Apple egosphere. They did it with the Apple II back when I was in elementary school. Thankfully, I had machine at home that was far superior. A TI99/4a.

    8. Re:Teaching Swift to childern by hoggoth · · Score: 1

      TI99/4? Amateurs! I had a Timex Sinclair that was so slow it couldn't handle a keypress and display output at the same time. Every time you hit a key the screen would go blank until you lifted your finger.

      --
      - For the complete works of Shakespeare: cat /dev/random (may take some time)
    9. Re:Teaching Swift to childern by macs4all · · Score: 1

      It's not about learning to code. This is another Apple attempt to indoctrinate children into the Apple egosphere. They did it with the Apple II back when I was in elementary school. Thankfully, I had machine at home that was far superior. A TI99/4a.

      That was a joke, right?

  7. Re:Next year Apple will release Prenatal Playgroun by Anonymous Coward · · Score: 0

    I think they should just learn BASIC (Blastocyst's All-purpose Symbolic Instruction Code).

  8. Coder/Coder... by Anonymous Coward · · Score: 0

    Do these terms drive anyone else crazy? How about "computer programmer" or "software developer".

    When I think of "coder", I think of some slightly heavy-set guy in Brooklyn with the obligatory beard and thick, black glasses..

    1. Re:Coder/Coder... by Anonymous Coward · · Score: 1

      Computer programmers are nerds. Software developers are college educated nerds. Nerds are losers. Coders are millionaire rockstars who GitHub for Uber, bro. Coders are cool social winners.

    2. Re:Coder/Coder... by Yvan256 · · Score: 1

      I think you're missing something like "CODERS make APPS!" in there.

    3. Re:Coder/Coder... by Anonymous Coward · · Score: 0

      CODERS app APPS for UBER! UBER APPS!!

    4. Re: Coder/Coder... by Anonymous Coward · · Score: 0

      Luddite!!!

  9. Hour of Code Rip-off by Hougaard · · Score: 0

    They could at least have paid homage to www.code.org - This is reverse "not-invented-here" Apple syndrome...

  10. What goes around... by Anonymous Coward · · Score: 0

    When will it get back around to Mac OS 7.5.1?

  11. The future looks extremely bright for Swift. by Anonymous Coward · · Score: 1, Interesting

    Of all of the new programming languages that are out there, the future looks exceedingly bright for Swift.

    The new languages I'm referring to are Go, Rust, Swift and Scala.

    The worst of them is Rust. Its problems are numerous, ranging from a single buggy implementation, to awkward semantics, to a limited standard library, to a community that's hyper-focused on codes of conducts and forcing "tolerance" on all, to extreme hype. It doesn't help that it's backed by Mozilla, which a lot of people have their doubts about now that Firefox's market share has been dropping so low. Rust is generally seen with distrust by many.

    Go was looking promising for a while. It's backed by Google, and generally has good semantics. It has two implementations, including one built upon GCC. It has a reasonable community, and a large selection of high quality libraries. The language itself is quite primitive, and feels like it never got out of the 1990s, and its semantics and syntax both underwhelm.

    Scala was also looking promising for a while, but it ended up being extraordinarily complex, and very slow. Targeting the JVM ended up being a mistake, as it limited the usefulness of Scala for many users. Its community also remained quite small. Scala combined the worst of the Java mindset of unnecessary complexity with the worst aspects of functional programming.

    Swift, on the other hand, has everything going for it. It's backed by Apple, and has already seen much use for real applications. It has been continually improving, even if this means some breakage (which isn't a problem even for the least-skilled of developers). Its semantics are superb, and very practical. Its syntax is clean and easy to work with. It's modern and fast. Its standard library is getting better and better. Now that it has been open sourced and is supporting other platforms it is becoming a real winner for lots of programmers.

    If we look ahead 10 or 20 years, we'll very likely see Swift being the only one of those four languages seeing any real use. We've already seen Scala pretty much drop out of existence in practice. Go is starting to stagnate. Rust never even got out of the gate to begin with, and likely won't go anywhere in the long run as there are doubts that Mozilla will even be around in a few years (or if they are, they may not be able to fund Rust's development). Swift is the only one that's seeing real growth, and it's the kind of growth that we've seen from mainstays like C++, Java and C#.

    Although it's a young language, Swift is already showing that it has the staying power to be the sort of language that's still happily used decades from now.

    1. Re:The future looks extremely bright for Swift. by Megol · · Score: 1, Insightful

      Either a trolling attempt or display of genuine stupidity. My theory is that both are correct and you are a genuinely stupid troll.

    2. Re: The future looks extremely bright for Swift. by Anonymous Coward · · Score: 0

      it's Rusting

  12. all students in all schools.... yeah, right by Anonymous Coward · · Score: 1

    This is so much malarky I shudder to think what they do to their own kids, if any.
    And in the 1800s all schoold had to teach horsemanship, horseshoe making and carpentry.

    How about they learn some math, a language or two, and reading ( both reading and analysis/logic of what is being read )?
    How about writing skills? ( composition, if keyboard )
    History ( NON ADJUSTED ! )?
    How about they also get some low-level medical training? ( Red Cross? Civil Defense? )
    What about puzzles, poker, and DIY kits?

    And - the utter disgrace - how to get along, etiquette, how to follow rule and play games?
    You know, like normal kids....

  13. Boys too ! Yay ! by Anonymous Coward · · Score: 0

    Not a code.org initiative, so I guess those apps won't be Girls Only.

    That's nice.

  14. How easy is it to jump to real programming? by jader3rd · · Score: 1

    I'm assuming since it's an app it doesn't actually do anything outside of its little box. So the trick will be if it's easy for a kid learning in the Playground to then create a real executable to do whatever they want to their computer.

    1. Re:How easy is it to jump to real programming? by jasenj1 · · Score: 1

      From http://www.apple.com/swift/pla...:
      "Because youâ(TM)re working with real code, you can import and export directly between Swift Playgrounds and Xcode. So you can try out your ideas with the tool pros use to develop iOS and Mac apps."

      So it looks like there is a path to a more sophisticated dev environment if you outgrow the iPad sandbox.

    2. Re:How easy is it to jump to real programming? by macs4all · · Score: 1

      From http://www.apple.com/swift/pla...: "Because youâ(TM)re working with real code, you can import and export directly between Swift Playgrounds and Xcode. So you can try out your ideas with the tool pros use to develop iOS and Mac apps."

      So it looks like there is a path to a more sophisticated dev environment if you outgrow the iPad sandbox.

      Now that's cool!

      And they didn't even mention it.

  15. Re:all students in all schools.... yeah, right by Anonymous Coward · · Score: 1

    Hint: Tim Cook is gay. He has no children.

    Executives who do have children keep them away from computers. They send them to schools where they do not get iPads, where they do not stare at Swift Playgrounds, where they do not learn to code. That's for other people's children, apparently.

  16. What will be deleted from study? by Streetlight · · Score: 1

    What will "coding" replace in the currently expected education of students coming out of high school? Thirty percent of them admitted to college are unprepared for college courses and end up taking remedial work or flunk out. It could get worse with added course work. I could name any number of studies that probably would get short shrift but readers could figure them out. It's my understanding that in some states like where I live there are a minimum number contact hours required per year in school so if there are weather closures the hours must be made up. In another state I know that if the school bus delivers students to school and they turn around and immediately get back on the bus for a trip home that counts as one of the minimum required attendance school days. Are we going to add hours or school days for coding class?

    --
    In a time of universal deceit, telling the truth is a revolutionary act. George Orwell
  17. except if course by Anonymous Coward · · Score: 0

    that's not coding. nor anything even close. at best it's making move things on a screen. more like an adventure game...

    1. Re:except if course by Yvan256 · · Score: 2

      But they're getting introduced to the basic concepts of how computers work. Loops, if/else, variables, etc.

      They see the character on the screen being a total dumbass that only does exactly as its told, like a computer.

      The only thing they need to remember is that last part: "Computers are dumb, remember that when using a computer."

    2. Re:except if course by macs4all · · Score: 1

      But they're getting introduced to the basic concepts of how computers work. Loops, if/else, variables, etc.

      They see the character on the screen being a total dumbass that only does exactly as its told, like a computer.

      The only thing they need to remember is that last part: "Computers are dumb, remember that when using a computer."

      Well, if I were a kid, I think I would find it a lot more engaging than the typical first (well, second (not counting "10 GOTO 10") BASIC program output back in the day:

      1
      12
      123
      1234
      12345
      123456
      1234567
      123456789

  18. Do Any of these Work? by jasnw · · Score: 3, Interesting

    I have lost track of how many "teach the great unwashed masses to program/code" initiatives and gimmicks have come out since Logo. Has anyone anywhere actually done a real-world study to see if people subjected to this force-feeding actually becoming credible working programmers, or maybe even developers? And I don't mean a web "developer." I learned to program (many decades ago) because my job required it, I found out I enjoyed it, and I had things that I needed to do with it. Any time I want to learn a new language I wait until I find a project that could actually make use of the new language. Just coding some random thing that someone else thinks is neato-keeno (I said I've been doing this for decades) never taught anyone how to do anything. So, are there some hard studies on which to base throwing more money at this problem?

    1. Re:Do Any of these Work? by Anonymous Coward · · Score: 0

      Has anyone anywhere actually done a real-world study

      Yes.

      Welcome to the future where it takes less than 30 seconds to find the answers to questions of that sort. You're either completely unaware of the power of the modern search engine, or you're spreading FUD.

      I'm going with spreading FUD, as no one posting here is that stupid. Yeah, we've got some stupid users, but that would put you at the very bottom.

    2. Re:Do Any of these Work? by Anonymous Coward · · Score: 1

      Learning coding is not about coding exactly, but about learning a process that can help us understand the world around. The logic that is applied to language and mathematics helped us see the world as a structure. That structural understanding got us out of the woods and into the modernity. Like reading/writing/math, coding is pre-discursive; the knowledge and discoveries that can be exchanged come after.
      The world is increasingly becoming technologically driven so it follows a normalization process to be able to understand this world. I don't think anyone is proposing that learning to read and write means becoming able to write a novel or solve a mystery of the the universe, but rather to be able to process and understand that which only some of can synthesize into a structure. Learning how to code is meant to help us continue our social, cultural and biological journey out of the woods and into understanding. Modernity describes this process of understanding as enlightenment. We're constantly reminded by events around that individuals still live in a irrational world of mysticism and hysteria, and even I beyond the presented logic, I "hope" that coding will make better people. You can call me hysteric.

  19. pure adulterated crap by Anonymous Coward · · Score: 0

    How long ago was it that apple and microjunk stopped including a programming language within the os? Thats what has harmed coding more than anything else.

    1. Re:pure adulterated crap by Anonymous Coward · · Score: 0

      JavaScript is included in every web browser and every OS includes a browser.

    2. Re:pure adulterated crap by tepples · · Score: 1

      Let me ask a related but narrower question: How long ago was it that Apple and Microsoft stopped including a programming language within the operating system that is capable of reading and writing files chosen by the user, other than by copying and pasting between a text editor and the browser?

    3. Re:pure adulterated crap by WMD_88 · · Score: 1

      Apple used to include XCode on the DVD (or CD set) that came with their computers. Today, it's on the app store instead, and is free. You would only have to pay to get your app included on the app store. To program for yourself, on the Mac, is free.

      Microsoft makes a free version of Visual Studio, but it's rather limited. You can download it.

      Of course, neither of these is actually *included* within the OS in terms of being there by default, pre-installed, on every new computer. If that's what you meant, well...Apple never included such a thing on the Mac, ever (though the Apple II had it), and Qbasic went away with Windows 95, I think.

    4. Re:pure adulterated crap by jeremyp · · Score: 1

      Apple never did stop including such a language. Python is bundled with the OS.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    5. Re:pure adulterated crap by macs4all · · Score: 1

      Apple never did stop including such a language. Python is bundled with the OS.

      Actually, the list is a lot more extensive...

      And that doesn't include AppleScript and JavaScript, which are target-able in XCode. Even without XCode, AppleScript even has an IDE of sorts (AppleScript Editor).

  20. Re:all students in all schools.... yeah, right by Anonymous Coward · · Score: 0

    Coding, just like money, is for the poor.

  21. Don't let your kids even look at that faggot by Anonymous Coward · · Score: 0

    Tim Cook described it as "a powerful new way for kids to learn to code,"

    Do not let them admire his money or his ways. That dude sucks dicks. Dicks all up in his ass busting nuts all hot and smelly.

    Don't even teach them that about him.

  22. Sorry Apple... by Anonymous Coward · · Score: 0

    Any school that I've ever worked for would not be able to afford macs to do this with. It's Chromebooks all the way.

    1. Re:Sorry Apple... by jeremyp · · Score: 1

      It's an iPad app.

      There are a surprising number of schools here in the UK where the children are expected to own an iPad. Apple offers heavy discounts for educational use and easy payment terms.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
  23. Re: Next year Apple will release Prenatal Playgrou by Anonymous Coward · · Score: 0

    Abort!!!!

  24. Re: RUST CODE OF CONDUCT VIOLATION DETECTED by Anonymous Coward · · Score: 1

    LOL this needs to be +5 funny.

    It's sitting at -1 troll. I guess he made someone on the rust moderation team mad.

  25. Timmy Can't Code by Anonymous Coward · · Score: 0

    He never took and was not required to take FORTRAN77 at Auburn in is BS program!

    What a lair!

  26. Is there anything like this for Windows? by AbRASiON · · Score: 1

    Simple and easy starter stuff? Ideally in a language which is going to stick around? (or the lessons are adaptable in another language)

  27. Sibilant alliteration versus assonant accentuation by goombah99 · · Score: 1

    They won't sue first because it doesn't look or feel like scratch and second because the whole point of it is help kids learn and either would be a success.

    Now please says "MacOS Sierra Siri" 5 times fast. I can't believe they went from an easy soft vocalization of "Oh ESS ECHS" to MAK AWS. You don't put a soft word like Sierra after MacOS you need an assonant word like Tomhawk or KillerKlown. Then you change the name of Siri to something like Zika.

    Bad move.

    --
    Some drink at the fountain of knowledge. Others just gargle.
  28. Re:all students in all schools.... yeah, right by Anonymous Coward · · Score: 0

    Hint: Tim Cook is gay. He has no children.

    I don't know about Tim Cook; but I have heard that over 60% of gay men have children (and I would bet the percentage is even higher for gay women).

  29. Re:Sibilant alliteration versus assonant accentuat by Anonymous Coward · · Score: 0

    > I can't believe they went from an easy soft vocalization of "Oh ESS ECHS"

    It was never "oh ess echs," it was always "oh ess ten" because the X is a Roman numeral 10.

    Seriously, in 15 years you haven't figured that out?