Swift in 100 Seconds

Поділитися
Вставка
  • Опубліковано 28 вер 2024
  • Swift is a modern programming language developed by Apple. It is commonly used to code apps for iOS and MacOS, but is open-source and can be used outside of Apple’s walled garden.
    #apple #programming #100SecondsOfCode
    🔗 Resources
    Swift Docs www.swift.org/
    Swift Announcement • Video
    Kotlin in 100 Seconds • Kotlin in 100 Seconds
    C in 100 Seconds • C in 100 Seconds
    🔥 Get More Content - Upgrade to PRO
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
    🔖 Topics Covered
    - What is Swift?
    - Swift vs Objective C
    - Apple Swift Basics
    - Swift Syntax and Memory Safety
    - When was Swift Announced?

КОМЕНТАРІ • 666

  • @Fireship
    @Fireship  2 роки тому +735

    Subscribe to my walled garden of content 🍎

    • @Phoenix-CM
      @Phoenix-CM 2 роки тому +8

      I love the kids that say "First reply"
      EDIT: They can't do that now :)

    • @johntony366
      @johntony366 2 роки тому +7

      Do C# pleaseeee

    • @pilearn1266
      @pilearn1266 2 роки тому +3

      Swift is love ❤️

    • @rishabsharma5307
      @rishabsharma5307 2 роки тому +4

      Can you make a video on "How to research like a pro"

    • @JB-fh1bb
      @JB-fh1bb 2 роки тому +1

      I appreciate this joke

  • @Ma1ne2
    @Ma1ne2 2 роки тому +1877

    Anyone else wanting to see LLVM in 100 seconds?

  • @everyhandletaken
    @everyhandletaken 2 роки тому +454

    Awesome timing, was recently giving Swift some thought, as my next unnecessary play thing 🤓

    • @georgeelsham
      @georgeelsham 2 роки тому +6

      I would definitely recommend it!

    • @abh1yan
      @abh1yan 2 роки тому +6

      Report

    • @WillAmaral29
      @WillAmaral29 2 роки тому +22

      Me too, “What should I invest my time in learning while leaving tons of unfinished side projects?”. Swift was one of the options, so I guess Swift it is.

    • @oluwolegideon3968
      @oluwolegideon3968 2 роки тому +1

      Same here...

    • @everyhandletaken
      @everyhandletaken 2 роки тому +3

      @@WillAmaral29 😂 😂 I thought it was just me that does that- glad I’m not alone ☺️

  • @jeanjpnm
    @jeanjpnm 2 роки тому +137

    "It uses automatic reference counting to manage memory automatically"
    _proceeds to show memory that will never be released_

    • @lanye2708
      @lanye2708 2 роки тому +14

      the best part is you can't tell if he's joking or not

    • @31redorange08
      @31redorange08 2 роки тому +2

      @@lanye2708 I can. He isn't.

    • @codediporpal
      @codediporpal 2 роки тому +19

      @@lanye2708 He likes to throw in these little easter eggs.

  • @joecardenas7015
    @joecardenas7015 2 роки тому +51

    Swift is amazing! Some more terms to research would be: Protocol Oriented Programming (Protocols), Structs in Swift, If Let syntax. There’s more but those are the first ones I thought of. Also, through the Swift Evolution process, more development is always being done to make the language more powerful and easy to use.

  • @saeedbaig4249
    @saeedbaig4249 2 роки тому +870

    I played around with Swift back when I used to use Mac and I have to say… Swift is the most sensible, sane and pleasant language I’ve ever used. Simple for easy beginner things yet gives all the features & efficiency you could want for serious applications.
    Shame it doesn’t really exist outside of Apple’s ecosystem.

    • @randomizednamme
      @randomizednamme 2 роки тому +65

      It’s getting there slowly, async/await and other new async features other languages don’t have were just added, as well as better Windows support, so I can see web servers becoming more popular in the next year or two once things catch up

    • @farhandikazahrir6657
      @farhandikazahrir6657 2 роки тому +15

      @@randomizednamme even without async await, it's a great language. but the adoption rate tho, low

    • @adlsfreund
      @adlsfreund 2 роки тому +14

      @@randomizednamme better memory management and generics improvements are on the way now too!

    • @markuspfeifer8473
      @markuspfeifer8473 2 роки тому +4

      @@adlsfreund waiting for Rust-like ownership, higher kind types and opaque return types with specifiable associated types. And it would be good to get better specialization guarantees for generic types. Oh, and Vapor could really use a complete overhaul inspired by composability patterns seen e.g. in SwiftUI, but swift on the server isn’t really a big thing yet

    • @markuspfeifer8473
      @markuspfeifer8473 2 роки тому +18

      Caveats: XCode sucks and the compiler sometimes takes minutes to spit out a mysterious segfault without indication what the actual problem was. But it’s not much worse than with other languages. And in return, you get a package manager for which you don’t need to learn another language - it’s swift!

  • @PetePeteRepeat
    @PetePeteRepeat 2 роки тому +10

    PLEASE make more videos on Swift! Maybe on the SwiftUI and UIKit frameworks? I love your channel and this has been my favourite video so far!

  • @Pho3nixHun
    @Pho3nixHun 2 роки тому +220

    The syntax is insanely similar to Typescript.

    • @bob_kazamakis
      @bob_kazamakis 2 роки тому +94

      The swift “let” === js “const” definitely trips me up a lot

    • @thespacejedi
      @thespacejedi 2 роки тому +50

      It's even more similar to kotlin

    • @sergten
      @sergten 2 роки тому +1

      I was gonna say.

    • @bakedbeings
      @bakedbeings 2 роки тому +1

      Also like Nim

    • @ДмитрийГлушко-р8ж
      @ДмитрийГлушко-р8ж 2 роки тому +17

      @@thespacejedi it's rather the other way around, Kotlin is similar to swift

  • @Gregorius421
    @Gregorius421 2 роки тому +10

    "Congratulations! Your app is now ready to seek approval on the apple appstore."
    The main lesson 😂

  • @escapadechannel8379
    @escapadechannel8379 Місяць тому +1

    Now i a fully fledged IOS swift developer after this tutorial thanks man.

  • @leontius5502
    @leontius5502 2 роки тому +25

    This was pretty swift, good job man!

  • @harunadess
    @harunadess 2 роки тому +5

    A more fitting ending might have been "..your code is now ready to seek rejection from the App Store" - since we know how particular and arbitrary they can be. Maybe not with code in general, but with app functionality.

  • @joeseabreeze
    @joeseabreeze 2 роки тому +6

    One of the best languages out there. I wish it were more popular outside of the Apple eco

  • @ci6516
    @ci6516 11 місяців тому +1

    Ok time to update git and resume ..
    -knowledgeable and skilled in swift programming

  • @Maartz
    @Maartz 2 роки тому +3

    Furthermore, Swift is much more Protocol Oriented., It uses protocols (interfaces) to extends the types of a struct/class.
    It forces the usage of Structs rather than Classes. Mainly because classes are passed by reference. Hello again mutability.
    You can also easily extends a built-in protocol by using extensions.
    And if you want to make a backend application, KItura from IBM and Vapor are great tools to get started!

    • @ladhibidda
      @ladhibidda 3 місяці тому

      protocols = typeclasses
      generics = polymorphic types
      structs = product type
      enums = sum type

  • @maximcoppieters
    @maximcoppieters 2 роки тому +6

    I'd absolutely love a full tutorial i've wanted to use it for a long time

  • @orc13a
    @orc13a 2 роки тому

    These short videos about languages and other things are golden.
    Keep them coming 🤩🤩

  • @bobbyv3
    @bobbyv3 Рік тому +1

    Swift really is a great language. My favorite to code in.

  • @fiveoneecho
    @fiveoneecho 2 роки тому +3

    Swift is one of my favorite languages to write in, although I've only built like two projects with it and usually am using C++ or Java.

  • @mcj1m_noonewillfindthis
    @mcj1m_noonewillfindthis 2 роки тому +8

    Hey, could we get a 100sec video of an esoteric programming language? I think it would be quite fun...

    • @daleryanaldover6545
      @daleryanaldover6545 2 роки тому +1

      speaking of which, youtube just recommend me watching chicken and brainf*ck esoteric languages

  • @samyogdhital
    @samyogdhital 2 роки тому

    Fireship literally explaining the full basics of any technologies within 100 seconds.💥

  • @wlockuz4467
    @wlockuz4467 2 роки тому +5

    As a mobile developer, I like it when big companies accept that their current language is not up to the mark and create something new from scratch instead of just patching the old and creating more drawbacks than benefits. Google did exactly this with Java and Kotlin for Android!

    • @vibovitold
      @vibovitold Рік тому

      no, they didn't do "exactly" this. Kotlin was created by JetBrajns, not by Google. Google adopted it as an official language for Android, and contributed to its development, but they didn't create it, much less "from scratch".

  • @chris-hu7tm
    @chris-hu7tm Рік тому +1

    never used swift but I get the impression that its not really fast

  • @lanceang795
    @lanceang795 2 роки тому

    My man makes every language the best

  • @xtopy9145
    @xtopy9145 2 роки тому +7

    I've been considering playing with swift for a while now. This video made it soo incredibly easy to get some grip. You made it seem incredibly similar to JavaScript which greatly helps take off some edge. I love how you explain things. Looking forward to a 'Beyond 100 seconds' with swift :)
    cheers!

  • @Voided2
    @Voided2 2 роки тому +1

    damn good timing i was just thinking about learning swift but now i really want to

  • @Calslock
    @Calslock 2 роки тому +1

    So that's what REPL means...
    Also, I love those picture-in-picture code snippets 🤗

  • @christiansimbarashe
    @christiansimbarashe 2 роки тому +1

    May we have an Objective - C in 100 seconds video?

  • @BitBrain0
    @BitBrain0 2 роки тому +1

    No mention of protocols?! I know there is a lot to cover in 100 seconds, but POP is at the core of Swift.

  • @uttiya10
    @uttiya10 2 роки тому

    I was waiting for this video!! 🔥

  • @JanDalhuysen
    @JanDalhuysen 2 роки тому +3

    yo that's finna woke 🔥🔥🔥

  • @connorgreene8834
    @connorgreene8834 2 роки тому

    I would like to see Haxe in 100 seconds, It allows you to compile your Haxe code to java,cpp,lua,php and is very usefull to make a full-stack application

  • @samuel01411
    @samuel01411 2 роки тому +1

    If I recall correctly you can call C or objective C with swift

    • @DimitrisSartzetakis
      @DimitrisSartzetakis 2 роки тому

      Yes for example you can put an “@objc” above a function to make it an objective c one

  • @whoman7489
    @whoman7489 2 роки тому +1

    one of these codes can easily be passed as typescript… i’m actually baffled by how syntactically similar they are!

  • @bolow
    @bolow 2 роки тому

    Swift is like if Typescript and Golang had a baby

  • @ermiasbunaro
    @ermiasbunaro 2 роки тому

    Thanks, Awesome content. The full swift tutorial would be amazing.

  • @Ihavetoreturnsomevideotapes
    @Ihavetoreturnsomevideotapes 2 роки тому +4

    *Spring in 100 seconds*

  • @Abdullah_Osama
    @Abdullah_Osama 2 роки тому

    man , google assistant actions in 100 seconds

  • @trappedcat3615
    @trappedcat3615 2 роки тому +1

    "let" in JS should have signified a constant like in Swift. Scope or block keyword should be used instead of the let JS.

  • @dobo7227
    @dobo7227 2 роки тому +1

    LLVM in 100 seconds. i hear it so much but have no clue what it is

  • @weshuiz1325
    @weshuiz1325 2 роки тому +1

    employers: at least 10 years swift expirience
    swift: _created at 2014_

  • @goktugerol1127
    @goktugerol1127 Рік тому

    When you mix Typescript and Ruby = Swift

  • @FloodPower
    @FloodPower 2 роки тому

    what a fantastic series. cheers

  • @Louisianish
    @Louisianish 2 роки тому +1

    If Python and JavaScript had a love child, it would probably turn out to look something like Swift.

  • @poopcatgameplay8495
    @poopcatgameplay8495 2 роки тому +1

    do c# next

  • @hgmdev
    @hgmdev 2 роки тому +1

    What about delphi, pascal?

  • @hos7012
    @hos7012 2 роки тому

    one year with swift , it is the best language BUT still related to apple products ONLY
    even backend need time to framework like vapor to mature .

  • @youcefmoulla1828
    @youcefmoulla1828 2 роки тому +2

    Next : Fortran in 100 second 😅

  • @Viralvlogvideos
    @Viralvlogvideos 2 роки тому

    please make a video on swift vs rust

  • @vibovitold
    @vibovitold Рік тому

    As usual, hundreds of web developers for whom every syntactically modern language looks like JavaScript/TypeScript :)

  • @zerosandones7547
    @zerosandones7547 2 роки тому

    C# in 100 seconds, pleaseee 😍

  • @japroz
    @japroz 2 роки тому

    Jeff finally started using his mac for recording

  • @shantaram7378
    @shantaram7378 2 роки тому

    Left at 0:22 isn’t obj-c.
    Found a mistake at fireship vid. Feel so proud of myself.

  • @mikahaarahiltunen
    @mikahaarahiltunen 2 роки тому

    A very nice overview!

  • @antonaparin
    @antonaparin Рік тому

    1:13 Correction: Colon

  • @hurensohn7605
    @hurensohn7605 2 роки тому +1

    I really hope the language gains sole track outside of the apple ecosystem. I love it so much.

  • @matthewboyer4212
    @matthewboyer4212 Рік тому

    by adding a colon after the variable name, not semicolon

  • @le9038
    @le9038 2 роки тому +1

    I can't believe apple turned a more complicated c++ to an easier to type peice of code...

  • @shyrym
    @shyrym 2 роки тому

    Use this for my Spheros I have 3 2.0 spheros 1 spark plus a bb-8 a r2-d2 an Ollie a sphero Specdrum

  • @nemanjalekic
    @nemanjalekic 2 роки тому

    Ruby/Rails please!

  • @harrisongilbert
    @harrisongilbert 2 роки тому

    Next on the agenda is Objective-C.

  • @eyemotif
    @eyemotif 2 роки тому

    if youre learning to program i think swift is a really good option

  • @ASHISH-yo2sh
    @ASHISH-yo2sh Рік тому

    awesome quality content!!!

  • @kingundead4310
    @kingundead4310 2 роки тому

    Haskell in 100 seconds. ❤️

  • @roxxel8167
    @roxxel8167 2 роки тому +3

    CSharp in 100 seconds 💢😠

  • @trsch5384
    @trsch5384 2 роки тому

    Where can i find the background music? I love it

  • @nanonkay5669
    @nanonkay5669 2 роки тому

    I thought I was watching a Kotlin video for a second there

  • @7heMech
    @7heMech 2 роки тому

    That with let is kinda confusing where's my const?

  • @Helpexplorer
    @Helpexplorer 2 роки тому

    me, who has been programming python for years, and thought let me learn swift... I think python has already taught me swift 😁

  • @smol5601
    @smol5601 Місяць тому

    I wish the iPad had Xcode 😔

  • @Deighvihd
    @Deighvihd 2 роки тому

    What a swift video

  • @abdikrisna8991
    @abdikrisna8991 2 роки тому

    Next, Ruby in 100 second

  • @101gameingcheats
    @101gameingcheats 2 роки тому

    The let/var in swift is gonna get so confusing if you're used to let/const from js

  • @ShredzZ
    @ShredzZ 2 роки тому

    Hi, do you think iOS development is good career path if I want to be full time freelancer? Most of ppl saying the web dev is better for freelancing but im enjoying swift more than other languages. What do you think?

  • @smartypantscoder6912
    @smartypantscoder6912 2 роки тому +2

    Feels like Apple swiftly reinvented the Javascript.

  • @pramiths6025
    @pramiths6025 2 роки тому

    Can you please create a Neo.mjs video in 100s?

  • @mjutteau
    @mjutteau 2 роки тому +1

    Ocaml next ?

  • @mahipalsoneja1048
    @mahipalsoneja1048 2 роки тому

    Which software do you use to make your videos?

  • @tenuksdnbhd
    @tenuksdnbhd 2 роки тому

    Is there any practical applications for Swift outside of Apple-made environment (i.e iOS, macOS etc) other than educational purpose??
    I mean, is there any Windows/Linux application that uses Swift? An embedded system or server application maybe??

  • @tommy.3377
    @tommy.3377 4 місяці тому

    Rust users: So its rust with classes

  • @EmmanuelBrittian-j7j
    @EmmanuelBrittian-j7j 14 днів тому

    Beau Manors

  • @Ken2K5
    @Ken2K5 12 днів тому

    I am waiting for 100s of XAMARIN

  • @MhdSamad96
    @MhdSamad96 2 роки тому +142

    Great video 👍
    A small detail is that at 1:25, it should be “colon” instead of “semicolon”

    • @max_mittler
      @max_mittler Рік тому +1

      thanks, watched that part five times thinking I was missing it

    • @sinisterrectus
      @sinisterrectus Рік тому

      yeah i too noticed that

  • @ch4r4cter
    @ch4r4cter Рік тому +12

    Why doe this look like JS and Python combined?

    • @pookiepats
      @pookiepats 5 місяців тому +2

      Hmm i wonder why it looks like the two most popular languages on earth…HMMM HOW DID THIS HAPPEN HMMMMMM

    • @alltaxationrequirescops
      @alltaxationrequirescops 2 місяці тому

      Never insult Swift like that again

  • @pelicanoe
    @pelicanoe 2 роки тому +331

    Swift is really underappreciated as just being a good and modern programmming language

    • @tanaykamath1415
      @tanaykamath1415 2 роки тому +52

      The issue is that one needs a mac inorder to build native iOS apps

    • @swordz2330
      @swordz2330 2 роки тому +45

      @@tanaykamath1415 yeah thats stupid. I use linux on my main pc arch btw but use an iPhone as my main mobile device so I cant really develop apps for iOS. Also its really expensive. I guess its just the apple way of doing things

    • @OcnarfPro
      @OcnarfPro 2 роки тому +14

      @@tanaykamath1415 I installed macOS on roblox

    • @select_from_users5842
      @select_from_users5842 2 роки тому +12

      @@aayushtheapple arch users are the vegans of Linux

    • @aayushtheapple
      @aayushtheapple 2 роки тому

      @@select_from_users5842 damn true

  • @elmomertens
    @elmomertens 2 роки тому +483

    Thank you for covering Swift!
    If I may add something here, in Swift structs are commonly used in place of classes. They are similar in terms of functionality, but each one has its own strengths and weaknesses. And also, inheritance is not really a common occurrence in Swift, instead people tend to write protocols - Of course, you can still make a class that inherits another, but writing with protocols makes your code more modular and composable! There are a lot of interesting and useful language features that cannot possibly go into a 100 second video, so I hope people will take more interest in Swift 🥳

    • @HDSQ
      @HDSQ 2 роки тому +7

      Are protocols like interfaces in Java and C#? How do they work?

    • @UltravioletMind
      @UltravioletMind 2 роки тому +8

      ​@@HDSQ i don't know java or c# but protocols allow you to add custom functionality to structs ,classes and other types that conform(implement) to certain specs that you can define in the protocol. If a struct conforms to a protocol it will gain the functionality implemented in the protocol. It is a very powerful tool which lets you extend and "inherit" functionality by simply conforming to a protocol. you can even create protocols for built in types like arrays etc. eg you could add a protocol to arrays to return all indices of a value in the array. and any array will have access to the protocol.... so long as the array conforms to the protocol ( eg. the elements would probably need to be identifiable; which is also a protocol)

    • @georgeelsham
      @georgeelsham 2 роки тому +27

      @@HDSQ Yep, similar to Java interfaces. In Swift you can declare properties and methods that a conforming class/struct/enum etc must conform to. You can also create default implementations for these properties and methods like in Java.

    • @tanaykamath1415
      @tanaykamath1415 2 роки тому +2

      @@UltravioletMind looks like Kotlin extension functions

    • @mainaksengupta6248
      @mainaksengupta6248 2 роки тому +3

      You have successfully sold me to pick up swift, thank you good person on the internet.

  • @farhansangaji5029
    @farhansangaji5029 2 роки тому +114

    Great language in overall, thanks for the explanation. It feels like i got more in this 100 seconds than me procrastinating the whole day

    • @abh1yan
      @abh1yan 2 роки тому +2

      @Rafly Tzy report

    • @farhansangaji5029
      @farhansangaji5029 2 роки тому +3

      @@abh1yan roger

    • @ssholum
      @ssholum 2 роки тому +3

      That's why I'm here. Now I can complete the day thinking that I've done at least something productive!
      Now, back to procrastinating.

    • @abh1yan
      @abh1yan 2 роки тому +1

      @@ssholum bravo

    • @farhansangaji5029
      @farhansangaji5029 2 роки тому +1

      @@ssholum bravo

  • @AkshatSinghania
    @AkshatSinghania 2 роки тому +46

    There is one jeff who makes awesome content for developers in 100 secs , and then theres the evil jeff who went to space for 100 secs

    • @illuzati
      @illuzati 2 роки тому +4

      Underrated comment

  • @liamveary
    @liamveary 2 роки тому +64

    Please do Lua in 100 seconds!

    • @artoshia
      @artoshia 2 роки тому +3

      And also Luau! (it was recently open sourced, (its a variant of lua but with types and many other useful functions including much more speed!))

    • @OcnarfPro
      @OcnarfPro 2 роки тому +1

      @@artoshia roblox lua

  • @daleryanaldover6545
    @daleryanaldover6545 2 роки тому +45

    Jeff: "Swift is open source so you can create something outside apple platform".
    Me: That's great Jeff!
    few seconds later
    "Congrats for watching till the end, you can now publish your work on apple and hopefully they approve your work."
    Me: Wait...what?!

    • @bakedbeings
      @bakedbeings 2 роки тому +5

      Thing you can do != most common use case

  • @rahiyansafin449
    @rahiyansafin449 2 роки тому +11

    C# please!

  • @zakharkholboiev842
    @zakharkholboiev842 2 роки тому +227

    Thank you very much, Jeff!
    I appreciate your content 🙂
    Waiting for:
    - WebWorkers in 100 seconds
    - WebStorage (including indexedDB, WebSQL) in 100 seconds
    - Repaint/Reflow in 100 seconds
    - Critical Rendering Path in 100 seconds

    • @creeper283
      @creeper283 2 роки тому +14

      If your critical rendering path takes 100 seconds, you might have a performance problem!

    • @boiimcfacto2364
      @boiimcfacto2364 2 роки тому +3

      The day Jeff makes repaint/reflow in 100 seconds is the day newbies will be able to steal my job, so no thanks XD

    • @zakharkholboiev842
      @zakharkholboiev842 2 роки тому

      🤔

    • @Gregorius421
      @Gregorius421 2 роки тому +2

      Exquisite choice of topics.

  • @paragjyotideka1246
    @paragjyotideka1246 Рік тому +9

    Learning to code swift, from a nodejs, react background, and have to say, it truly feels like a language that Apple developed. It just makes sense.

    • @mad_t
      @mad_t Рік тому +1

      XCode was also developed by Apple. And calling it shit would be a praise.
      Obj-C is a bloody mess, and it was also made by Apple.
      I guess you can see my point. Made by Apple doesn't mean good and sane.

    • @paragjyotideka1246
      @paragjyotideka1246 Рік тому +4

      @@mad_t lol, have you used android studio?

    • @l_ravid
      @l_ravid Місяць тому +1

      ⁠​⁠​⁠@@mad_t Obj-C wasn’t made by Apple, but by Tom Love and Brad Cox. NeXT (founded by Steve Jobs) used it for its operating system NeXTSTEP, and later Apple bought NeXT, this is how it became the main language on their platforms. The syntax looks strange indeed, but if you consider it was released before C++ (in 1984), and inspired by Smalltalk, it's a different story.

  • @Garfield_Minecraft
    @Garfield_Minecraft 5 місяців тому +2

    that's just javascript isn't it?

  • @leo-hao
    @leo-hao 2 роки тому +4

    i know its a series, but this was the perfect opportunity to name the video "Swift, swiftly"

  • @Neoh53
    @Neoh53 2 роки тому +1

    a constant declare with "let", as a js dev, i don't like this.

  • @jaeyoungchoi
    @jaeyoungchoi 2 роки тому +2

    If it weren't for Swift, I would not have even touched iOS development. Objective C is downright unenjoyable to look at

  • @aniketfuryrocks
    @aniketfuryrocks 2 роки тому +27

    Indeed, Swift is a very good language, on power with rust and go. Had it been for the language to be loosely coupled with apple, it would have seen better adoption on multiple platforms and environments.

    • @hi_arav
      @hi_arav 2 роки тому +9

      > on power with rust and go
      Largely depends on the context. Rust and Go are in different leagues of there own, e.g. Go would not be the language to implement a kernel.
      > loosely coupled with apple,it would have seen better adoption on multiple platforms
      Not sure I agree. If we look at Kotlin, which is not loosely but **largely** coupled with Android development, Stack Overflow Developer Survey shows Kotlin as more loved than Swift. In the same vein as Swift, Kotlin supports multiple platforms via its Kotlin Native via LLVM, the same compiler toolchain as Swift.
      I think Swift is a very fine language, but I'm not sure if it innovates more than other languages, hence why it's stagnated in adoption outside of iOS.

    • @saadisave
      @saadisave 2 роки тому +10

      @@hi_arav The Swift developers do not prioritise multi-platform support, which is a design goal for Kotlin. That alone explains the difference.

    • @MrHamsterbacke756
      @MrHamsterbacke756 2 роки тому +2

      @@hi_arav Why do you think Kotlin is largely coupled with Android development? Kotlin is pretty popular for backends too.

  • @stylewithcss
    @stylewithcss 2 роки тому +3

    Imagine switching to Swift after Javascript, and using `let`.

    • @TokyoXtreme
      @TokyoXtreme 2 роки тому +1

      I went to JavaScript after Swift and it wasn’t a problem. Swift is “use let 90% of the time” and JS is “use const 90% of the time”.

  • @eduardstefan6833
    @eduardstefan6833 2 роки тому +1

    let => constant ... I can hear JS developers dying inside.