Quantcast
[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

Maintenance is complete! We got more disk space.
Become a Patron!

/g/ - Technology


View post   

[ Toggle deleted replies ]
File: 38 KB, 981x500, scala-logo.png [View same] [iqdb] [saucenao] [google] [report]
65492199 No.65492199 [Reply] [Original] [archived.moe] [rbt]

Find a more beautiful language.

Pro tip: You can't.

>> No.65492225

>>65492199
I prefer brainfuck.

>> No.65492239

>>65492199
Haskell.

Ps. I develop scala for s living. Shit is so fucked once you know it well. Don't believe odersky's lies

>> No.65492287
File: 36 KB, 2000x1412, Haskell.png [View same] [iqdb] [saucenao] [google] [report]
65492287

>>65492199

>> No.65492349

>Scala
>beautiful
Literally Java with functional crap.
Have a simple fucking import:
import $ivy.`com.github.nscala-time::nscala-time:2.18.0`

>> No.65492376

>>65492349
That's not how you do imports

>> No.65492418

>>65492199
I agree with >>65492287, Haskell usually ends up looking nicer.

I still love Scala, it's more practical overall. Haskell overdoes it with how much you were supposed to know and engineer "perfectly" to get anywhere and then you STILL have pretty large problems determining how fast anything runs and how to optimize it in case of issues.

Which is probably a shared experience; ergo Scala has a lot of the big data / big websites / big processing production users and Haskell has not all that much.

>> No.65492447

>>65492418

Scala is just a hobby language

>> No.65492773

>>65492447
Eh? It runs Twitter, a lot of big data stacks (Akka and Spark particularly -everyone and their mom in big data / big processing uses these), other various pretty large websites like LinkedIn, internals at IBM, Verizon, Walmart Canada.

Not that I really tried, but you can make a rather really long list of production users by following the known users of various popular Scala stacks.

>> No.65493129

It's pretty fucking ugly imo. Go and look at Scalaz's source code and come back.

>> No.65493287

>>65493129
Scalaz is not part of Scala, though. It is a library - and one that is relatively rarely used.

>> No.65493342

>>65492447
Wrong. Spark is based on Scala.

>> No.65493510

>>65492199
F# is an infinitely better language.

>> No.65493548

>>65493510
F# - is like a much inferior Dotty. Like Dotty it'll probably be nearly useless on its own except for small toy projects for the foreseeable future.

Once you combine it with C# or something else like you generally have to, the result is worse than Scala, with the additional flaw that it's on .NET.

>> No.65494347

>>65492773
>>65492447

should i learn scala

>> No.65494358

>JVM language
>Beautiful
hmmmmmmmm

>> No.65494385

Typescript

>> No.65494401

>>65492239
care to elaborate? would be interesting to know its problems, i see it as a more enterprise oriented version of erlang especially with akka

>> No.65494406

I like Scala but no it is not beautiful at all. Clojure is quite nice to look at, though.

>> No.65494511

>>65494347
I don't think there's a reason not to learn it. It's not such a complex language that you cannot do it in your spare time. I wouldn't commit to learning it in depth though, unless you have a reason to. But if such reason ever arises you'll be familiar with the language already.

>> No.65494982

>>65492199
Make a language with the optionals of Swift, the list/dict comprehensions of python and the colsures of JavaScript and it will be a beautiful language

>> No.65494993

>>65492199
>Pro tip: You can't.
Stop talking like a /b/-tier tard

>> No.65495498

Malbolge

>> No.65495520

None of you idiots know about ceylon lang? Scala is completely wasted and even typescript borrows from Ceylon lang.

>> No.65495537

>>65492773
And look how Twitter and everyone is leaving Scala because it's a nightmare to maintain and it's complex beyond repair.

Just google rants from Paul Phillips to see the mess that the compiler is

>> No.65495554

>>65492773
Akka is fucking awful. I worked for years in Akka projects and their substandard actor system is better served by elixir / eerlang

>> No.65495557

Kotlin.

>> No.65495563

>>65494982
So, typescript/ceylon only.

>> No.65495572

>>65495557
This, and maybe typescript

>> No.65495582

>>65492287
Is it ever going to be used? From what I've read its has slow web performance and c++/java is go-to language for regular desktop programs.

>> No.65495590

>>65492199
Beautiful my ass. Implicits and unit insertion are enough to avoid it like the plague.

Even Java is doing better now.

>> No.65495596

>>65492225

This. Scala allows for shit code and no style principles.

>> No.65495602

>>65495596
And it has many ways to do the same thing. The price of freedom is complexity.

>> No.65495617

>>65495557
This has an ugly java patina.

>> No.65495740
File: 254 KB, 1200x1515, Antonin_Scalia_Official_SCOTUS_Portrait_crop.jpg [View same] [iqdb] [saucenao] [google] [report]
65495740

>>65492199
Antonin approves of this thread

>> No.65497547

>>65495537
>And look how Twitter and everyone is leaving Scala
I heard that one three years ago. Meanwhile, look at how much Twitter is leaving Scala:
https://github.com/twitter?language=scala

Not at all.

> Just google rants from Paul Phillips to see the mess that the compiler is
The one where he says it's still one of the best ones at the end? Sure.

Also, no matter how you turn it it's never going to be worse than JS, which incidentally is one of the few "newer" languages that seems like it was even more successful at growing with commercial users than Scala recently.

>> No.65497641

I've invested quite a lot of time back in 2016 to learn Scala in my free time, completed Martin Odersky's courses on coursera, and made a few toy projects, only to find out that every company I interview at is getting rid of their Scala codebases, and going back to Java, and if you don't have several years of experience in legacy Java versions, then you are a no hire.

So much for trying to escape shitty enterprise .NET lock-in jobs. Fuck you, next language I will learn will be for hobby purposes only.

>> No.65497705

>>65497641
> every company I interview at is getting rid of their Scala codebases, and going back to Java
On job websites, there is still a decent number of open Scala jobs.

Also, it sounds like you just don't have a decent comp.sci degree, else you could presumably get hired for Java.

> Fuck you, next language I will learn will be for hobby purposes only.
Cynically speaking: It sounds like that's what you just did?

>> No.65497943

>>65492199
Fuck you for hacking my category filter. The correct form for a shilling thread is:
>protip: you can't
Use that next time

>> No.65497993

>>65497641
>scala codebases are being thrown out for java
Really? Scala is still the incumbent when it comes to data engineering.

>> No.65498003

>>65497993
m8 he is full of shit

>> No.65498526

>>65492349
Ho ho, you copied that line from the shitty throwaway code I wrote, and you have no clue what you're talking about?
Yep, this is 4chin-tier arguing.
Hint: that's not how you do imports in Scala.

>> No.65498536
File: 5 KB, 300x100, 206.png [View same] [iqdb] [saucenao] [google] [report]
65498536

>>65492199
picrel
t. scalafag

>> No.65498549

>>65493510
F# is CLR-handicapped discount frogcaml, and we all know the buttload of deficiencies of that particular language.

>> No.65498595

>>65494347
Sure, give it a shot.
Better yet - try using it for simple problems first (project Euler, hackerrank whatever), or to scratch an itch. For example, if you need to do something and the only useful library is on the JVM.
Try using it pragmatically ("get shit done" mode) first, don't go full FP or perf autism in the beginning.
Protip: try the Ammonite REPL.

Ignore the pro/anti fanbois tho, there's plenty of those in and out of the community.
The language has its pros and cons, and some pretty significant ones, but assume everyone has a bias and take their comments with a rock of salt.

As for guided learning, there's a course on coursera, that is a bit more FP than Python-tier tho.

>> No.65498651

>>65495537
>Twitter and everyone is leaving Scala
Standard
https://en.wikipedia.org/wiki/Hype_cycle
bandwagon shit. Scala was overhyped around 2008-2011, people sobered up around 2011 or so (hence the few "leaving Scala" posts).
Now, as >>65497547 mentions, people are using it (hopefully mostly) for the use cases where it makes sense.
>paulp
Scala internal drama brought to a wider audience.
The FP weenie/Pragmatism/Pajeet++ schism in the community was more heated back then, but they seem to have matured a bit.

>> No.65498664
File: 4 KB, 300x57, stop scala.jpg [View same] [iqdb] [saucenao] [google] [report]
65498664

>> No.65498681
File: 92 KB, 768x1024, CAQi-bOUwAAUPQ3.jpg [View same] [iqdb] [saucenao] [google] [report]
65498681

>> No.65498790

ocaml is best language
just a small ecosystem

>> No.65499185

>>65492199
Common Lisp and Scheme.

>> No.65499211

Nim

>> No.65499723

>>65494982
Rust

>> No.65501503

>>65492199
t. Java brainlet who discovered functional programming

>> No.65502223

>>65498595
should I learn SML

>> No.65502339

>>65502223
That was the britbong alternative to frogcaml back in the day, no?
Dunno if it's used for much, even academic wankery (see Cambridge's extensive academic and industrial frogcaml involvement).
But who knows, it might be more elegant or something, ask folks who have more knowledge of the ML family.

>> No.65502968

>>65492199
Scala's just Java in drag, it's hideous.

>>
Name (leave empty)
Comment (leave empty)
Name
E-mail
Subject
Comment
Password [?]Password used for file deletion.
Captcha
Action