Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Блог пользователя Tornad0

Автор Tornad0, история, 8 лет назад, По-английски

Hi all,

Is it a good idea to use scala as a language to use in codeforces and why?

I find the language has its beauty of simplicity and fun, so I am wondering whether it is good enough for practice on codeforces. Thank you for your opinions!

(Btw, I really look forward anwsers from anyone who use or have treid scala in codeforces.) (Please don't downvote it if you think it is a silly question. I am just beginner of this language. Thanks)

Edit — to those who downvote me: You are just a bit of S

  • Проголосовать: нравится
  • -17
  • Проголосовать: не нравится

»
8 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Auto comment: topic has been updated by Tornad0 (previous revision, new revision, compare).

»
8 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Auto comment: topic has been updated by Tornad0 (previous revision, new revision, compare).

»
8 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Auto comment: topic has been updated by Tornad0 (previous revision, new revision, compare).

»
8 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I started going in similar way with Go (golang). So far I didn't reach my speed from C++, but is is still fun, and I learned something more in Go. To bo honest, this is not best way to learn Go, but it let me combine my hobbies.

»
8 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

IMHO it is a really good choice because:

  • less code than in Java, especially if you know the language well

  • performance can be on par with Java if you take some care (like not overusing functional constructs in the inner most loop, but eg. using "while" loop sometimes)

  • a rich standard collection library

  • less likely to "shoot yourself in the foot" than C/C++

P. S. And no, just using Scala is far from enough to "beat them all" as you seem to claim :)