Details
-
Aboutsenior full stack dev
-
SkillsJavaScript typescript node sql and too many libraries
Joined devRant on 7/27/2019
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
-
@Wack yes, I do
-
@caramelCase send a complain to HR themselves stating that on your first day you dressed up to express yourself and the fact that your behavior was reprehended made you feel discriminated
-
@vane so in essence your point is that all those apps running on JS are trivial to do? Interesting, I will apply to Google then, I'd love to be one of the dummies working on their web stack.
-
IMHO the thing that made PHP and js so popular was their dynamic nature, which is very convenient for web dev.
In the 90s you didn't have so much choice in terms of dynamic languages to choose from, in fact js was invented to run in the browser (Netscape). PHP (Personal Home Page) was also invented as a quick way to make html pages.
From there I then agree with the comments that point to the large echosystem. It's true that in the meanwhile many options have emerged, but at the same time those two languages have had time to mature and now you have a very live echosystem that can support you.
Then I totally agree that for any large project a lack of types is seriously inconvenient. And so we have typescript and php 7 (see 7.4!) which combine the benefitd of dynamic languages with types.
In my code (nowadays 99.9% TS) I don't have any 'any' type whatsoever and honestly I don't feel I am writing anything less curated than what I'd be doing in C# -
@arekxv agree 100%, TS really is a game changer if you commit to it fully
-
@rant1ng speed and coding?! Wtf, you have my respect
-
Who's actually checking? Has your boss implemented a coffee machine surveillance program?
-
@EngineerCoding true, never happened when studying also for me, but totally when coding
-
Sometimes I literally forget to eat
-
Totally agree, typed dynamic languages are seriously handy.
The only thing I would have preferred was to have types on the right, but I understand that's very subjective -
@arekxv actually I don't think redux has nothing to do with this subject. I would recommend typescript without any esitation.
Then about redux. I do use redux (even in non react apps) and I configure it so that for each type of action TS knows what type the payload should be. If you use enums and interfaces correctly that's really not so complicated to achieve and is super convenient. To the point that in the switch statement in the reducers, for each case (action.type), TS knows what type is the action.payload. -
My answer would have been: ok sure, should we get rid of all that ECMAscript nonsense as well?
-
@kamen I set my preferences once (I guess the last time I did was ~5 years ago thanks to preferences syncing) and I've never manually applied indentation since
-
I was wondering something along the line of this. Would it be unsecure to generate multiple OTPs without making the other ones obsolete? In this way if the user requests multiple OTPs, or the system sends two of them as in your case, the user could still log in.
Then once the user logs in, or a certain amount of time has passed, all the OTPs could be deleted. What do you think? -
@potata yeah I see your point, I also was on a MBP from 2012, waited forever for a viable replacement from Apple and finally gave up. I went for a NUK skull canyon (desktop) and a HP laptop (just for mobility, but I'm often at the desk), and I still spent less than a new MBP with comparable power..
-
@potata if you're buying Apple* you're either rich enough to also drive a lambo, so get the extra ram when getting the mac, or why are you developing with an Apple machine? Vscode is not an alternative to xcode, so if you're stuck with apple because you are targeting their platforms, then stick with xcode, or fire up the Apple machine only to build the app if you're developing an hybrid app.
* Yes, I'm assuming that the only assholes soldering the ram to the motherboard are those suckers at Apple. If someone else is doing it I don't even bother knowing they exist -
How the fuck has this rant over 147 ++ ???
This is something that's probably answered 100s of times on SO (=> elementary) -
So they plan to write the docs when the project is dead?
-
@darksideofyay you just need to await and have faith
-
@netikras it's wat would exist if IE and Safari had a baby raised by Edge
-
Not sure, but here's mine
-
@dontbeevil I was in presentation mode on a projector in front of a quite large audience so I preferred not to make a scene, nobody noticed, but I was truly frustrated...
-
Few days ago I was demoing our software and the right click just stopped working, for no reason. I thought it was a bug of our software, so I skipped all actions requiring a right click, and when I went back to debugging I found out that the fucking windows 10 was to blame as right click was disabled system wide because some dumb OS subsystem crashed. Fuck them.
-
I actually really like the light theme, I don't get all this fuzz about dark themes...
-
Done properly, you'll look badass
-
The flaw of the reasoning is that the car is not an independent entity from the manufacturer unless a separate entity purchases it. So you still need a middle man. That middle man could indeed be the car manufacturer itself. It could establish a limited company just for the purpose of implementing such scheme, but in the end the limited company would still be owned by the car manufacturer.
So, it's a fascinating idea, but to make it truly fully autonomous you would also need to have the whole supply chain on cryptocurrencies and self managed (AI) industries. -
@Hazarth vim tried but never really seen any advantage for my use cases. Nano: it's been a long time and I don't miss it
-
Snippet?
-
The first rule of devrant is that you don't talk about devrant
-
I don't know about Java vs JavaScript, as the second does not seem to me like a definite replacement of the first, but I do think that Java has left it's best days behind.
In the last ten years Android has probably been one of the strongest factors in keeping Java very popular. Now though, as Java on Android fades out (for various tech and legal reasons, see for example Kotlin), and as other solutions gain traction for cross platform apps, I don't see much space left for it to still be mainstream.