Added: 2 years ago
From: ShadowofCatron
Views: 5,181
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (19)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • 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.

  • tutorial 4 please :)

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

  • I must say these videos are great. I thought they would be bad - but found myself watching them and following along.

    I think the format - large editor window and large font - helps a lot and makes it easy to follow.

    Keep it up. Cheers!

  • 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.

  • While removing the braces from method 'getOneAndFive ' it's said 'we don't need the braces anymore in the calling context', while Eclipse is marking the old call with braces as error. So it's not we don't need, but 'we are forebidden'. Why is this.

    Second question: What's the difference between a method and a function? Thanks.

  • @Unbekannter0Nutzer I don't really understand your first question. It sounds like you may not have JDT weaving set up correctly. I would recommend going back to the first tutorial and looking at the troubleshooting guide if you can't compile the sample snippet. Methods and functions are just different names for the same things, in some languages like Java they are called methods, while in Scala they are called functions.

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

  • I will try and get 4 made this weekend, but the ACT is Saturday, so if it happens it will be Sunday.

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

  • @ShadowofCatron Right now would be great timing as I've just finished a project at work and have some spare time!

  • @ShadowofCatron Right now would be great timing as I've just finished a project at work and have some spare time!

  • @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