Комментарии:
I would consider Julia too.
ОтветитьScala is an unpopular and dying language. Choose Python, it is much more popular, more popular => more jobs => easier to get a job.
ОтветитьPython is not easy, it's depends what you call easy, Python is harder than Scala, that facade of simpler concepts and indentation can fool you, just look at multiple inheritance, MRO, and everything implemented internally as dictionaries from objects to static fields, classes ... etc etc, Scala stole some successful concepts from Python, like a star to break a list before feeding it to a function, higher order function, that is a pure Python thing, Scala i just watched half of the rockthejvm courses on it the best on the internet on that language, the good thing of it is accessing the JVM, scala is best described as a new take a programming language by a company that was around for 30 years, with the java language, lost it's popularity, scala is their new take on programming languages with all the advancements of the JVM, the things that i don't like about it but iam not an expert, is Scala has too many concepts, monoids, monads, partial functions, case classes ... objects in their weird way, it's definitely a language i want to learn for the JVM, but in my opinion to last they should simplify it, and it looks that in Scala 3 they didn't take that route, they added even more concepts, i think most of them are useless, that where python shines, but the problem with the latter, the nerdy stuff is hard to find explanations for, python has a very exhaustive official documentation, Scala on the hand is pretty terrible on that side the official docs are horrendous
Ответитьif companies dont use scala, most likely you dont get a job..
ОтветитьThe answer of the dilemma python vs scala is…. YES. Any developer should learn a scripting language and a compiled language
ОтветитьComments are informative
ОтветитьScala is a Better language overall: expressive, concise, super typing stuff, immutability first, functional ecc
Too bad working with it is a miserabile experience. Poor tooling, the proposed build tool SBT is garbage. Even packaging a simple spark app is a chore. Compatibility issues and stuff.. all things a python developer doesn't ever need to care about. Stay away if possible...
Python is the worst insecure language of them all, while Scala is the safest and most flexible. Scala is excellent, but Python is horrible.
ОтветитьScala also has a REPL
ОтветитьIt is a Saturday, and the weather is absolutely perfect outside here in the Bay Area, and well no wonder I, a software engineer, am listening this while working on my Scala code 🤣
ОтветитьEvery new release of spark has it shifting more towards being python and sql focused in its api. So many data scientist, analysts, and data engineers are shifting to big data, and they don't want to use scala.
ОтветитьData? take Julia!!!
ОтветитьScala 3 null pointers are gone. Monads seem scary but so you're protected to from accessing a collection outside the bound or you're missing one element.
The new tasty compiler makes using extreme powerful type system way more concise. Adding functional to library classes with extension methods are magical. The new simplified implicit syntax with using and given makes reasoning about code way easier.
So I am sure scala will get way more traction after the huge improvement scala 3 and the faster compilet.
I have been working with both and i have to say that for anything Big Data i prefer Scala. Python just feels weak when you start to work with over 5 Million Datapoints. It still works but it just takes alot longer.
ОтветитьVery helpful. Thanks!
Ответитьscala-java can interop so well that scala can simply be treated as "java-version-99". That is, after a while, when big data tooling such as spark or zeppelin bring scala to all "ordinary" app teams -- I believe eventually, gradually, and pretty quickly, that will happen. Many people think scala is FP; true; but the basic FP is just immutability, which nowadays good java also should do. So, perhaps we should not put too much emphasis on FP when we mention scala. Advanced FP is an important and "sufficient condition", but not the "necessary condition" -- scala will be popular simply because there are many tools using it and it is a cleaner java. That should be enough for it to be popular.
ОтветитьDecent intro. Made the same points several times. Could have been more succinct
ОтветитьThanks for the clarity. I love working with computers and have been really anxious about learning to speak either language lol
Ответить?
Ответитьeven tho scala isnt as popular, i see more job offers for scala (or java that also requires scala) than python
i myself love scala cuz once you get used to the language, i find it simpler to program on it rather than on java due to less verbosity
I needed to use spark as a data engineer (Jr) and as soon as I wrote some code I fell in love with Scala. It is BEAUTIFUL. I like doing math and I think Scala is really relatable if you have that 'mathematical thinking'. I'm really into learning Scala deeply just for fun =)
ОтветитьHi awesome video. By the way. I always love all 2 programming language.
ОтветитьLucky enough to be in a gig for which Scala is a must learn skill. But, I'm enjoying learning Python, too. I find that much of what I learn in FP is transferrable to Python. Finally hanging up my Perl spurs after 20 years. Change is good. Nice vid and glad I watched it.
ОтветитьI really really admire Scala developers!
ОтветитьI'm mainly a Java developer. I had the opportunity to do a job in Elixir. It took some time to adapt to functional programming and pattern matching.
But once you get it, wow, that's amazing. I think that the main requirements for calling something functional is:
How much you avoid mutation and side effects.
So I think many people call something functional just because you've streams and lambdas. But that's not what makes your code functional.
Immutability, pure functions, side effect free, pattern matching, those are thing I would dream to be part of the top languages.
Scala certainly supports functional programming very well. Python I doubt it. It has qualities of course, but we cannot say that it a functional language.
Unfortunately, it will still take some time before we get there.
Python? Scala? Why not both?! I choose you, Julia!
ОтветитьCool.
Ответитьthis not fair why doese he has 14k views but 358 sub imma change it to 359
ОтветитьThere arent many more honest opinion than this on language comparison. The guy should become a yoda. :))
ОтветитьI liked these sort of videos, thanks. Talking about differences, strengths, weaknesses of a language may really help programmers draw the bigger picture and understand the language.
ОтветитьYour videos are really good..please pleas please continue making your high quality content...👏👏👌👌
ОтветитьAnd what about machine learning? Scala or python? Which one has best tools and accurate one?
ОтветитьVery informative, Ivan. Thanks.
ОтветитьScala has an interpreter too, this is not an outstanding feature, even Java has a repl nowdays.
ОтветитьInterpreted vs. Compiled.
Dynamically typed vs. Statically typed.
Easy to learn vs. You better know some java.
Terrible vs. Alright lol 😆😂
cool video, maybe more picture tables ppt will help us to understand your points more easily especially when your story is more complex.
ОтветитьScala 3 will change things a lot because it will be much more precise and clear.
Implicit s will move to gives which is a much smoother to read.
The defining of DSL with scala is rock n roll if you you're trying to define a business domain.
I think the introduction into the language has to be much more high level.
Super well explained, thank you. Yes, please make more videos, especially ones that compare different programs.
ОтветитьWhat about Kotlin ?
ОтветитьI prefer python
ОтветитьNice video! subbed!
ОтветитьI know that scala is pretty hard when you come from Object-oriented programming such as Java or Python; however; it becomes much easier when you learn a purely functional programming before as Haskell. I’ve actually spent many months trying to think in a functional way but it was too much difficult to get the fluency in it. Then, I learned Haskell, and finally Scala become much easier to code.
Anyway, I really liked the way that you approach this very important subject. Congrats!
Can any one share their experience that how much time they spend to learn scala...
ОтветитьWould you recommend someone who knows Python to learn basics of Java before learning Scala?
ОтветитьWell Explained
Ответитьi'm java developer and python programmer. i suggest for data science for learn scala because scala is too fast. more than 10 times faster than python so scala is good. and also for java developers scala is easy to learn and also work tougher with java and scala. scala is good for java lovers. like me.
ОтветитьI started a degree in data science half a year ago and I was a bit weirded out that we're being taught Scala and not Python. It seems these days that Python is the way to go for analysing data, but I'm now starting to understand that Scala might allow me to achieve more. It's probably the better tool for "professionals".
Ответить"functional. People say that... a lot." Rofl!
Ответить