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
Search - "it's javascript"
-
Our dev team got a new manager. On our first face 2 face meeting:
Manager: So, what technology are we using for web apps?
Me: TypeScript.
Manager: What is TypeScript?
Me: It's a superset of JavaScript.
Manager: Oh I know JavaScript, it's the latest version of Java, right?
Me thinking: He is joking. He tries to be the fun guy. Everyone knows the Java-JavaScript, ham-hamster joke.
Me later, also thinking: No he is not joking. Oh God, this is the end. We are all f*cked!8 -
Random Guy: So you wrote all this in Java?
Me: JavaScript
Random Guy: Yea. What i said. It's the same!
Me: *triggered*11 -
Person: HTML is a programming language
Me: No it's not
Person: Yes it is it can compute things
Me: No it can't, and what do you mean?
Person: Have you ever heard of a script tag
Me: That's not fucking HTML that's JavaScript.14 -
Boss: I saw that you are using {some JavaScript library}, why?
Me: you asked for this functionality and the library is very good for that
Boss: here at our company we do not use code from other people, we write everything ourselves
Me: but this library is very well built, actively developed and supported
Boss: I don't care, please rewrite this component
Suffice to say, I quit that job asap. Whoever thinks it's a good idea write so much code for a small purpose in an application when there is something available open source to use, is stupid. In most cases it's better to use something which is out there than to waste time writing a hardly stable version of it.24 -
Confession:
I actually like to code with JavaScript.
It's a terrible language, yes, but I find it fun to work with.17 -
Took an interview today.
Me - What do you think JavaScript is interpreted or compiled.
Guy(5+ years of UI exp) - It's neither of them. It just runs on browser.
At that moment I slowly started fading away into a black hole for the absolute peace and embrace death.15 -
I just invented a new JavaScript operator. It's named "plus with wings", and it's used to sum to numbers without ambiguity or any need of type conversion, for example:
3 -+- "2" // 5
"2.1" -+- "4" // 6.1
"-1.1" -+- "" // -1.1
So, from now, you won't have to wonder anymore what type is that variable.
Tested on all browsers25 -
Interviewer: "Hi, we are searching for a junior frontend dev with 1 year of experience and strong skills with Angular".
Me: "I have never used Angular before but I have 4 years of experience, It's not a problem for me to study it and use it quickly".
Interviewer: "Eh no, we are searching for someone with very strong Angular skills".
Me: "That's fine, but sorry how can a junior dev with just 1 year of experience have already strong skills with Angular? He must have also strong skills with JavaScript in general and It's quite impossible".
Interviewer: "Ehh... ehm.... ehmm..."11 -
I'm all for geeky, feminine clothing, but surely they could have consulted a real developer before putting Javascript on a BSOD-blue/old-school-console-development-blue blue dress? It's like having a shirt that says "I love tacos" with pictures of sushi. Similar, but just wrong.15
-
Today the inconceivable happened at the office. A rather attractive female colleague of ours asked if anybody could help her with a Java related issue.
Of course the majority of guys were more than willing to help.
A victor finally emerged. He went on to claim his prize by helping the fair maiden.
After a few seconds..."This is not Java. It's javascript'
I shit you not we just exploded in laughter 😂7 -
Software company director: we build Java applications right?
Devs: nah, javascript.
Director: it's the same, right?
Devs: no
Director: fuck, I pitched a Java application.
A few hours later...
Director on the phone: Yeah, we are building it in Java...10 -
!rant but recommendation:
"JavaScript: The Good Parts" Douglas Crockford.
I really like this book.
It's chewed away my misconceptions of JS. Especially coming from C++.
Small and precise.
JSON, JSLint and JSMin developer is the author.6 -
Okay it's called devRant - so I'll rant...
Why the fuck do people write comments like that:
$savesThisStuff = "stuff"; # does save stuff
Why are here 1500 lines from which there are 700 outcommented code and 300 dead functions which aren't called anywhere?
Why the fuck is here PHP code which generates JavaScript inline which itself generates STATIC (!!) HTML.
------
"Always code like the one maintaining your code next is a violent murderer with an axe and you'll still be save."
... Where's my axe again?8 -
Got fired.
Fuck
3 days on the job...
Told on the interview I didn't know the machine OS but I could learn in a few days...
Well they want someone with experience on that machines I don't know...
It's like asking a Javascript programmer to work with Java...
Whatever...
There are more companies11 -
DO NOT USE JAVASCRIPT FOR PUBLIC WEBSITES IF YOU DON'T KNOW HOW TO USE IT!!!
Almost every fucking day, I click a fucking button and NOTHING HAPPENS. I open the console and find tens of JavaScript errors, that *I* have to debug and fix in order to proceed.
FUR FUCK SAKE, JavaScript is not strictly needed, those fucking React and Vue are also not needed. Just now I wanted to download a form: IT'S A FUCKING PDF FILE, why the fuck are you putting your broken JavaScript function to let me download it!? PUT A FUCKING DOWNLOAD LINK YOU FUCKING MORON!
Nobody is forcing anybody to use JavaScript or those fucking fancy frameworks, SO WHY THE FUCK PEOPLE OVERCOMPLICATE THINGS THAT USED TO WORK SO WELL!14 -
When writing a JavaScript guide, please don't use emojis as keys in objects. Or anywhere else in code. Zoomers will think it's common practice.
Just because you can, doesn't mean you should.
Sincerely,
everyone26 -
Senior Dev: "-bleep- I hate Javascript. It is such a pain to have to debug in Chrome"
Mgr: "Why are you 'having to' debug in Chrome?"
-in an almost 'you didn't know?' condensing tone -
Senior Dev: "Because you can't debug Javascript in Visual Studio."
Me: "Umm...pretty sure you can."
Senior Dev: "No, its impossible. I have to make a simple change in Visual Studio, save it, deploy all the files to the server, restart IIS, open up Chrome and use it's developer tools to find bugs. -bleep- Javascript sucks sooo bad."
-I do a quick search on stackoverflow-
Me: "No, I'm looking right at it on stackoverflow. You can debug Javascript in visual studio just like anything else."
- Mgr looks over and smiles, not trying to laugh -
Senior Dev: "Hey, did you watch that scene in Stranger Things...man thats a good show ..."
- other devs jump in to comment about the show, completely dismissing the VS/Javascript conversation -
Not sure WTF just happened.9 -
I hate all of these rants about JavaScript being a terrible language.
In reality, it's one of the easiest languages to work with. This makes it easier for new programmers to write messy code, but is it the language's fault?
People get mad about the things that happen when you multiply "undefined" and a string...what do you expect?
You also have the freedom to choose from a variety of tools the community has created to solve existing problems. People just don't realize that they don't *have* to learn everything, you just learn as you need them.
Don't blame JavaScript for you bad programming, terrible type conversion needs, and great tooling.23 -
What a wonderful language JavaScript is. It's the only language where "(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]" is equal to just simple "." character.6
-
I'm working on a project with a teacher to overview the project at my school to be responsible for the confidential student data...
Teacher: How are we going to authenticate the kiosk machines so people don't need a login?
Me: Well we can use a unique URL for the app and that will put an authorized cookie on the machine as well as local IP whitelisting.
Teacher: ok but can't we just put a secret key in a text file on the C drive and access it with JavaScript?
Me: well JavaScript can't access your drive it's a part of the security protocol built into chrome...
Teacher: well that seems silly! There must be a way.
Me: Nope definately not. Let's just make a fancy shortcut?
Teacher: Alright you do that for now until I find a way to access that file.
I want to quit this project so bad2 -
Ah yes, Brave, the browser that "respects your privacy" has started putting ads directly *in* the browser.
When they introduced Brave Rewards and people were confused why I was upset, it's because I knew it was a slippery slope to toward this sort of thing.
EDIT: Turns out, the ad is targeted towards LGBT people. As an LGBT person who just wants to live life in peace, this shit aggravates me even more. First, corporations are not your friends. They do not care about you. It's virtue signalling. Second, it's a bit ironic seeing as how Brenden Eich made Brave. If you don't already know, Brenden Eich (also creator of javascript) is pretty anti-gay.
So many things wrong with this. Can't wait to stop leasing away my devices' resources to advertisers.27 -
I have no words to describe how I'm feeling these days. I have to do a C project for uni.
After a couple of years dealing with web dev, javascript, typescript, angular and stuff, for the first time I have a project where I have to deal with only two problems:
1) my code
2) my machine
No tools, no bloated libraries, no webpack, no json configurations, no tutorials.
It's just me, vim, gcc (actually nvcc, it's a cuda based project, but still) and the cuda manual.
I feel I'm actually building something.
Plus, the guy I'm doing the project with is cool with this stuff and most important he's open minded.
I'm happy9 -
FUCKING FUCK JAVASCRIPT AND IT'S FUCKING 10000 DEVDEPENDENCIES.
LET ME FUCKING CODE AND WRITE TESTS AND NOT SPEND FUCKING ONE FUCKITY FUCK WEEK TRYING TO FIGURE OUT HOW TO FUCKING MAKE MOCHA AND KARMA PLAY WITH FUCKING ES6 CODE YOU FUCKING FUCKTARD PIECE OF SHIT TECH.
I NO LONGER FUCKING KNOW WHICH PACKAGES I FUCKING NEED AND WHICH I FUCKING DON'T FUCKING DUMBFUCK FUCKWIT OPEN AND HACKABLE MY BROWN ASS PIECE OF TECHNOLOGY STACK.8 -
Me in 2015: think I'm gonna learn JavaScript.
Me in 2017: think I'm gonna learn JavaScript.
It's like that ex you always want to call but you keep thinking she's moved on...7 -
Unpopular dev opinion:
I like ending lines of code with semicolons. It helps add structure and organization. My code feels naked without them. After learning to code in JavaScript and Java, it's force of habit to put them, and python's lack of them is one of the reasons I hate it's syntax
Maybe I'm old fashioned. All the hipster languages either make semicolons optional or usually actively discourage them
Idk I like them though13 -
Am I the only one who is triggered by seeing all of the stupid articles claiming Java is bad introduction language? Just becuase Standford decided to change it to JavaScript? What the actual fuck? How students should learn the fundamentals concept of OOP in scripting language?
Don't get me wrong, I hate using Java for real life projects. But there is a reason why almost every university use it as introduciton language. It's great start to learn programming. Saying that the 'Hello World' in Java is complex and can scare people away, it's complete nonsens. For fuck sake, yes programming should be fun, but it is also hard. People can understand that they are going to learn what 'public static voiď means later. It's the structure of many Computer Science classes. It's the assigments that are not designed in engaging and fun way for newcomers. That's the problem, not the language.21 -
Didn't it take us years to stop writing javascript and html embedded? Is it just me or are we going back where we started? It's all a mix now!19
-
For my very first job interview, I joined a rather well known company (somewhere in the mid-ranges) as an intern-frontend developer. Everything was going okay-ish. I was asked some technical questions and I answered them to the best of my knowledge, and it was all good until he came to the javascript questions.
Interviewer: So, have you worked with any frontend frameworks?
Me: Yeah, I usually work with vanilla JS, but I've gotten into frameworks like Backbone and Ember.
Interviewer: I've never heard of those. Do you know AngularJS?
Me: I've dabbled aroudn with it, although I haven't gotten into it much. If you want me to use AngularJS, I can pick it up and get the ropes of it pretty quick.
Interviewer: So tell me.. what is AngularJS?
Me: It's a Javascript framework released by Google (explains what it is and how it differs from most popular JS frameworks, explains the components of Angular.. etc)
Interviewer: Well, you're wrong. It's an enhanced html for web-apps. ( or some bullshit he quoted off the front-page of the then angularjs.org homepage )4 -
Me - I want to work on Java.
Boss - you are working on Java right?
Me - no, just Angular JS
Boss - yes it's the same right... Angular Js, JavaScript, java
Me - (hmmmm, what if I had just said angular, would he assume I was doing geometry?) -
Dev at some point of the Interview.
Me: ...and how good do you consider yourself with vanilla JavaScript.
Him: erm... I think I'm very Good with Javascript but to be honest, never heard of that Vanilla framework. There are so many libs/frameworks that it's hard to keep up.
Me: ...7 -
This week i have been trying out the programming subject.
So we should program a mathematical function which would figure out pi from a circle.
The teacher had chosen javascript and wanted to show us some javascript he had written.
When he tried to run it, it didn't run
Teacher: Hmm, it doesn't work. Let me try to take a look in the code.
Me: (Rip)
Teacher: The problem with javascript is that it is really bad at helping with finding the error, it doesn't tell anything about them.
Me: (WTFFFF)
Teacher: Oh, it's because i haven't accepted the browser to use javascript on the page
Me: (Slowly realising he is using internet explorer.)
God damnit. Amazing, just amazing.1 -
When you get a mail from a recruiter for a Java job, because you have JavaScript on your LinkedIn and it's obviously the same...4
-
it's not a happy new year when you realize:
You are becoming old
Another JavaScript frameworks is out and employers want 5 years experience in that.
You have to return to work from holiday in 2-3 days1 -
Fourth day at new job, hired as a C++ developer.
"We think you'll be a good fit in this team!"
It's a huge JavaScript project. I feel lost and confused 😓8 -
I really hate it when online sources aimed at educating people looking to get into programming attack specific languages. I'm ok with them recommending some good starting languages (ex. JavaScript, Python, etc.) but I find it extremely inappropriate and damaging when they list languages they consider "bad." Languages like JavaScript, PHP and Java constantly get called out even though they power a huge chunk of the web and services hundreds of millions of people use every day. IMO it's a huge disservice to tell beginners not to even look at these languages. We should be teaching the language isn't really what's important - it's what you build with it.5
-
The amount of much political correctness in the dev community just pisses me off sometimes.
I've watched "Use the right tool / language for the job" has become *THE* excuse for shitty tools and languages.
Case in point -- JavaScript. If you want to make a website that interacts with the end user, the right tool is JavaScript. But that's because IT'S THE ONLY TOOL. Does that make it a *good* tool?
HELL NO.
/midranttimeout
Brendan Eich, I forgive you. You had 10 days and a corporation on your case.
That's not saying JavaScript doesn't have some good things in it. It does. But "Javascript the good parts" is a fucking thin book.
Sure, some amazing things have been written in JavaScript. Great communities have coalesced around this cancer.
BUT THATS IN SPITE OF JAVASCRIPT, NOT BECAUSE OF IT. AS A LANGAUGE IT'S STILL A STEAMING PILE OF DOGSHIT.
A master can draw great art with a shitty piece of charcoal. That doesn't make charcoal THE BEST DRAWING TOOL EVARRR. It's just a testament to the master's craft.
If you started your programming journey with JavaScript, do expand your horizons.
Break free from Stockholm's syndrome.
Discard your cognitive dissonance.
See JavaScript for what it is -- a shitty language everyone was forced to use.
PS: Don't even get me started on Java ...24 -
What do you call it when you type a script? A TypeScript. Then you spill coffee on it...
now it's a JavaScript.5 -
That glorious moment when you remove a function from your Javascript.
is_internet_explorer()
It's one job was to detect and prompt a user about not using IE on this shit for a stain website - ironically built for IE 😂
You sir, will not be missed 🥳11 -
I am a New student in a programming school. Haven't coded enything ever. Use 1 week to make html, css and JavaScript website from scartch. *Happy for my achivement* curent teacher comes to review my work. Tells me it's shit. Teacher uses only ready maid templates... Fuuuuuu9
-
Internship Rant #2
I can't believe I'm hating my job right now. It sucks because I have never coded in javascript and they expect me to code in javascript. I don't even know what I am doing, but I'm trying my best. I kinda have something already, but the worst part of it is that my boss comes in once in a while and sits beside me looking at my screen and of course, he expects me to tell him what I have been doing and what progress I have done. It's stressful cause I specifically told him that I have never coded in JavaScript and he still thinks I can get things done in a few days.
Perks of new job:
- I can take a bath there whenever I want
- gr8 bathroom 11/10
- gr8 heater, no need to have my hands shaking all the time
- workspace is nice and everyone has an extension so my phone and laptop are always on full charge
- flexible work schedule
- easy access to company files hehehe including credentials
Anyways, so I have to deal with this for three months.16 -
I have seen spaghetti php code, I have seen spaghetti JavaScript code, I have seen spaghetti python code. I have seen a lot of spaghetti.
Yet this Angular project appears like it was touched by His Noodly Appendage.
And only his Noodlyness knows what's going on in there. It's truly beyond my mere mortal means of understanding.3 -
Seriously, wtf is with the new "make-everything-in-javascript" thing?
JavaScript is a terrible language. The type safety, or rather lack of it, gives me nightmares about debugging. The standards are always different. It's way too flexible. Ugh.
I'm tired of all the awesome services that I'd love to use being centralized over Node and JS. I don't want to use your stupid fucking language. Who does?
Also what happened to that dart thing that was supposed to replace JS?11 -
Motherfucker if the project uses Eslint to enforce code standards, please don't start every fucking file with 20 lines of /*eslint-disable*/s
It's there to fucking help you and all the new devs who have to deal with your shitty code. I'm sorry that you're too fucking lazy to make a few small tweaks so that future developers don't have to deal with your sad braindead 1337speak JavaScript
Just use the fucking tool like everyone else, you don't have to fucking disable it so that your sad ego can continue to think you're the Bill Gates of JavaScript7 -
A LOT of this article makes me fairly upset. (Second screenshot in comments). Sure, Java is difficult, especially as an introductory language, but fuck me, replace it with ANYTHING OTHER THAN JAVASCRIPT PLEASE. JavaScript is not a good language to learn from - it is cheaty and makes script kiddies, not programmers. Fuck, they went from a strong-typed, verbose language to a shit show where you can turn an integer into a function without so much as a peep from the interpreter.
And fUCK ME WHY NOT PYTHON?? It's a weak typed but dynamic language that FORCES good indentation and actually has ACCESS TO THE FILE SYSTEM instead of just the web APIs that don't let you do SHIT compared to what you SHOULD learn.
OH AND TO PUT THE ICING ON THE CAKE, the article was comparing hello worlds, and they did the whole Java thing right but used ALERT instead of CONSOLE.LOG for JavaScript??? Sure, you can communicate with the user that way too but if you're comparing the languages, write text to the console in both languages, don't write text to the console in Java and use the alert api in JavaScript.
Fuck you Stanford, I expected better you shitty cockmunchers.31 -
I fucking hate Angular. I don't know man I've been using NoScript since my balls dropped and I feel like JavaScript is fucking useless (I like Typescript syntactically though).
What drives me nuts is all the frameworks: Think of a word, add .js, search it up... it's theeeeere.
I know I'm not the only one who fucking hate JS, and I don't think there are many people who genuinely love it. Sorry I just wanted to rant and it's 5 a.m.9 -
I fucking hate all these JavaScript frameworks. You try to learn one and then there is another one that's rising up. While you wonder why a framework exists and what's the best use case there is a fresh off college grad who built a fucking app on it. How the fuck is it even possible? Did you study the framework? Did you understand how it works? Or did you just put together a bunch of tutorials and built the app. I feel people just want to churn apps out without bothering about understanding the framework. Ask them about design patterns... They know nothing about it. Ask them vanilla JavaScript questions.... They fumble easily. Ask them OOPs..... They look dumbfounded. WTF!!!
Or maybe I am just getting old. It's possible.10 -
As a Java guy starting to learn about JavaScript I have one question.
WHY ARE THERE 20,000 VERSIONS OF JAVASCRIPT???! WHAT MAD GOD APPROVED OF THIS AND HOW DO WE KILL HIM?
...I don't actually think it's that bad of a language though. :^)13 -
Motherfucking website style JavaScript rant ahead.
Just tried to register some travel tickets, at FlixBus. Of course alternatively I could go for a train but those would be more expensive. So yeah.
Turns out that the website loads JavaScript from 20 domains including 3 required CloudFront ones (those are the most annoying because it's not possible to tell by the domain what it would be doing). But alright, I'll take it. Web 3.0 amirite?
So I go and find myself a nice bus, add it to my cart.. oh shit it's the wrong one. Change some parameters, hit return.. well guess what. Turns out that in all their JavaScript glory they couldn't implement that much. Awesome!
Go to another site to get another ticket for my travel back, only to find out that while they couldn't implement return, their webdevs are apparently skilled enough to get a giant boner on blinking "(1) Almost ready!" in the site's title, when changing to another tab and there happens to be stuff in the cart. Do you really think I care about that shit! Don't distract me and let me get my shit done!!!
So, to all you webdevs who would pull something like this and wank on it too. Guess what motherfucker. That purchase got cancelled through the power of JavaScript wank, because there's no way I'm supporting that dystopian junk. Guess what, when people shell out money at your shitty online shop, they may want a quarter-ass decent UX too. And no notifications or any of that wank, you hear me?
But yeah fucking Web 3.0!!! Give me a fucking break.8 -
This rant is aimed towards those who hate on JavaScript developers and the JS language:
Dear Asshole,
I am a JavaScript developer by choice.
I think JavaScript is great.
I agree that JavaScript have some bad sides to it, but I believe that the community is driving good change to the ecosystem.
I appreciate other models of other languages.
I do not include 3rd party NPM modules without checking their source and credibility.
I will not use a framework (i.e. react, Vue, Anguler) if it's not needed.
And finally:
I can do any software engineering tasks a software engineer is supposed to do.
Kind regards,
Nedo-the-angry.18 -
// Snippet
if(isUsingEdgeOrIE(window.navigator.userAgent)){
window.location.assign("https://google.com/chrome/browser/");
}
*sigh*
People laugh at it when you say Internet Explorer is a Pain in the *ss to develop for, because they think it's just a cliché or some sort and think it's not that bad.. but no .. really.. F*ck IE.. :D It f*cked me over so many times..
"Oh Hey, I don't recognize this basic html attribute value you are using, so I'm not going to report an error in the console or so, ima let you search, sweat, get angry, .. Oh Hey, you're not using the right doctype? Let me crash your entire javascript functionality, .. Oh Hey, this CSS selector? I never heard of it.. "8 -
Just wanted to deaign a typography for each popular programming language. Ideally the font matches the language itself. Initial ideas are: a playful candy font for JavaScript cuz it's so easy and fun to use, n a gothic C++ cuz it's like this epic, powerful (maybe sometimes terrifying) language.
Wouldn't it be cool if there's a set of these? Any professional designers here (cuz I'm just a hobbyist)? Or any thoughts? What should your favorite language look like?9 -
What is considered best practice for code indentation? When I'm working with HTML and Javascript my rule of thumb is 2 spaces for indentation, and with Java and Python it's 4 spaces.
Also I'm trying to break my bad habit of mixing tabs and spaces. It's messing with the laws of physics.12 -
My current project is a fucking nightmare.
It started in 2007, using a solution developed by an Indian company due to outsourcing (aka low-quality code).
It's running on Java 7 on the back-end and its front-end side is pure Javascript files. There are thousands of little .js files everywhere, no documentation, no comments, differents coding styles, outdated API that were already outdated at the time, mixed oop and procedural.
Not even when I started coding, I wrote something so horrible.
Yo, it's a clusterfuck and I just wanna get drunk.5 -
It's 3.00 AM.
I'm sittin here debugging a Golang app at an airport.
One part of me is wondering wtf I'm doing with my life and another part is just thankful it ain't JavaScript.5 -
Today I learned that there are people that disable javascript...
Quote: "It's both insecure and resource intensive"
Then he went that only if the script is free he would see what it is to run it.
He also said that he would never allow any js file that comes from google even jquery...
I wonder, how does a man like this live today when most of the websites are heavily dependant on javascript?
I wouldn't live in an isolated world just to be 100% secure, I want my good user experience xD11 -
!rant
When people listen to a complete story and then ask who the villian was..
DEVS : It's like reading JavaScript and then asking what is "this"2 -
Today I started work on a new project that contains a lot of legacy. I asked the developers about unit testing javascript and was told that not only is there none in place, but it's not worth adding any in.
At first, I grimaced and thought fair enough. This is their codebase, it's their choice. I've now been thinking about this for a few hours and have instead decided that screw those guys, I'm adding in a testing framework, a module pattern that's compatible with the existing code, and unit testing the crap out of it. If they don't want it they can refactoring it out, but I can't bring myself to intentionally deliver code I know is crap.
I WILL FORCE CODE QUALITY ON THEM.7 -
GitHub
This repo contains the following languages:
- PHP 58%
- HTML 34%
- Javascript 5%
- CSS 2%
- Ruby 0.6%
- Hack 0.3%
- NASL 0.1%
The last 3 are not in this repo.
Don't fear about AI taking our jobs, it still can't identify what languages it's looking at.18 -
I don't know if it's the new generation of programmers or what but it irritates me how people recommend JavaScript/Node for solving almost any type of problem these days. JavaScript is nice, but come on...12
-
Interviewing a potential candidate...
Me: So, how would you rate your JavaScript knowledge?
Him: Pretty good, although I still don't really understand prototypal inheritance.
Me: Yeah, it's hard to understand something which doesn't exist.
...let the flaming begin 😈33 -
I can't tell you how much I hate people who make articles doing relatively simple things, in node, and instead of showing how to do it, they proceed tell you to install a fucking package (usually made by them)
Yeah no thanks, it's great that you figured this out and took the time to "enlighten" other devs but I'll just look at your repo and use the native JavaScript functions you wrapped on myEgoInflatingPagacke.justAWrapperHuehue(). Bye.1 -
Hey, it's 2023.
If your component isn't written in TypeScript, I'm not using it :)
"TypeScript is overly complicated!!!" why, because it pointed out everything wrong in your JS code?
"TypeScript is not flexible!!!" why, because it makes you not rely on fragile "only possible in javascript" patterns?
"TypeScript isn't needed!!!" why, because you've never worked on a project with more than 100 lines of code where dependency management and clean code policies were implemented?
god just stop with the JavaScript purist BS, you aren't going to win this battle, and it's even worse because not only are you injuring everyone in the software community, you're injuring your own productivity and skillset
actually, you know what, fine. just use pure JS and HTML implementations. see you in 10 years when i'm retired and you are still running around in circles wondering why the world has left you behind24 -
Fuck you javascript and your bizarre Date object.
May your ass itch, and arms become too short to reach.
Spend a good hour debugging why this fucker:
(new Date).getDay();
Returns 3, when it's actually the 2nd of May.
Turns out the value returned by getDay is an integer corresponding to the day of the week.
(new Date).getDate(); it is, ಠ_ಠ15 -
One of the most infuriating ideas in software development culture is that you can build maintainable applications without a strictly enforced type system and structured data.
Sure, it's more fun to wack around a dynamically typed system until it works or to write a major application with mutable datastructures... It's a least fun until a few years in and you have to debug an unexpected overwrite or a inconsistent use of an object property or whatever.
Anyone who writes maintainable code eventually figures out that you need rules and procedures, the issue with JavaScript, python, ruby, lisp, etc developers is that they think it's us developers that needs to enforce these rules instead of the compiler (which is infinitely better at it).60 -
JavaScript.
So terrible language in so many ways, the code is a absolute mess, the shit of the callback hell of functions inside functions inside functions.
And now everything it's built around the tucking JavaScript, you have to learn it by force because there is almost no project that doesn't use it.
I know it has some benefits and because that is getting bigger but the syntax is the worst shit ever, I mean, switching from Python to JavaScript is a pain.
The only good thing is it's getting better with each ES iteration, but it is still a really big piece of crap with hundreds of frameworks.13 -
Sorry mate 😉 can't get away with saying you use Dreamweaver and not expect some evil banter 😈 I mean it's nearly as bad as saying java is javascript15
-
The JavaScript everywhere trend.
Sure it's possible and the language develops at a fast pace since ES6 but JS like any other language just is not suited for everything. I think JS will stay in server side automation and as scripting language for customisation but not how it is abused now in electron or even node.js.
There will be better solutions if they are not already there.10 -
Normal guy : it's hard to understand my girlfriend ...👯😣💩
Front-end Dev : Ha.. then try Javascript 😎1 -
!RANT
I've invested so much time in PHP and now people are telling me it's rubbish ?? 😧😰😢😢
C'mon ! Trying to learn (or get familiar) with a whole new language now will basically mean I'm going back to square 1. That helpless feeling of being a beginner at something 😢
JavaScript, here I come .21 -
Trying to hire more good devs... it's surprisingly hard. Guy with supposed decade of JavaScript experience fails code test, "I don't really use map function so I don't know it."
R U kidding me
...and yet my "maybe we should consider remote devs" idea isn't getting any traction :/9 -
Found an answer on Quora discouraging to learn Javascript because "it's not as important as php". It was a question about frontend development. Soooo 20002
-
It's interesting how much fun Javascript is, when you just ignore it and use Typescript instead. 😎2
-
Recruiter:
I have an excellent opportunity for you! You're experience is exactly what my client is looking for.
Me: (Just got laid off a week's go) Awesome! Send me the details.
Recruiter: here they are
10+ years experience with Java, Spring frameworks...
My thoughts: Hmm I only worked with java for two years 3 years ago. Since it's been full-stack JavaScript. Total of 5 years in industry...
Me: Nah, doesn't look like my type of position... Thanks though
Recruiter: Just go interview and try it out.
<Proceeds to blow up my phone several times a day for a few days>
To Recruiters: Know when to stop. Also, read my LinkedIn profile. Where it says, looking for full-stack JavaScript opportunities.4 -
Phew... okay, I think it's time for me to go to bed. I just coded two webpages in HTML/CSS/JavaScript/PHP, everything works great and I also added some smooth animations when you hover over parts of the page :D
Basically... this last part (a.k.a. "smooth animations") was useless to this exercise, but... y'know... i was interested in experimenting it.
The more I code, the more I think I should be a design guy, lol.
Anyways... jeez, I really should go... it's 2:50 AM right now @.@
Goodnight y'all... 💙
( ¯﹃ ¯๑) zzZ...1 -
Had a blast from the past the other day. Testing an issue with an AngularJS app in IE11 on a project managers Surface.
Nothing works. Just a blank screen. I open the JavaScript console to hundreds, maybe thousands of errors. They all seem eerily familiar, but I can't place them. It's like something from a past life.
Then I see one that brings the issue into sharp focus.
"{{variable_name}} is a reserved word"
No it isn't, I think. That hasn't been a reserved word in JavaScript since...
Me: "Is your browser in Compatibility Mode?"
PM: "Yeah, it's for one of our legacy programs"
Me: "You need to turn that off to test this app. It thinks you're using IE6, so it's having a 2 decade old shit-fit. I haven't seen those errors since I was a teenager making crap on Geocities"
I never thought an error message could make me feel so old 😩 -
Everyone and their mother has a JavaScript framework and the NEWEST cool npm module you're an idiot for not using.
It's like musicians and gear acquisition syndrome, coders love to have new stuff even if it's over-engineered, already exists, or redundant.
Hate dealing with tech hipsters 🙄 is nothing tried and true anymore?2 -
I loved Python from when I wrote my first program up to I googled "how to import a module from a parent directory".
My love lasted 30 seconds16 -
Something that really annoys me is when people abuse the lax semicolon rules in JavaScript. Personally I believe semicolons should be a standard and always used in a language like JavaScript, and while the loose rule on semicolons may be considered convenient when one is forgotten every now and then, it is /not/ meant to be abused and semicolons completely unused. It's particularly annoying when I have to work on a group repo at work and the standard is to not use semicolons. JavaScript to me is much more similar to a C style language than something like Python, so even though the language is built to be loose and easy conventions such as bracket scoping and semicolons should be kept and practiced.4
-
Interviewer : Hmm is there any reason why you pick up nodeJS as your back end language
Me : * forming convincing reasons in attempt to impress interviewer *
Half an second later
Interviewer : let me guess, because it's JavaScript
Me : (sheepish smile) yes...3 -
Context:
Me, Front-end Developer, Javascript stuff
---
Junior Dev: Hey xxzer0, could you help me with this? I spent the entire day on it and at this point, I think I just broke Chrome.
xxzer0: *---* Okay, let me see.
Junior Dev: Do you see it? I am updating the Javascript code but it's not working at all. The browser is not even loading it... Literally, the code I just wrote is not there.
**
Now be me, be the fucking idiot I was and I have been my whole life, I already knew what was going on because I lost a fucking day on it as this guy.
**
xxzer0: Well, let me see just one thing...
'Open Chrome Dev Tools' -> 'Network' -> 'Disable Cache'.
xxzer0: Now try again...
Junior Dev: What are you..doi........ IT'S WORKING! O.O
Chrome, I love you but sometimes I wish you could make this more "accessible" to newcomers.5 -
After 3 interviews with test:
"Ok very good, I see you are good with JavaScript, Php, MySQL and some frameworks, it's exactly what we need because we use only on the edge technologies and we do very cool products."
"Thanks, so what about the first app?"
"App? oh no eheh, now you must manage our 12 wordpress sites and edit the CSS!"
"Very good, so while I see you all goin to fuck monkeys I with to you a nice day"2 -
people who don't use semi colons in JavaScript. I know it's not required but God does it drive me nuts.
also one line if statements that don't use brackets.
ahhhhh3 -
Wasted a bloody hour today wondering why a route was giving weird errors...
Turns out I inadvertently wrote a for ... in ... loop instead of a for ... of ...
It's my bloody fault for being retarded, but I swear this unholy mix of JavaScript and python I'm dealing with is doing bad things to my brain. 😔5 -
So before the Age of JavaScript, when programming was trying to be an engineering discipline, I felt like we were getting close to figuring out what worked and what didn't. We had rules of thumb (more general than Patterns) and code smells.
Then JavaScript came in and no one had time to think about "engineering" anymore. I'm fine with MVP and small iterations, but the disdain I see for making code clean and extendable and improvable is baffling (and annoying). First-time coders might never have had to fix someone else's code, but two weeks in a chair should have fixed that.
It's not that understanding code is so hard (although it can be); understanding the _intent_ is hard. This MVP is great, but when no one had time to document what is actually supposed to happen, programmers have to reverse-engineer the *design*.4 -
We use jira at my company. It's great for me, because no ticketing system's UI is worth a shit, but jira's API is excellent. But we're switching to a new system that is an absolute piece of garbage. Every page is 100% Javascript, so no source can ever be viewed, and the URL never changes to reflect what's onscreen. If you know a ticket number, no URL will ever get you straight to it. You have to navigate multiple slow-loading 25MB piles of Javascript to reach what you're seeking. And most damning of all: the new system has an API, but our highest management is withholding access to it, claiming it breeds laziness.
Is amazing the kind of shit you have to swallow when your management has regular meetings with really really super extremely good-looking sales people.10 -
It's pretty common the hear developers moan about JQuery being imported to select an element. That's fair enough and I've sighed inside about that myself before.
However, I've come across an odd one. I'm looking a JavaScript file here that's close to 600KB in size.
528KB of that file is the Loadash library (which is excellent btw). The actual site uses the "join" function (https://lodash.com/docs/4.17.4#join).
I mean seriously wtf, face palms all around.
JQuery, for all it's faults is always cited in such circumstances i.e. being used unnecessarily. However, such things are not limited to Jquery alone unfortunately.
I'm now going to do some serious optimization and cut a 600KB file to ~80KB.
*** facepalm ***4 -
A thousand years ago, Erik the Red names Greenland "Greenland" (even though it's icy) to trick travellers into coming there.
LiveScript was renamed to JavaScript for similar reasons.3 -
okay if you think i hate javascript just because it's popular you're partially wrong, i hate js because it's popular and shit, i wouldn't go shitting on vba, because it died and got replaced by a better language.
it's like shitting on sword art online.13 -
Me: I feel like JavaScript has buyer's remorse because all day you return, return, return things.
John: That's how you know it's functioning. -
Ohh..The title says there is a job for javascript developer. Let me check the JD(hoping they are not looking for experience in Meteor, ember, backbone, knockout)
*Opens JD*
WTH!!
People really need to know the difference between the Java and javascript. It's so simple
Java is to javascript as Car is to carpet3 -
When it feels impossible to get your javascript callback to happen at the right time, so you just throw the callback somewhere just so it works, but you know that it's not the ideal spot for it... 😡😡😡
🖕💻6 -
It's computer science college, and yet :
Them : ... so thats how my project goes ! it's fun!
Me : whoa that's cool, do you use javascript?
Them : ... umm
Me : ...I suppose??
Them : uh, i use node and bulma actually.
WHAT THE FUCK?11 -
I love javascript, but sometimes it's just an incredibly stupid language, such as when undefined variables get interpreted as string literal "undefined" when concatenating strings. I like it better how, for example, PHP handles undefined values, that nulls just turn into "". Better still: typed languages, where most stupid mistakes are caught already at compilation, instead of having to spend hours to track down where that mysterious "undefined" comes from. As I said, I love javascript - because it is easy to code, flexible and forgiving in many ways. But I hate it for the exact same reason, for being such a sloppy fluffy...thing, and a bugger to debug. If javascript would be an animal, it would be a cute and cuddly cat that you instantly find adorable, but it's actually quite fat and lazy, plus its fur is littered with ticks and other bugs.12
-
I think JavaScript is an addictive language... That is the reason it is most used language. It's like humanity never liked strict things at all 😋... What do ya think?5
-
I honestly don't get the idea behind JavaScript frameworks. Like, if JavaScript on its own is really so bad that it's only usable for front-end devs with a framework.. why has nobody considered committing back their changes into JavaScript itself? Makes life easier for everyone.
Also, regarding the framework.. as far as I understand it's a bunch of functions that you load in, right? But do you really need all of those, to the point where the unused ones are justifiable? And wouldn't it make more sense to write them yourself as you need them? I mean that's at least the idea of functions in languages like Bash or C or whatever.
What's the point of frameworks?37 -
OK so... project I've been working on! It's a virtual processor that runs in the browser coded in JavaScript. OK so I know, I know, you must be thinking, "this is crazy!" "Why would she do this?!?!" and I understand that.
The idea of Tangible is is to see if I can get any tangible performance over JavaScript. I've posted a poorly drawn diagram below showing how tangible works.
The goal for tangible is to not use html, javascript, or CSS. Instead, you would use, say for instance, c++ and write your web page in that, then you compile it using my clang plugins and out pops your bytecode for Tangible. No more CSS, no more html, and no more javascript. Instead everything from a textbox to a video on your web page is an object, each object can be placed into a container, each container follows specific flag rules like: centerHorizontal or centerVertical.
Added to all of this you get the optimization of the llvm optimizer.18 -
I swear to God it's people like this that just get on my nerves
"Oh look at my fucky javascript code"
"Let's tag it as JAVA NOT JAVASCRIPT BECAUSE IM AN UTTER IDIOT"
It appears that proper tagging is not just a devRant issue.4 -
I want the pipeline-operator in JavaScript. I want it now!
... But then I mostly work with Vue.js (because it's awesome) in the last time and I somehow miss vanilla JavaScript. Life is cruel.4 -
Ask fairly technical SEO question on Stack Exchange. Only response is a comment telling me it's be easier to do it differently and use HTML instead of Javascript.6
-
!rant
Just discovered bulma.io! I've got to say I am completely in love with it! It's sooooo much faster than bootstrap and it's completely JavaScript free, you have full control over what parts of bulma you import and use, making it even faster.
I haven't had this much fun re-doing a front-end in years!
So what's your opinion on bulma.io (and/vs bootstrap) ? :)4 -
Whenever I code in javascript I feel like I need a shower afterwards. Told my wife it's like going to amsterdam's red light district with all the different frameworks and libraries it has.
I give it to the frontend guys. I couldn't do it ever day.6 -
I've been using C, C++ and Python for 10+ years and suddenly I moved to a new job where I had to learn and use JavaScript.
I think that it is different, as many say, but it is full of lacks and it's like a pile of hacks to make things work. It's a scripting language used as a programming language. What do you think about it?14 -
Me during a presentation of a website for university project. It's a simple project for our university where there is internships offer for our field, stack : php, js, css (bootstrap), and the presentation was on my computer, so on localhost.
In that projet i have implemented a back office to manage all the offers, basic CRUD functionality, and as lazy as I am, for delete confirmation i used a simple javascript alert for that.
Me during the presentation :"so here is the back-office to manage users and internships offer, and for deleting one offer you just have to click on this trash icon *click*".
Ze professor : "hold on hold on, why it's showing 'localhost' "
Me : "it's javascript alert"
Prof : "but why 'localhost' "
Me : "oh, because i'm running the website on my computer as a server"
Prof : "but why localhost, it's not professional"
Me : *god please "it's javascript alert rendered by the browser, we can't do anything about it, and for a simple application it's sufficient"
Prof : "but why it's bigger than the message, and if we host that, do we steal have that localhost"
Me to end that : "I'm sorry i made a mistake on that".
Fortunately i had a good mark on that project.
It's my first story here, and sorry for ze bad English ^^1 -
Whenever I'm extra proud of my coding skills, I go to YouTube and watch devs build Pacman, Donkey Kong etc from just plain Javascript or build portraits from just CSS.
It's an effective way to humble myself.4 -
When java was facing extinction, during the JavaScript, Node, and reactive programming hype. It did what it had always done. just adapt to the hype and maintain backward compatibility. We can all learn a thing or two from the humble java. It never rushes, it's patient. Be calm and wait before you hype yourself.2
-
Be proficient in JavaScript.
JK
It's not possible.
Let's start by mastering reactjs.
HAHAHA IM KILLING MYSELF16 -
ZAYN : Baby, let me be your man.
BABY : No let, only const.
...
Disclaimer : it's a JavaScript joke.
😂😂😂😂3 -
Today's rant: JavaScript's type system.
I realized halfway through that I can't happily call JavaScript a "programming language" so just assume
alias programming="scripting"
I'm sure it's not actually as frustrating as it seems to me. Thing is, I'm used to either statically-typed languages or dynamically-typed languages that actually make sense. If I were to try to add an integer to something I'd forgotten was a string in Python, it'd immediately tell me "look, buddy, do you want me to treat this as a concatenation or an addition? I have no idea the way you've got this written." I've found that mistakes are a common thing with dynamic typing. Maybe I'm just not experienced enough yet, maybe it's really as stupid as it looks. JavaScript just goes "hey look I'm gonna tack all of these guys together and make a weird franken-string like '$NaN34.$&' because that's absolutely what we want here!" Then I run my webpage and instead of a nice numeric total like I wanted, good old JavaScript just went "Yep, I have no idea what I'm doing here I'm just gonna drop this here and pretend it's right." Now absolutely I do not expect my programming language to make correct assumptions and read my mind, otherwise JavaScript would be programming me and not the other way around. But it could at least let me know that I had incompatible types going on rather than just shamelessly going along with what it's doing. Good GRIEF, man, some of the idiosyncrasies of the EMCAScript language definition itself just make me want to punch a horse.6 -
First job. Started 2 weeks ago, I'm doing an internship in a Web development company and even though my studies were mainly for Java and Android, it's going fine.
Past week I learnt to use .less and HTML5 and will start with Javascript now.7 -
I've seen lots of other ranters complain about huge code files... I just came across 27k Javascript extension for a software like Postman ...
First I thought cool I can work on it since it's JS, then 27k of lines later: I think I'll go sleep .-. -
Visual studio intellisense is going to make me commit bridge jump
In HTML, it's changing "id" to "itemid" ???
In JavaScript, it's changing document.getElementById and document.querySelectorAll to documentgetElementById and documentquerySelectorAll ????
What the fuck is this horse shit. It's only getting worse and worse. It's like Mt. Saint Helen blew up 5 minutes ago, they updated the system, and accidentally set off the Yellowstone Giga-volcano. Fuck you, william gates.5 -
I was think of using ajax to pass data from javascript to php because of some validation to my multiple checkbox, then before i go home the idea hit me to just use validation in php with some basic variable manipulation and if else, i just wasted 2 hours of searching just to arrived at a basic solution, i think it's much better to think before you code about what you want to do,but when i open my text editor i get distracted a lot.11
-
A cool new CLI framework I saw trending on Github. It's mainly for TypeScript/JavaScript Node.js developers. I like the Quiz functionality a lot. Could be quite useful + it is super fast, took 0.4 ms to download.
https://github.com/klaussinani/qoa
(Reposted cause I forgot the link haha xd) -
The more you learn languages like Javascript and Python, the more you realise that while every syntax differs, they're all essentially themes of the same if, else or and, type statements... This leads me to believe that with enough practice, it's possible to shortcut or pick up a new language progressively faster. Or am I just a melon?7
-
When you have to made a little game with javascript, and because it's your first game you made a beautiful maze with lot of wall.
Ahahah... i'm shit.
I forgot wall have collision.
I'm here now, with 40 different fuckin' walls and much if and else if conditions.
I hate me.
Yeah i know, I can just change my maze but no... I'm lazy. Cry against the collisions is better.
Have good day.9 -
Recently I tried implementing a 2d grid you could drag (for performance I decided it would auto genetate new grid tiles)
Gotta say, I have a lot more respect for people who try to build this without a framework, I am building it using JavaScript and pixi.js
But man, drawing graphics is hard 😅
It's worth it though, performance is mad 💪3 -
Javascript in general (jquery, Ajax, nodejs and so on) is my greatest weakness. I've been working on a project which a great part is js and it's slapping in my face that I don't really know js. It's frustrating as fuck but it's a great experience, because I can now work on my weakness and turn it into my greatest strength. So let's see how it goes. If I don't smash my head into a wall in absolute rage that is...5
-
*Googling for articles that explain something I'm trying to research*
Oh! This one is highly rated, sounds good!
*It's all written in python*
Ugh that's not helpful, ok next one
*Written in python*
Ok... Ok... Third times a charm
*Next 128 articles are done in python*
Has anyone considered that maybe not everyone uses python?
At least try writing it in Javascript or C++, much easier to adapt code to other languages... Maybe I'm just bitter because I hate python ¯\_(ツ)_/¯10 -
I have the urge write my own javascript framework for my personal projects.
But I think it's harder than I think 😬
Probably should start with a PHP one. Much simpler.
Already have my own DB Lib is use a lot. Good start.6 -
Usual python code problems coming from someone who has been coding in Javascript and PHP (<--no pitchforks please). It's been months already but old habits still keep on coming back
- adding a semi-colon
- mixing spaces with tabs
- using a lowercase boolean
- adding an open brace when declaring a function
- forgetting the colon ( ;'s brother) -
I just spent a whole day learning wordpress cause it's mandatory for my graduation project and I'm still not quite sure what I'm doing.
I'm proficient with HTML, CSS, Javascript and PHP enough to make the damn thing in less than a day, yet here I am strugling with the damn plugins and themes... It just looks too chaotic for me.6 -
It's disgusting how a package like compress-commons can have 1.3 million weekly downloads yet no documentation whatsoever and not even any relevant comments in the code. Honestly fuck the javascript ecosystem3
-
I don't get all the hate for Javascript, or I might be spoiled with ES6 and React clouding my judgement. :P
I could write web pages in Javascript all day long. It's better in my opinion then writing pure HTML and CSS. ¯\_(ツ)_/¯
Maybe I'm more cut-out for full stack dev work then I thought...3 -
"I hate this in javascript, because I never know what it is referring to."
Read this joke here some months ago. Today i learned why it's so funny -
On a digital marketing course.
Teacher:
"Web pages are made of structured content and style, that's HTML and CSS. There are also many programming languages, like JavaScript or Python, but we are not discussing those here because it's computer freaks stuff. Now let's talk about cookies..."
Me: Should I kill myself now or wait until that man stops saying shit an die killing him too...?1 -
Mind blow of the week: JavaScript has no "else if".
It's always two tokens. Not one. It's NOT like python's "elif".
It's ALWAYS chaining an additional and DISTINCT if statement in the else clause of the first. It is NOT creating multiple comparison paths in the same if statement as it would seem.
For example:
if(a) console.log(a);
else if(b) console.log(b);
else console.log(c);
Simply needs more proper indentation to show which "if" the "else" actually belongs to:
if(a) console.log(a);
else
if(b) console.log(b);
else console.log (c);8 -
So I'm toying around with an old Pentium M laptop I used to use back in 2013-2015,and it's surprisingly more useable than I thought it would be,but I swear I don't remember the internet relying so heavily on JavaScript.6
-
I honestly treat JavaScript as a binary executable format nowadays. It's an output format for me.
I choose you, TypeScript.4 -
Seems to me that shitty youtube shorts "explaining" basic programming concepts via shitty JavaScript snippets.
Yesterday I've seen dude basically badly explain/demonstrate currying, on such a contrived example that it didn't explain WHY would you ever want to use it, and apparently without being aware that's what it's called, and using like 5 nested/chained ternaries.7 -
A dev in the team just found out about JavaScript promises. Now he is putting them everywhere but never handling errors, so it's impossible to tell where the app is actually failing because the error points to the Babel polyfill and the stack trace is not long enough.1
-
Me: Hey programming languages, is 0 == [ ] ?
PHP: Nope. It's not.
Python: Nope. Easy.
Java: Heh. No it isn't.
Javascript: Oh, um yeah, hurrr durrr harr harr YES it is.
But screw it, hAvE yOu hEaRd oF nExTjS? wE sUpPoRt sQl qUeRiEs nOw.29 -
It's official. I've hit javascript ~fatigue~. *Burnout*. STAAAAHP with all the frameworks and libraries and weirdly named stuff. To quote Abe Simpson: "I used to be with it, but then they changed what *it* was. Now what I'm with isn't *it*, and what's *it* seems weird and scary to me. It'll happen to you...".
I need to switch gears.1 -
My boss has been working in web development for roughly 10 years now.
Today he learned about the existence of try/catch in JavaScript and asked me in which browsers it's
supported in 😢 -
Firefox is getting better and better!
The improvements that came with 57 and Quantum were awesome! And now with 58 there are mayor performance improvements like Off-Main-Thread Painting and a new Javascript caching.
There are even some nice new features like the screenshot tool (in 58 available for the private mode, too!) that are really exciting.
I am looking forward that Firefox could maybe become again what it was back then! It's so cool!5 -
javascript is garbage
typescript despite best intentions, regardless of how well it's executed, is still garbage as it's some sort of band aid on top of javascript, and javascript is garbage
Before you ask, yes I'm garbage at front end development5 -
What in the flying fuck is happening with this fuckery. Geezus fucking hell man...this is some top level fuckery. It's some grade A fuckery. It is about the most fucky thing I had ever fucking seen in a while. Fuck it. That's it...i am going full time Golang or C++ dev.
Peace bitches i am out.
https://zdnet.com/google-amp/...4 -
JavaScript is a functional language.
It's probably closer to ocaml than it is to java. Why the fuck does no one talk about this? I would have learned it sooner.14 -
So... our software is... really old. Part of it was built 20 years ago in Delphi 6 and is still used to this day. It's an automation tool, which supports some scripting... In WSH. Meaning, it only supports JScript (that's right, not javascript, just JScript, the 1998 version), VBScript, and through the use of activex, Python or Perl.
And even our *newer* software, built a couple years ago, just released an update where the HTML rendering engine was updated... to Gecko 38, the version from 3 years ago. And the JavaScript engine is Rhino, the "old" one now replaced by Nashorn a few years back, and barely updated since.
But... there is *some* light on the horizon. The very newest automation tool now has a new plugin, which is based in NodeJS. Having just installed this newer version, I looked in the files to find the nodejs.exe executable... to find that it's on version 8.9.4. Ok it's not precisely the "latest" version, but knowing the history of development for these things I almost expected node 0.10.
It's great news in all this ancient technology I have to deal with. When's the *last* time you made an HTTP request using this code?
var http = new ActiveXObject("WinHttp.WinHttpRequest.5.1");
http.open('GET', 'http://example.com/', false);2 -
I dislike Google page speed. I understand their intention but sometimes it's just stupid, like inclining critical CSS and loading in the rest of the CSS using JavaScript.
What happens if the user has JavaScript disabled? They get a half rendered site they can't use that looks broken, but hey, at least the crappy site loads quickly.5 -
JavaScript was born because Java and html decided to have a one night stand and html became too emotional to let go of it's kid...3
-
Friend: Java and javascript are the same..
Me: You're kidding me right? It's like comparing a Ferrari to a bicycle. Not even in the same leagues man!7 -
Several JavaScript Frameworks / Libraries keep springing up everyday! After learning Angular, everyone is saying it's fading and React has taken over.
What's fucking wrong with Front end?!!15 -
Hello and welcome come to hell for developers. Take a seat at any open computer.
You may have noticed we did away with the fire and brimstone.
Instead we just have you maintain the legacy code from your first job.
It's genrally html, php, javascript, and css all on the same page and all mixed together.
We would say have fun, but that's not really the point. -
A TypeScript boolean/undefined Flag variable kept fucking up
true == true didnt hold true
checked the "typeof" in console and it's GOODDAMN STRING.
What's the point of TypeScript's "type safety" if a Boolean variable is holding a String type for whatever reason. URGHH I HATE JAVASCRIPT.23 -
It's been long time that I use the JavaScript blocker add-on by default, and I pretty much get accustomed to see and perceive the web as broken styling trash for most of the times.
And this broken state(on non-SPA websites) isn't even justified because CSS has never been as powerful as nowadays. So... WTF?
On my side, I never let the absence of JavaScript ruin the template/style of a webpage u_u12 -
Everytime I scroll through here I see people complaining about JS and frameworks being made for it. Well think about it, would you rather have to use old buggy JavaScript or help the community and the language achieve better standards? Just look at ES6 and ways to write code and JavaScript really isn't that bad. It's just misunderstood.3
-
Final year of my diploma in Information Tech, I overhear a coursemate, well-known know-it-all, explaining what Javascript is:
"It's somewhat like Java but it's used for scripting purposes."
I swear to the Lord Almighty, I wish I could drive my palm through my face.1 -
Attempting a huge undertaking. I'm trying to convert a large JavaScript library, written in standard ES5 syntax, to Typescript with ES6 syntax. Turns out it's extremely difficult, but if I can finish this it will be 100% worth it3
-
I feel like it might be a tiny bit (not much) better among React developers, but I ended up within one of those enterprise Angular till death companies, and it seems like nobody would ever doubt their Typescript skills, yet nobody actually understands Typescript at all.
In theory, I love Typescript. But you can abuse it to a point where it's almost as painful to work with as normal JavaScript.
It's not that I'm a master of Typescript.
But while I feel like I'm the only one understanding the mental model behind Typescript and also get stuff like mapped types or why you might wanna replace your enums with as const assertions, the rest calls themselves Typescript developers in their CV, no doubt. But It's way to easy to write whatever Typescript, while it's not as easy to reel get the hang of it.7 -
Started my summer internship at a company working on their codebase about two weeks ago. I expected a lot of differences from school, but not this much. I still have no clue what I'm doing. Don't get me wrong, I'm getting stuff done, and it's helping out, but I still have no idea what is going on.
Oh, also, we use outdated Javascript frameworks... I don't actually know Javascript yet but we're just gonna roll with it2 -
Just merged the stuff that the other intern and I have been working on for the past couple weeks together. He didn't comment a single function; not the couple thousand lines of c# functions on the server side, nor the hundreds of lines of JavaScript on the client side. It's a mess of formatting... Ugh.4
-
- The golden rule of CoffeeScript is: "It's just JavaScript".
- Nice!
- And provides a basic class structure that allows you to name your class, set the superclass, assign prototypal properties, and define the constructor, in a single assignable expression.
- No nO NO NO! -
I totally forgot how bad working with JavaScript is. After like a year of working with properly typed TypeScript base where navigation and documentation works very well, now I am in a world where IDE (IntelliJ IDEA) does very little, essentially it's just now a stupid editor. After few days I miss TypeScript already.
-
I'm really happy 😁
I'm usually a library developer, but I bought a domain and started a website: forbylinux.com
I'm constructing my own Linux distribution and package manager from scratch.
Anyway, I've never used CSS, html and JavaScript before, how does it look? (It's kind of empty, still have to add content)9 -
Had a recruiter contact me about a Javascript Developer position. This job was an on-site job 8 hours away and I have a wife who has interviews for a teaching job in the area we currently lived. So she asked if I knew Javascript well, and I said yes for Web Development. She says, "Well I'm sure it's the same for Javascript applications, right?" I said, "I've never created a Javascript application." She says, "I'm sure it will be fine, do you want to come in for an interview today?" That's when I hung up.
-
I have been working on a, dare I say it, a Cookie Banner JavaScript Plugin for GDPR requirements. It's completely customisable and provides users opt-in/opt-out options. More features to follow. You can check out the updated build at
https://github.com/clive-machado/... 🤙2 -
JESUS FUCKING CHRIST
Working with google shit is a fucking nightmare.
WHY DO THEY HAVE TO REINVENT EVERYTHING ALL OVER AGAIN?
Javascript already have a very standardised way of handling env variables. It's called dotenv. It's simple. It's efficient. But of course google can't have it and must use their own version WITH ENV VARIABLES BEING SETTABLE ONLY THROUGH CLI. Because who would ever want some kind of end user friendliness. That's for the weak, like users of netlify.
Fuck you, google. I wish you could rot in hell.5 -
Testing a script embed plugin I am building on various random websites, and came across this.
Like, bruh; have you ever heard of a javascript map? Basic functional programming? Or even a switch statement?
It's the same statement, over and over again, but with different parameters. Even old javascript had enough tools to do this with at least a basic stench of "efficiency"11 -
So JavaScript/ES6 is kicking my ass. I'm not used to front end development as much. Idk when to use javascript and how. I dont know when I need to manipulate the DOM and how I do it. It's a new concept and I'm hoping PHP isnt gonna have as big of a learning curve..7
-
JavaScript is shit! The only JavaScript frameworks I've liked so far is Angular 2 onwards all the way upto 5, and that's only because it's in TypeScript. Fucking JavaScript! How did it even get here!? So anything with JS, please save us all the gut wrenching, testicle crushing, ass fucking without lube pain.... fuck JavaScript!1
-
Question: We are planning to transition our old ES5 codebase to modern ES6/ES7 and even typescript.
What would be the build tool you would recommend if we want to start supporting ES6/ES7 and even Typescript?
Webpack, Vite some other?
This is a vanilla Javascript Project with large codebase it's been built using custom build tools like UglifyJS and UglifyCSS and of after lots of begging it finally got the green light to move to a more modern build tool and start supporting a more standard JavaScript Features.
Mainly I want to move to TypeScript but transition would be slow so the build tool would need to support .ts and .js as well, that is traspile both the .ts and .js into one final production build.
What build tool would you recommend for that?8 -
Started the Course "Web Development with JavaScript and DOM" a week ago. I love it. First time I've tried Bootstrap. It's great.3
-
I read: "Don't change your implementation to do tests"
Then I read: "If it's too hard to test, your implementation is too complex"
Then we can get into test terminology itself, which is its own mess:
http://xunitpatterns.com/Mocks,%20F...
sheesh, if you thought the whole javascript / framework / web ecosystem always feels immature and behind other areas of software, i'm about to argue that testing patterns are even further behind8 -
In my opinion people hate JavaScript just because it's different from other languages.
Why people hate coercion? It's useful if you know how to use it. Or dynamic typing.
What's your opinion about?5 -
JQuery is not badly designed... It's not designed at all.
JQuery is just awful and it's being used by people who know nothing about programming... Hell, some of the JQuery developers were not even programmers or had programmed before.
JQuery is a part of the whole "Wordpress community/world" and that world is full of people who doesn't understand what they are doing, Wordpress isn't designed either (that's why Wordpress stores serialized data in a structured database).
Every single Wordpress theme developer includes JQuery and it's disgusting. Most of the time, they don't even use it.
JQuery is not Javascript on steroids, it's javascript with cancer. Get rid of it. It's bloated and only lazy people use it. (JQuery will give you about 200ms extra response time for your site)5 -
A new JavaScript framework you're saying?
I was working on a dashboard website, and when I was deciding what to use (plain JS, Angular...) I've decided to make my own, lightweight routing framework.
It's on GitHub (https://github.com/Kamebase/Kame)
What do you think about it?6 -
I have a weird love/hate relationship with JavaScript.
I'm not at all a webDev, but I like to use it occasionally because it's fun and I really like its syntax... but it's an absolute pile of shit.
If you put racing stripes and a spoiler on a golf cart, it's still a fucking golf cart.2 -
Only if javascript could have milkshakes, which would be it's favourite?
-Yes, you are right!!
If you couldn't get it, why are you even here?2 -
Your one-line JavaScript arrow functions AREN'T LEGIBLE! You've just memorized their shape. It's OK. But don't lie to yourself. They look super stupid. They aren't for humans.13
-
Microsoft buys JavaScript developer platform npm; plans to integrate it with GitHub.
https://zdnet.com/article/...
Now it's npm. MS is taking on the open source world slowly. What if later they change their motto of "Microsoft loves open source".5 -
I like rants that are thought provoking and push a message forward regardless of whether they may sting a little, so for my first post on here I'd like to hit at home with many of you.
Html5 "Native" Applications are not needed. Let's cover mobile first of all, the misconception that apps are written in either javascript or Native android/ Native ios environment. Or even some third party paid tools like xamarin is quite strange to me. OpenGL ES is on both IOS and Android there is no difference. It's quite easy to write once run everywhere but with native performance and not having to jump through js when it's not needed. Personally I never want to see html or css if I'm working on a mobile app or desktop. Which brings me to desktop, I can't begin to describe how unthought out an electron app is. Memory usage, storage space for embedding chromium, web views gained at the expense of literally everything else, cross platform desktop development has been around for decades, openGL is everywhere enough said. Finally what about targeting browser if your writing a native app for mobile and desktop let's say in c++ and it's not in javascript how can it turn back into javascript, well luckily c++ has emscripten which does that simply put, or you could be using a cross complier language like haxe which is what I use. It benefits with type safety, while exporting both c++ and javascript code. Conclusion in reality I see the appeal to the js ecosystem it's large filled with big companies trying to make js cross development stronger every day. However development in my mind should be a series of choices, choices that are invisible don't help anyone, regardless of the popularity of the choice, or the skill required.8 -
It just hit me that despite being possibly the most object-heavy language out there, JavaScript actually wasn't even properly object oriented for the longest time. No language-level support for Encapsulation, Inheritance, and without a strict class system, it can never really have polymorphism or abstraction.
Since literally everything is an object, it's impossible to make it object oriented 🤯4 -
Looking at vacancies and the JS build tools asked (Babel, Gulp) and then visiting their websites I notice that I don't understand what they are going on about.
"Leverage gulp and the flexibility of JavaScript to automate slow, repetitive workflows and compose them into efficient build pipelines."
What the actual corpo fuck?
The "get started" page expects you already know npm, typescript, and when you look at their pages, well... Where does the circlejerk end and the actual Javascript start?
I've been out of the corporate loop for a few years, seems it's all about build tools these days. I need to get out of this industry pronto.3 -
Currently debugging why some clients text boxes are lagging severely on input. Fingers crossed it's not my JavaScript I pushed last week..4
-
think JavaScript might actually be genius...
cuz it's like you build all code with a quanta: https://en.wikipedia.org/wiki/...
and you just have to know how a quanta works
and you can build the whole universe from that
there's so much brilliance in simplicity
kind of feeling like rust is like java where there's too many abstractions you have to memorize and they could've been better represented with just one type that you could do everything with. like I can't see rust ever being as flexible as JavaScript. JavaScript feels like you're totally free to be as creative as you want and you don't even have to think about the layer you're skating on. the layer is always made up of one piece, and this one piece always follows the same physics, and you just chain it together to make everything you could ever imagine. so fast. so easy14 -
So I'm a young lad with a career in Front end development I love coding in HTML (yes I know it's not a coding language to some, but to a computer illiterate person it's wizardry so I've got that going for me) I've got skills in responsive design with css and skills in javascript, jQuery and a little bit of skill in PHP But I'm not sure what to go for next? I'm not much of a back end developer..got nothing against it, just never was my cuppa tea. I want to improve my skills but I'm not sure what to look into.. Any advice?2
-
What's your opinion on functional shortcuts and 'hacks' in many languages, like map/reduce/filter, ternary operator, lambdas,inner/anonymous classes?
Imo they can make development faster and more efficent but they make the code very unreadable, especially if someone else has to read it, Therefore I try to use them only when it's appropriate. My dev friends use them too much and it makes reading their code a hellish experience, especially in Javascript with Rx.3 -
There's a function a previous employee wrote called isNullOrEmpty.
... It's a JavaScript function.
We're a .NET shop, if you couldn't guess. -
The more JavaScript I need to review, the more I realize it's a hack on top of its previous design
..in a loop, human centipede style11 -
Hey hey hey, stupid poll time! Yay!
Okay it's only the second one but let me dream
If you had one of each thing that makes your dev life what it is, which one would you pick?
Let me explain a bit: I mean IDE, drinks, language, coworker, project... If you had to keep ONE think in each "category" of your job, what would they be?
-----
Mine would be:
JavaScript (I know some others are better, it's just my most fluent one), Atom IDE, Orangina (drink, for the ones not knowing) and my most powerful laptop out of the two. Those would be the things I'd keep if I had to.
-----
Please don't bash me on my crappy question, I'm just wondering >.<8 -
Fuck JavaScript!
Seriously, it's always like this:
> "Hey, look <module name> seem cool, let's try it!"
> Find a tutorial
> Tutorial is 3 to 6 months old
> Should be good
> Everything is deprecated
> Come on...
> Back to C I guess.
It's moving waayyyy to fast.
It's frustrating...19 -
I though of a great way to explain to an absolute beginner why you need 3 file types to build a website:
It's like building a house
HTML handles the structure of the house
Javascript handles the electrical and water (things that make the house run)
And CSS, like the decorators that make the house look pretty6 -
I just released a new Laravel package. The concept behind it is to use PHP for everything, so you no longer have to write HTML, CSS, or JavaScript. No more constant file and context switching. It also allows you to create and use components in the same way you would with JavaScript libraries like React or Vue.
It's called Malzahar. A magic PHP framework. Build reactive web apps without writing HTML, CSS, or JavaScript! Powered by Tailwind, Alpine, Laravel, & Livewire.
- Github Repo - https://github.com/bastinald/...
- Demo Video - https://youtube.com/watch/...
Thanks for checking it out.6 -
The JavaScript community should invent the word "outd" to use instead of "outdated" just to make sure they give forewarning about frameworks and tools going out of fashion, because by the time they spell the full word it's already too late and a post-mortem announcement.
-
It's going to be horrible if God was a JavaScript developer. We'll only be created as skeletons and have to run some commands like
npm install brain
npm install body3 -
Just noticed a thread on r/programmerhumor about bank code intentionally adding delays with all these JavaScript code blocks of how it's adding sleep cycles in.
So I spent an hour reading the documentation and wrote up an over engineered solution in COBOL just to prove a point.2 -
Borrowing a JavaScript book from the school library and realizing that it was published years ago and is very outdated because it always refers to the compatibility with Internet Explorer. I'm not sure if I should continue because after all, it's the basics. Maybe it's worth returning already... or maybe not because I don't always have access to the internet, but a book is easily accesible with or without internet.3
-
I just spent an hour researching about how to do this thing in a particular JavaScript framework when I remembered I can do it in CSS 🤣 I'm so embarrassed I really need to practice my vanilla
Worst of all I did find StackOverflow answers with the framework solution but it's so easy in CSS -
fuck php and fuck it's whitespace header not sent bullshit, apparently there a bazillion ways the header function may just refuse to work, all for a function javascript does way better13
-
I gotta say. Zig generics / comptime code gen remind me of old (pre-prototype) JavaScript code where you construct an object using parameters and return that object to be used as a class (except in this case it's actually turned into a class at comptime instead of an object masquerading as class)28
-
It's really sick how beginners start to code in Javascript and CSS, and their complex frameworks, without even understanding atleast the paradigm first. Googling your way up can be fine for smart ones, but as least time optimal this learning method sounds, it's as dangerous and non-productive too.
Also once project gets to a certain level, it's practically impossible to revisit and refactor old codes in front-end languages which kills the maintainability. Views?3 -
i'm currently working on a FOSS project with 2 friends and try to do some kind of VHDL (virtual hardware description language) code generator in javascript
the more i think about the structure i need to build, the possible combinations, the automation of describing all components, yada yada yada, the more i get this feeling it's becoming an NP problem ... or at least a very big algorithm😅😐
let alone the problem of saving the whole goddamn code in files downloadable by the client via javascript🙄
heard of nodejs that supports file handling, might try that🤔4 -
I started to like Typescript. It was like c# on the client. Then the amount of lines and functions grew, so it was time for modules. That's pretty much when it went like this for me:
https://hackernoon.com/how-it-feels...
I know it's a year later, but I don't think things have gotten much better since. That was pretty much exactly my experience this year.1 -
I'm about to start learning Android development. First it's the obligatory Get Started, then a couple of Udemy courses. After doing javascript for so long, i think it'll be nice to use a strongly typed language again (Java is my first language; college you know).
But, I'm REALLY not looking forward to Gradle wasting my time--it took two minutes to even start up the IDE for the initial project.
Ah well, nothing's perfect3 -
It's been a long time since I was active but I felt like ranting about my shit college today.
Everything is so slow and dumb there. I'm in year 2 and we started learning JavaScript in class and our teacher said: "Here's a picture of a soccer score table. Now try to remake it with HTML and CSS!". WTF? I thought we were supposed to learn JavaScript?
This wasn't the first case of stupidity in my college (more stories coming soon).3 -
Trying to learn JavaScript unit testing with Vue.js and it's not going well. Took long enough just to get everything installed and now it errors as it doesn't understand <template> tags. Why is it so difficult?
-
Resharper - it makes writing .net code so much more easier and shows you how to rewrite loop.
Everything else VS code - right now it's the new hot thing for me to write ruby, python and JavaScript.1 -
I was just asked to make a method for the "logical or" (aka "||") in JavaScript "because it's used multiple times".
How dense do you have to be to argue against "it creates additional closures" and "creating functions for built-in operators is an anti-pattern".
Come on!!! At least it's my last week here, I'll be done with this soon enough.1 -
Was interested to learn React native, started with the demo project too. But then *bam* Flutter shows up with butter smooth UI and it's all new features.
Well, now I'm in a dilemma as to where I need to direct my 'learning bandwidth'. I'm a huge fan of JavaScript, it's my fav language. Also Dart feels lot like JavaScript.
What do you guys think? Any suggestions and experience are welcome..2 -
As a total Javascript/node.js noob my biggest take from it this week is that it's a lighter version of the backend while doing a lot of the front end heavy lifting in a programmatic style. It's not a total replacement to ASP.NET MVC or JDBC MVC, it's nowhere near as powerful. But, I could see this being a very good replacement for JSP's and simplifying the front end. I need that because the front end terrifies me more than the backend. The devil you know is sometimes easier.
Still, my first week in node.js and Javascript has been... pleasent. It's simpler and less powerful than static or dynamic typed languages but that doesn't make it bad. 🙂
I am biased though. My first language was C++ and anything is easier/better than C++ 🤣 -
Taugt myself javascript through online tutorials. Once you know one OOP language, it's easy to learn all other OOP languages.1
-
Man I've been thinking about it and I really prefer Javascript over C#. I think it's the better language.4
-
I'm in a react/vue/angular/polymer-debate. Lets continue this here, but only with the worst arguments you heard about these 4.
I start:
React: "I dont like it, facebook might have a backdoor in the code so they can see what we're developing"
Angular: "We use Google Cloud, angular is developed by google too. There is a synergy between the two"
(If you really need this to be a question, then it's "what are the worst arguments you heard about javascript-frameworks?")4 -
debugger; // JavaScript
It's a statement not a function, but it can save lives when console.log debugging fails. -
JavaScript has made my mind a battlefield of positive and negative thoughts. One side is telling me I'm not good enough, I cant do anything on my own, I dont understand how to do anything and it's always going to be like that. And the other side is telling me I'm fine it's a whole new side of programming (compared to python) and I just have to get used to it and its behavior, and I have to practice more and find good resources (which I have now thanks to a lot of you) idk I'm just struggling cause I realize how far behind I am and I wont be able to get and hold a job if I'm this shit at everything1
-
sooo I've been hanging around devrant for a while, and well..... it's been obvious af that Javascript has been getting a lot of hate lol. so I was wounding if somebooday could enlighten me with a "why". y u do dis ppl?6
-
I think I'm gonna give up on privacy. It's hard to use the interwebs without JavaScript. And I use a phone on which you can't install lineage os or any other secure rom.3
-
I'm a Python programmer and I've been asked to build API's using Nodejs. It's been dofficult to even get the API running. Any advice on how to start? I am familiar with JavaScript7
-
So, my experience is all with relational DBs (mssql) mainly and this job is the first time I've had to deal with mongodb.
I'm using the default compass client and I'm struggling with just how shit it is.
- A default font size of 5px high which resets every time it starts.
- Total lack of keyboard shortcuts.
- Inconsistent expansion& folding behaviours
- No saving of aggregates/queries if you accidentally click on another collection.
- ittle bitty query window which is actually multi line but with no scrollbar...
The list goes on.
And mongodb, whoever thought JavaScript is an appropriate query language... It's not.
It's probably because I don't have enough experience with it but the mix of quotes and $ seems so random...11 -
How is a "web app" any better than a "web site"?
All a "web app" does is adding a JavaScript program as a middle-man between the browser and the server.
Where as "web sites" instantly deliver content, "web apps" deliver JavaScript code that then loads the content and puts it on the page.
A "web site" serves the browser useful content on a silver plate (metaphorically speaking), where as "web apps" serve some JavaScript code and the browser has to do the heavy lifting.
It appears that the only benefit of "web apps" is the fancier name. "App" sounds fancy while "site" sounds mundane. But technically, a "web app" is worse than a "web site". It's both slower and vulnerable to scripting errors.
Why would anyone in their right mind choose to create a web "app" over a web "site" to load text and a bunch of pictures?
I get it, some things such as posting comments without reloading the page and loading new search results when scrolling down are not possible without JavaScript, but why use JavaScript for everything, even where it wouldn't be necessary?
JavaScript should never be required to show a bunch of boxes containing pictures and some text. JavaScript is intended to enhance web sites, not to load entire websites.
As web developer Jake Archibald said, "[100% of] your users are non-JS while they're downloading your JS" ( https://twitter.com/jaffathecake/... ).
See also: I miss the good times when the web was lightweight. ( https://devrant.com/rants/9987051/... )
"App" is not an excuse: https://jakearchibald.com/2013/...
I am sad Archive.org switched to being a web app. But I applaud them for resisting that trend longer than most other large sites.28 -
Uninstall Avast immediately, it's been found to allow anything access to SYSTEM-level privs because it includes a JavaScript interpreter in its watchdog https://twitter.com/fasterthanlime/...12
-
Hello tech community ,
Quick question. I have been learning web development casually over a couple of years. Now,I'm stepping up my game. Playing with big boy libraries like Vue and React. Diving into JavaScript and functional react.
I can make static websites. Even dynamic ones. I know how to deploy websites from my terminal and I have done an ftp once before ,which was weird. But it was a long time ago. OMG my question is how do you transfer over a project to a client? I made a cool site. Added some JavaScript. Maybe it's pulling in some data. Maybe it's static. What is the best course of action? I really want to start a web design/developer side hustle.
Thanks homies.10 -
My next product will be eternal, like 1366×768 screen resolution. Heck, eternal like Python 2! Or like JavaScript itself. Either way, you may hate it all you want, but when it's out, y'all gonna shit your pants. NOBODY ever did what I'm about to do. I'm about to make me a living _and_ prove a point.3
-
- Stop procrastinate;
- Start a open-source project;
- Go deep in math and logic;
- Perfect my English;
- Learn some soft skills;
- Get a hobby outside dev;
- Get some exercises;
- Master Javascript and CSS.
It's all I can think of now, but I have so much more goals for this year that I will be very busy, and in the end of the day it will all come together.2 -
In javascript, is there a difference between separate function calls that mimic a "chain pattern" or state changes using if/else if/else and using the chain or state pattern directly? The internet gave me no real/helpful response to that.
Suppose that:
if(isThingA(thing)) {
makeThingB();
else if(isThingB(thing)){
makeThingC();
else {
makeThingA();
}
That code is always executed e.g. after a user mouse click. "thing" gets defined in some other code.
It can be seen as a state machine that goes back to its starting point.
Is a pattern with objects/classes/prototypes even needed/preferred instead?
It's partly a problem I'm facing in my code but it's also interesting to know ideas/thoughts on this.3 -
Are there any class based JavaScript test frameworks? I dislike the whole describe/it setup. I know it's basically the same thing, but I prefer the class setup in .net with xunit. I like being able to write abstract classes for tests..2
-
Searching for simples game using canvas + vanilla ES6 and best practices.
Turn out it's very hard to find well-written javascript, so far most of the resources found are spaghetti code.
So if you know any good github page, blogs or tuto, feel free to share! Thanks :D2 -
So I'm noticing when I'm looking at places to apply, for example let's say discord, uses JavaScript, Python, C++,etc. How do they use multiple languages for one program? It's so confusing for me to understand8
-
Dear colleagues,
YOU HAVE RUINED JAVASCRIPT!!@##@
Yes, you are one of those that are responsible for giving JavaScript a bad name and using jQuery for FUCKING EVERYTHING!@#$
Start thinking for yourselves, ditch this shit before it's too late and learn how to write some actual fucking code. The information is out there, you can do it. If you need handholding with $.each, creating concatenated strings with error prone code to send them in one field to the server, just to explode it back there, then consider that the world doesn't need your BULLSHIT code and go and get a job you're actually good at. Stop ruining it for the rest of us.
THANK YOU8 -
Few years ago if someone would mention "Javascript" and "Backend" in one sentence, I would burst in laugh. With quick internet scraping I see it's becoming a reality. Quo vadis, orbis?5
-
I hate it when you post about a problem you have on a programming live chat, wait 3 hours and get no response, and then someone else posts a different a problem and instantly gets help. What makes their problem more urgent than mine? And it's not that the people who are supposed to be helping don't know how to work with it, BECAUSE THEY'RE IN THE CHAT FOR JAVASCRIPT.
-
I have never felt so defeated by a programming language as I do now. And it's Javascript of all things.3
-
Today I started a new study. It's a study focussed on all kinds of technologies. AR, VR, Illustration, photo, video, motion capture & so much much more.
We immediately got an assignment to prepare a presentation about a skill we already have. They chose me to go first.
Guess what: I'm gonna learn my classmates JavaScript tomorrow 😏 -
Lighthouse report from nodejs cli is rendered by javascript. Seriously, it's a report. Easy on the javascript.
-
Last Saturday, I came across a fellow techie at a house party. As soon as he found out I am a developer, the question
"What is your favorite programming language?"
came bursting not even a nano-second after I told him.
Anyone else finds this super cringe?
I believe that people who dig deep trenches in such a topic will be the root cause for the next software crisis. I mean, look at Javascript. In one of my later posts, literally noone could give me a reason to not think Javascript is a dumpster fire. And yet it spread out like a malignant tumor.
To verify not all is lost, I quickly googled any databases written in JS, and luckily just found one archived repo and nothing else. Because Im calling it, once Javascript reaches the database layer, it's terminal.3 -
The website we where at for about a year now had about 4 different designs.
Maybe I was a bit slow with it and didn't try to be fast about it.
But it's not my fault I had to redesign the site 3 times
So, the project has just been dropped in the toilet.
I mean, I work at a company with is for learning apprentices and I didn't get additional pay for the site, but still, it's just another unfinished fucking project...
Nothing against the client she was nice and understanding of needs, limits and expectations
But the only thing I've finished so far is something small i did in my free time, rain programmed in JavaScript (with canvas) -
Am I the only one who thinks OOP in Javascript isn't always the best option? I really like structured code with classes and objects but sometimes it's just fun and satisfying to write a buttload of functions to do all sorts of things and build your code with that.1
-
If you hate jQuery because you say it's "bulky", then please explain these modern JavaScript frameworks with a bajesus of configuration to make it just work plus the node_modules.5
-
!rant
After delaying it for a few months, i'm finally starting to work on my final college project. It's going to be done in Java and Mongo. I'm not sure about the web part of the project, because i've never done anything in that part besides basic html and css. I'll probably try JavaScript.
Just wanted to share this because i've made the hardest step - actually started working on it.
Kinda feeling proud of myself.
Kinda feeling weird of being proud of such a thing.
Don't wish me luck, wish me the will to keep not giving up when it's the hardest -
Rule 1: God coded reality in Javascript. It's mechanism underlie science, spirituality and our experience of life as a whole.
Rule 2: Germany bad13 -
Am I wasting my time doing a Software Engineering degree when my main interest is Web development? (we study nothing related to html, CSS, JQuery, JavaScript, Ruby etc) it's mainly C++ and C#8
-
Finally! Oderland supports node.js for all accounts. Huzza! If only I had time to give it a try. Well, soon enough. Unlike many other ranters, I have actually nothing against PHP. It's just that with node.js it's *one* language for the server and client alike :) I like a lot the idea of coding even the server side in javascript.
-
it's sooo annoying. There are no sites that cover SOAP with JavaScript. I am only a junior dev and I have no way how to tackle this project. Why SOAP??11
-
Since i was little i always wanted to amaze my friends with something. Back then it was magic, then it was music and now it's programming. Please don't kill me but i remember looking at hackers and stuff and seeing how they could remotely control other people's computers and i just wanted to learn that so i looked it up on google and found a post somewhere saying that if you're a hacker and don't even know basic html then you're not a hacker so i decided to learn html. Not so long has passed and i still want to be a developer so i am trying to learn javascript and then start moving to heavier languages. No one i know codes and i'm really alone so if i can simply make something cool with javascript they will be amazed, in the end that's all i want.
-
When your designer thinks the app you're building is a website halfway through the project. "It's written in JavaScript right?"
-
Le neue studento (a.k.a. new students) be like :
- What's the difference between Java and JavaScript? Different version? It's the same, is it?
🤔🤔🤔🤔
🤦🏻♂️🤦🏻♂️🤦🏻♂️🤦🏻♂️rant cs major joke javascript first year questions funny first year as cs major java college life college cs5 -
I have a long question for developers out there... bear with me.
I'm currently learning and devoting all my time towarda Java and have been for the past two years although it's moving slow because of summer courses. The catch to this is, I'm not sure what I'm learning it for. How do I implement this code, I'm not sure what to do with it. The only project I plan on doing is a discord server management bot... besides that, I'm blank... Is java used in web development? What exactly should I be using it for..?
I'm planning on learning javascript, php, mySQL, and CSS I pretty much have down but I don't know what to use them for. Besides how I want to script for the game Hackmud which is in javascript.
I'll put it into simpler terms... I love java and I'm looking forward to mastering it but I don't know what to use it for. I want to use it on my free time and all but use it for what? One more thing: what other languages go hand in hand with java? Sorry if it's confusing lol.3 -
Scripted guy with good JavaScript, Ruby experience, dwelving back to the good ol' c# world. It's been years since I've written and compiled a c# project. And damn, immediately I'm searching for ways to speed up development. For every code change I have to wait for 5-20s to build and get some form of feedback. #geez7
-
Is client side rendering really that bad? Do you prefer sites without any JavaScript or are you ok with it?
To me it's very convenient to have JS in very dynamic pages. For things like documentation I think server side rendered pages are good enough. I mean it's 2017, right? Do we really need to care for those who deactivate JS? I mean I really like it to separate the front end backend.
What do you think?6 -
Don't laugh but can anyone recommend any free Javascript tutorial/training courses?
It's for a friend... No really13 -
Hi my name is Kray and am an addict. I subconsciously create code with Bugs so I can later solve, I then after get a feeling of deep euphoria. It's like discovering fire albeit it's more like using matches to start one ( kgm Stack overflow.) 😅 But it's a a healthy habit in a safe environment it could be worse, I could be on narcotics... No wait I take it back I have been dabbling with JavaScript 🤦🏾♂️😂😂..2
-
whenever I see the word TypeScript I actually read JavaScript. Cuz it's really JavaScript in disguise. Its type system is JavaScript worthy, maybe... Probably not
edit:
viscoders raging in 1, 2, 3..4 -
What do you guys think about the comma expression in JavaScript? I'm aware that due to it's (to some) unknown nature that it can lead to subtle bugs, but I have at least one good use case for it and wanted to hear reasons why I shouldn't use it for similar use cases, but also what would be some other cool (not necessarily "good") use cases :D8
-
Type coercion in JavaScript. I appreciate it's trying to help me out, but it'd be cool if it just told me I made a mistake.1
-
I been working with pure javascript and css forever, and for awhile I been avoiding these frameworks and whatnot but now I think it's time to dip my toes, what's the first easiest to learn quickly framework? I heard I should start with react?5
-
Enabling browser userscripts on Android is not an evident procedure for novice users.
It's annoying if people do want this functionality to change how web pages behave, e.g. they want to fix a broken banner on mobile that doesn't have max-width: 100% but instead crops off on the page.
At this current time, Firefox changed their engine so that it supports only a limited set of add-ons and you'd have to use a nightly build in order to enable other add-ons such as userscript ones.
Chrome doesn't accept add-ons/extensions.
And there's the JavaScript trick but again, not user-friendly.
It's just annoying.1 -
Worst technology ever by far I have to say JsData. It's a framework for javascript ofering ORM facilities so you don't have to deal with Ajax yourself. The nightmares with data being cached and not updated, the fact that the response must always be an object with an id. Why? Just why? 😨1
-
The "disable JavaScript" browser setting has become so hidden that it's hard to turn it off without resetting all browser settings to their defaults.4
-
I guess it's not today, that I want to know when the train arrives and depart from the train station. All the screens went down, with this little javascript alert.3
-
I can't stand typescript lovers
it's just typing on top of javascript... it's good but that's all - one more tool to help you build solutions
why you keep talking everyday about types, why you keep creating types for everything in the most unusuble and unmaintainable ways??7 -
Fun fact about JavaScript: it's a... bit inconsistent. For example, functions like Array.map, Array.reduce, Array.sort don't mutate the array, but Array.unshift does, and returns array's length after the element was added.5
-
I fucking hate Lodash. You don't need a fucking library to access an object property you moron. It's a native ability in JavaScript. Not my fault you can't figure out how dot notation works.1
-
Hey!
Would you recommend React Native, or Electron for a not really experienced programmer?
I am just starting with JavaScript, and these two tools are the most fascinating to me. :)
I have been learning C# in school, but mostly had to teach myself in the past year.
Anyway, thank you, if you answer, it is really nice on devRant, and it's my first developer community to be part of! :D
Sorry for the broken english - not my primary language.6 -
Saw a rant by @arekxv (link: https://www.devrant.io/rants/216484).
Read this article the other day and just laughed...because it's all too real.
https://medium.com/@jjperezaguinaga... -
Why does MobX hate modern Javascript?! It's like I've just entered into a new relationship, and they're already trying to change me!
-
Just heard a Microsoft Developer say it's ok to build sites that don't work without JavaScript but keep in mind they think it's ok to build browsers that don't work at all.1
-
What do you think about career choice if one loves JavaScript and it's frameworks but hate HtML CSS13
-
why the fuck JavaScript uses === and == ?! it's f***** the same! like iPhone 6 and 6s.. its just the screen!10
-
I know you are an administrative assistant but come on, you can read that it's written JavaScript not Java.
-
Hi guys. I could use a bit of help. I am receiving the lastLogout data from the DB, and if it's NULL, it means that I will start the tutorial because it's the first login. I am rendering with serverside, and I'm using handlebars. So the data is rendered nicely with
<div>
{{needTut}}
</div>
What is the best practice to watch for this piece of information from frontend javascript? Shall I simply create an event listener? It feels a bit dirty...3