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
-
@BindView well a lil cash here and there never hurts. Specially if it takes the burden of a friend. I am a mercenary. As long as I am aware of the tech stack Ill code in it regardless of how shitty it is :P btw my biggest checks came from vbscript man...VBSCRIPT
-
@falmesino Ah yes, you mean PHP? I say that from reputation. But seriously, I've never had to deal with PHP, why do people hate it so much?
-
@zokazavevu not anymore haha. I used to for classic ASP and maaan believe it or not I actually enjoyed it :P
-
@JohnScott bandwaggon mentallity really. Much like the people that hate Java etc. Language wars are inherently stupid. Shit tech wars are stupid. The idea of hating php started with the language itself being bad prior to version 5 and having some weird language inconsistencies. That still persist but really nothing that knowing what you are doing cannot surpass. I have built enterprise level solutions with php and still maintain them without breaking a sweat. Mostly my main gripe are if anything the bad php developers, but this is everywhere really. Try the language if you have time or are into web dev. Version 7 is outstanding and the community is friendly af
-
@irene because it will only bring about different fragmentation for which we are already suffering from the same issues with all the different engine implementations. The closest thing to a standard exists through Babel which ensures that an js implementation remains consistent while engines catch up on the newer ecmascript versions. Google tried something like that a while back with Dart providing a full environment for the language. But alas JS will continue to remain king in the browser domain.
-
@irene Well, as for 'bytecode for the browser' - there's WebAssembly, which is pretty much that from my understanding.
But the thing about JS is that it's incredibly accessible and flexible, which most lower-level languages are simply not. Hate it or not, there's a reason JS became hugely popular ^^ -
@irene poor desgin patterns are found on pretty much all languages in existence and with version 7 of the language a lot of issues and design flaws have been fixed. Saying that php is bad because it is poorly designed is a straw man argument from days gone and really never truly relevant, else we would never use programming languages since they all have a number of flaws. Disliking sigils in identifiers is a *you* thing also. I (for example) think that cpp has the most horrible syntax ever. Yet that doesn't make it a bad language nor would I use it as an argument to say that the languages is bad.
-
@AleCx04 im shit at cpp (and php for that matter), but i think the syntax is nice.
If you use java syntax and never touch pointers, of course. -
There is nowhere to run.
Js is everywhere now.
I feel your pain. I have a love-hate relationship with js -
@nhll dunno, probably not because doing the same task takes 1000* longer in js than in literally anything else
-
nhll717y@BindView I'm assuming you're talking about development time. How long have you been using JS?
-
@nhll no, im talking about code speed and im a senior js dev
Here, just pulled a video outta my ass but you can find a lot more https://youtu.be/i0Wd706I6hI -
nhll717y@BindView correct me if I'm wrong. From what I can tell, that video is comparing JS, running in some sort of wrapper, to native C++ compiled specifically for that CPU that's running directly on the hardware. Of course that's dramatically slower and I doubt that bytecode would help a lot in terms of runtime performance.
Not saying JS is the fastest language, but it's certainly fast enough for the vast majority of its use cases. -
@nhll we are talking about transpiling other languages to js, just to remind you
-
nhll717y@BindView hmm, maybe I misunderstood you. Weren't you implying that some sort of bytecode in the browser would make sense for performance reasons? If not, then I don't see your point, to be frank.
-
@nhll "we should transpile to js instead of x"
I said that we shouldnt because thats a severe bottleneck and a compiled js alternative would make everything a lot better -
nhll717y@BindView I didn't say we should transpile to JS instead of X, I just said we can. Just wanted to know what she thinks would be benefits of in-browser bytecode vs. JS.
I'm not sure a browser interpreting bytecode would be a hell of a lot faster than a browser interpreting JS. But I'm not an expert on bytecode and virtual machines. I guess at the very least, it wouldn't have to do any syntax checking. -
nhll717y@irene in what cases is JS insufficiently fast and how often does that happen? And I don't mean too slow because the code is an unoptimized, inefficient mess, but because the JS engine is actually not interpreting your optimized code fast enough. If you weren't talking about performance, which kinds of optimizations do you have in mind?
Your second point is purely subjective. It's kinda like saying "I don't like rap music, so people should stop making it". Just listen to other music, or in this case, use another language and transpile it to JS.
FOR FUCKS SAKE SOMEONE PLEASE GIVE ME A JOB WHERE I DONT HAVE TO TOUCH JS, IM SO IRRITATED
rant