Ranter
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
Comments
-
Darkler15878y@Desmond you mean chaotic and fucked up? 😂😂
//True story:
var thisIsAString = "5";
thisIsAString++ ;
Console.log(thisIsAString);
>>>6
>>> -
QCat8368yA wise one said
[What is the difference between Java and Javascript?]
One is essentially a toy, designed for writing small pieces of code, and traditionally used and abused by inexperienced programmers.
The other is a scripting language for web browsers. -
@Awlex If by 'serious' you mean "so fucked up that we don't have time to write tests, <insert generic joke about how strings can change to numbers in js>, and Java just helps me sleep better at night in that situation cause I have a bunch of shitty interns in my team.." then yea, sure.
-
Kamelpaj208yFunny how you can actually prop up JS in the same sentence as you bash Java. Sure it's verbose and you could write stupidly complex shit. But you can also write really nice, maintainable, extendable, well tested backend logic. I prefer Scala but even then I thank Java for the massive ecosystem I have access to. Seems like there are only 18 year old webdesigners on devrant
-
@Kamelpaj please do tell, what makes Java so uniquely maintainable, extendable, and what else.. testable you said?
-
QCat8368y@burmesepornstar prolly something I can't do in C++ and Javascript with the same tools of nearly identical tools 😂
Sorry, but when we talk about Java I am incredibly salty.
@Kamelpaj And I use JS as an extension language so no, I don't do webdesign, maybe you should think about what benefits do Java bring you out of Database development. Tbh, C++ with Boehm GC is as much adapted for the same purpose but let's give away DB dev to Java.
Java is a toy. Yes you can use a toy hammer on a real nail. A toy bench to make real stuff, but I personally would be ashamed selling a software made in Java if it is not a DBMS.
JS, even with Nodejs, features the same problems regarding performance, but it is to me a prototyping tool or a nice scripting language with regex. I do well in small websites (say 10000 visits a day on Ghost/Nodejs on convenience hardware). I would be ashamed to sell a HP Computing system made in Nodejs, in JS or in any variant of ecmascript that do not compile AoT -
ruddix188yJavaScript is a mess. If you dont know all it quirks you are lost (in a team project). Strict rules and linters will help.
-
QCat8368y@magnusi well it is just that I like metrics a lot. Since the requirement for all my projects is minimal server footprint (I host 7 websites on a single 4GB of RAM server, 2 cores 4 threads CPU) I know that Java is too costly, php can't handle surges, so I am left with JS for small stuff, C++ for bigger stuff and Elixir when things get fatter. With respective metrics of 3000 r/s max, 4500 r/s and 5500 r/s.
-
@burmesepornstar can i be another one of your shitty interns? I promise to no raise the bar 😂
-
QCat8368y@rantalicious Like I said, Java is ideal for DBMS development, but for anything else, there is better. For DDBMS there is erlang, for small web, Node, for mid sized web php7, for fast web C++ or erlang again, for desktop and mobile C#.
Use the right tool at the right place. Java belongs in DBMS. Outside of that it is toying. -
@purple-engineer lol. I too wanna be in the bottom 33%ile of a team again and be that 'shitty intern' at someone else's expense.
#diversifyWhileYoungEnough
(I hate how I now feel the need to say "young enough" and not just "young". For heaven's sake kids, don't start really coding until you're at least 18!! You make me feel fucking old) -
QCat8368y@rantalicious I mean DBMS, because of its lazy memory management and lazy synchronization it allows high throughout. See MySQL, Apache Cassandra and Voldemort
-
fives10598yThis thread is crazy. Each are widely used for entirely different reasons.
The first four letters just happen to be the same. That was the point of the OP. -
@fives nope. If that were the case OP would have switched the order of java and javascript. Cause that would make more sense. Moreover, maybe a different choice of words than fun and funeral. Nope. This thread is exactly what it was meant to be :P
-
iceman9568ypeople that Think JS can substitute Java are just too dumb to understand Java, so they Stick with a Toy like JavaScript
-
iceman9568y@QCat you wrote a Hybrid App, which is not a native Android App but a responsive website. And you asked what Java can do better than C#, which is dev of Android Apps for instance
JavaScript is to Java what fun is to a funeral.
undefined