Details
Joined devRant on 11/7/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@jschmold That's a stupid meme to perpetuate. doSomething(arg) and (doSomething arg) have the same number of parens. It's all a matter of familiarity...
-
All the java fans are suddenly butt hurt even though kotlin, scala and probably also clojure worked fine on Android for quite a while now...
-
Good thing I don't use it, my ram is kinda full already...
-
@Forside I read they use Erlang's mnesia, but it's probably better there as well. Another thing is fitting information in as few tcp packages as possible.
-
@kaqqao "Java's readability" must be sarcasm because if two thirds of the code I read are pure boilerplate, that's anything but readable. Sure, with a few years of experience, you'll know which parts are actually to be ignored, but that doesn't mean there's no problem there.
Also, things like nullability by default, mutability by default or lack of means to add functionality to already existing types and heavily relying on unsafe runtime reflection are not a problem of "typing a bit more", they are huge design flaws compared to more modern alternatives like kotlin, swift, F# and yes, even Scala. -
@asgs We used to do rails mostly and wanted to migrate to Scala and maybe some Elixir, but then we merged with other companies. Those code monkey only know Java/C#, so company policy mandates those two languages even if it makes no sense.
@BlueDev I'm curious what part of scala you think is so ugly (apart from the ADTs, which are truly the worst in all typed functional languages ever). I think Kotlin and Swift look a bit nicer sometimes, but lack so many features Scala has... :-/ -
Mutability by default is a bitch
-
You could probably apply for something trendy like node, where most Frameworks are barely 2 years old themselves...
-
They both suck...
-
If you ruled out an overcomplicated solution, you probably even saved time overall, don't feel bad about it!
-
If you think that's a good thing, I wouldn't want to work with you...
-
Amen, brother!
-
If only the computer could help with such simple mistakes...
-
Americans and their nonsensical systems...
-
I use a lot of recursive tree traversals for my current project. If you do functional programming you automatically use more recursion than loops, as well.
-
My comment is in the context of him deciding between native and hybrid (javascript) development for mobile apps. The Javascript solution there is less mature and has frequent (breaking) changes. That's just a fact.
-
If you want to learn something that's not outdated in 3 months avoid Javascript...
-
Literally "close enough"? ;)
-
If you like that stack, you might want to take a look at Elm. :)
-
At some point you will realize that many things have a finite number of states and outcomes. If you enumerate all of them, you can define how to deal with each case gracefully.
Languages like Elm, F#, Haskell and others (ML descendants) work this way. They simply don't use exceptions, so it's much harder to accidentally crash your program by forgetting to catch one.
Sadly many popular languages only have error handling like "one success response + undefined number of exceptions" -
https://destroyallsoftware.com/talk...
-
I wouldn't call it "new" tbh
-
No one is forcing you to use Redux. Yes, it's better to use it in the long run, but if you don't have the time/desire to learn it, then just use react without it.
-
I tend to do it at the beginning, but most inputs are function arguments anyway, so it's not like it makes much of a difference.
-
S3 full? How...
-
I wish, I could help you (I don't know what you did sadly) :-/
Maybe give
git reflog
and
git reset --hard
a try next time you mess something up. -
@divil What's your point? I work partly with OOP, (e. g. in Ruby and Scala) but given the choice I rather use functions and data instead of mutable objects, as it's simpler and almost trivial to test.
-
Too many by now. I've written programs in Java, Python, JavaScript, C#, Haskell, Scala, C, Ruby, Elixir, Elm.
Not all of them professionally, of course. (Also not counting markup/query languages or stupid stuff like php and coffeescript)
I still haven't found a language that has all properties combined that I would want, so in the meantime I take any chance to use a functional language at work (doesn't matter so much which one), because they tend to be much saner overall... -
I can highly recommend this short talk on git: https://youtu.be/4EOZvow1mk4
It is called "advanced" but you really only need to know the most basic things for it to be useful. -
Oh and if one of you has to work with regex, you should give regex101.com a shot. If you turn the flags "global" and "multi-line" on, you can test a pattern against multiple different lines and see which match and what would be captured. Has saved me and my colleagues a ton of time.