Scala Tutorial 3

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,220
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 3, 2009

Return Values

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (ShadowofCatron)

  • tutorial 4 please :)

  • @jiminoc Alright, I promise I'll make it.

  • at about 4:20 to 4:39, code śtarts like this:

    def getOneFive () : (Int, Int) = (1, 5) /*and*/

    println (getOneFive ()). Then you change the method to:

    def getOneFive = (1, 5) /*and*/

    println (getOneFive), saying 'we no long _need_ parenthesis here', while the red errormark clearly says, that these _must_ be removed; compiler: error: getOneFive of type (Int, Int) does not take parameters.

  • @Unbekannter0Nutzer I meant that you can no longer have parenthesis there, there are not optional.

  • Thanks - very clear and very useful. Any sign of tutorial 4? :)

  • @itsmahfaaaace Okay, I promise I am posting another one today... :)

see all

All Comments (20)

Sign In or Sign Up now to post a comment!
  • this is just amazing how easy and fast you can write in Scala!

  • how you get syntax coloring like this?

  • This is very useful, thank you. The syntax reminds me a lot that of VBA

  • The "Identifier: Type" syntax reminds me of Pascal. Ah, memories...

  • looks nice

    however i can't help remembering why someone would learn Scala: cuz they already know some 2 other languages, and want to see why this scala thing brags on being so damn scalable :)

    could you skip to that part pls pls pls?

    basic syntax is boring, give us some of that inheritance/ interfacing / multithreads :D

    if i don't ask too much

  • A really good video.

  • @ShadowofCatron thanks for these tutorials. Any chance to get tutorial 4 somewhere ?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more