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 - "javascript no"
-
So the person from my previous rant actually tried to make AI in HTML.
Person: I made that AI in HTML today!
Me: Oh really?
Person: Yup. *Opens HTML site*
It was a site that
1) Used JavaScript
2) Was a prompt(), and after answering it alerts "Yes" or "No" randomly.
Me: That's not AI
Person: Uhh yeah it is. It uses a neural network to answer!
Me: Actually, a neural network is a dot product of an input and vectors that are refined using partial derivatives.
Person: Yeah! That's what Math.random() and alert() do!
I left that room as quickly as I could (yet again).30 -
Interview went well until i asked my questions about them.
"Are pet-projects a thing in your company"
... no.
"Can i attend programming gigs in a workweek, and are they paid by the company"
... no, no
"Any restrictions on the IDE"
... yes we only allow visual studio
"Wait, frontend web development in vs?"
... yes
"Do you develop in other languages then JavaScript"
... only Java
I calmly stood up, told them "I dont think that the company and I are a good fit. Thanks for your time."22 -
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 -
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 -
Just got BUGS list from our Client and fuck- 95% of bugs are not even bugs :|
- No, changing the (not pre-decided) verbiage is not a bug
- Adding two more pages in the app is not a bug (what the fuck :|)
- No, APK file not running in iPhone is not a bug (goddamn :|)
- No, adding these "fuckin new" functionalities is not a bug (seriously ? :/)
AND
Mr "used to be a good coder" PM,
Getting "504 Timeout Gateway" error because Server is temporarily down is NOT a fuckin frontend bug
And No, writing Javascript with a proper design architecture is not a "complicated" way of coding
and fuckin No, Global variables and functions without any architecture don't make the programming "kind of better"
ps: And VB dot net is not a fuckin scripting language, VBScript is.
Thank you,
"buggy average coder"9 -
Teacher: Homework for next time is to make 2 web pages with three javascript.
* whole class is quiet *
Me: What's "three JavaScript"
T: undefined
M: Do you mean three files?
T: No, I mean three JavaScript.
M: Okay, so let's go with five CSS and twelve HTML as well then...
Please, go somewhere else when you can't explain your OWN HOMEWORK ASSIGNMENT. Holy fuck.16 -
Phone call...
Caller: we contact you to arrange an interview for Java developer position, what time is good with you?
Me: Sorry Sir, I am javascript developer not Java developer!
Caller: You mentioned in your CV that you are using Java and Ayax for building applications!
Me: Trust me Sir, I don't have any relationship with your Ayax...
Caller: No problem, we can discuss this small technical difference in the interview. When you are available for it?
Me: No Sir, I am not available.7 -
I was presenting a paper about "P5.js". My line began with "P5.js is a javascript library ... (and I went on)".
After my conclusion one of the judges asked me "Is this based on JavaScript?"
My reply "No sir, Magic!".
(Funny part - Got first prize.)6 -
I actually took the time to explain to a recruiter that java != JavaScript... He told me they were similar enough... I put it in terms he'd understand: "If you want to make money, you need to understand that they are not similar. If you keep saying they are and send your clients a dev with no java experience, you'll lose clients. if you send devs to a place that's looking for something they don't know, you'll lose devs. Your pitch reeks of desperation and you'll be out of the business within a year unless you actually start listening to the people who know the tech."
I almost felt bad, but... He kept pushing when I said no, haha.4 -
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 -
Yesterday was Friday the 13th, so here is a list of my worst dev nightmares without order of significance:
1) Dealing with multithreaded code, especially on Android
2) Javascript callback hell
3) Dependency hell, especially in Python
4) Segfaults
5) Memory Leaks
6) git conflicts
7) Crazy regexes and string manipulations
8) css. Fuck css.
9) not knowing jack shit about something but expected by others to
produce a result with it.
10) 3+ hours of debugging with no success
Post yours27 -
> twitter.com
> we detected your javascript is deactivated
> want to use the no javascript version?
> yes
> "403 Forbidden: The server understood the request, but is refusing to fulfill it."1 -
I once had Javascript and jQuery on the same line in my resume (no longer the case).
Was told I clearly didn't know what I was talking about because "Javascript and jQuery are two completely different languages"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 -
C#? Should have used Java
Java? So much boilerplate, use node
JavaScript? Terrible language, get some types
Typescript? Lipstick on a pig
PHP? Gross
React? Should have used Angular
Angular? Should have used Vue
Vue? Why aren't you using jQuery + HTML
VSCode? Use vim instead
Stfu, no one gives a shit about your biased closed minded opinion. Your users really don't care what technology you use, so long as they're happy.14 -
My company wants to start using Node.JS.
JavaScript.
They wanna use JavaScript.
For everything.
JAVASCRIPT.
FOR EVERYTHING.
Scene;
**Asshat enters break room after meeting**
**Asshat turns to Asshole**
Asshat: “Oh here in a year or two we’ll just be rewriting all of this is Node.JS.”
Asshole: “JavaScript. You’ll be rewriting it in JavaScript. And fucking WHY?”
Asshat: “It’s better”
Asshole: “It’s not really a general use language. Why wouldn’t you guys choose Python if you wanted to write EVERYTHING in a goddamn scripting language?”
Asshat: “Google uses Node.JS”
Asshole: “For back-end web development type stuff. I doubt their accounting systems are written in fucking JavaScript...”
Asshat: “Python is oooooold.”
Asshole (to himself): No you’re old, you stupid, ancient fuck.
**Asshole rolls his eyes and walks away**
**Asshat continues his ignorant chuckling**
End Scene;
Clearly years of fixed format RPG programming has killed too many of Asshat’s brain cells.12 -
Recruiter: Do you use .net C#?
Me: Uh. No. I applied for a position of a front-end developer. I use JavaScript and...
Recruiter: Oh, that's good. We need an Android developer.
*sigh*7 -
Talking to Best Buy customer support live chat trying to price match using friend’s laptop.
Typed in “<b>Hello</b>”
Oh cool.. it comes out as bold. Let’s get a scary as fuck screamer gif and img src it.
Me: *Posts picture*
Me: *Waits a few seconds*
Me: “Did you see that picture?”
Support: “No. Sir, could you tell me the item you want to price match?”
Me: “Okay hold on.”
Typed in “<script type=‘text/javascript’>window.alert(‘OOGA BOOGA BITCH’);</script>”
Me: “Did you see that?”
Friend: “Dude stop.”
I push my friend away since I’m on his Best Buy account.
Me: “Did you see a pop up?”
Support: “No.”
Me: “Okay okay hold on.”
You have left the chat.10 -
Manager: You can’t define an async function without using await.
Dev: Yes you can.
Manager: Well you shouldn’t, there’s no point!
Dev: Yes there is. It can turn blocking synchronous logic into work performed concurrently. In this case the perform—
Manager: It’s called async *await*. Async *AWAIT*! Did you hear the two parts to that? You shouldn’t ever have one without the other. THEY GO TOGETHER. Worrying about concurrency is for people who use callbacks which just goes to show how out of date your skills are. I’m reading a book on javascript and there are so many advanced techniques out there that I haven’t even seen you use ONCE!
Dev: …
*I looked at the book he’s reading, it’s from the < ES6 era… no wonder he doesn’t see me using any of those archaic patterns/hacks/workarounds…*13 -
I send a PR to your GitHub repo.
You close it without a word.
I tell you that your lib crashes because you're trying to parse JavaScript with a (bad) regex, but you keep insisting that no, there exist no problem, and even if you barely know what "parsing" means, you keep denying in front of the evidence.
Well fuck you and your shitty project. I'll keep using my fucking fork.
And if you're reading this, well, fuck you twice. Moron.10 -
Friend: dude, JavaScript seems awesome. It looks so easy and there aren't any annoying compiler errors like in Java
Me: I know it sounds cool in theory, but it sucks in practice, trust me
Friend: no way, dynamically typed languages are the future
*Friend installs node*
*Friend writes a simple script*
*Friend gets undefined errors because of a few typos and has a hard time debugging it*
Friend: JavaScript is retarded
-_-13 -
Had a random dream last night where different JavaScript Frameworks were different flavour ice creams. No matter which one I tried I kept coming back to vanilla...6
-
I applied to a backend position that requested one of the following technologies: PHP, Java or .NET ( I work on .net btw)
So far so good, the hr recruiter schedules a talk and ask a lot of standard questions like what is your greatest accomplishment, what is good code and so on.
After what seemed to be about an hour of questioning she then tells me that I am to take a technical test from backend javascript. I pause for a second and I specifically tell her, lady, the ad said .NET, Java or PHP, wtf? And she tells me, no worries, we will train you. You can imagine that I completely blew the technical interview to later get an email that my knowledge (in javascript) is not sufficient for the position. Gg guys, good company values :))1 -
Currently trying to write a dark theme solution for the security blog in pure JavaScript (no jquery).
This is way easier than I thought!108 -
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 -
Why do Pokemon masters love JavaScript?
Because you gotta, try/catch them all
Haha. No laughs? Okay
*curls into a ball7 -
If programming languages had honest slogans, what would they be?
-C : Because fuck you.
-C++ : Fuck this.(- Dan Allen )
-Visual Basic : 10 times as big but only 5 times as stupid.
-Lisp : You’re all idiots.
-JavaScript : You guys know I’m holding up the internet, right ?
-Scala : That was a waste of 4 weeks.
-Go : Tell me about it, Scala.
-Python : All we are saying, is give un-typed a chance.
-R : Whoa, I was supposed to be a statistics package!
-Java : Like a Roomba, you guess it’s OK but none of your friends use it.
-PHP : Do Not Resuscitate.
-Perl : PHP, take me with you.
-Swift : Nobody knows.
-HTML : No.
-CSS : I said no.
-XML : Stop.
Source:@Quora: https://quora.com/If-programming-la...6 -
I am backend + a bit devops
8 months I worked with front-end person in react.
8 months he was telling me.. git usage is not needed for front. There is no need for that, it is not like back.
Recently he made refactorization in a week time, this idiot did not do even single commit in the process.
4 months he was telling me, testing is not needed in front. Even if the work is complete, there is no point to cover with testing.
Today I heard from him, adaptive web design is impossible to do in css only, it needs having javascript to control right height and width size for elements.
At last. I got freed from him. He got fired.5 -
The reason why hiring a Recruiter in Software/Web Development industry is a waste of time and money.
- A real story from 2 years ago.
**few minutes of recruiter reading my resume, skills and whatnot**
Recruiter: Okay sir, we are looking for people skilled in C# for our app development and Java for our business software envirnoment. Which one are you interested in.
Me: C#.
Recruiter: I see, well.. I'm afraid we already have someone for the seat.. *checks resume again*.. maybe you would be interested in Java?
Me: Not really, why is that if I may ask?
Recruiter: Well, says here you have experience in Javascript
Me: *trying not to cringe* Yes, but I didn't see any Javascript related job available.
Recruiter: Correct me if I'm wrong, but isn't "Java" just short for Javascript?
Me: No, just like C# isn't short for C and C++
Recruiter: *oops* then I think we do have a free spot for you.
TL;DR - the guy had guidelines but no field-specific knowledge.. I only feel sorry for the other guy who thought he got the job lol.3 -
Master vanilla JavaScript.
Once you do, you'll be able to quickly learn how to use all the frameworks.
And no, jQuery is not vanilla JavaScript.23 -
I'm freaking the fuck out.
After months of learning from bootcamp and on my own, after a month of no resumes replied to, after almost giving up I finally got a job opportunity in front-end web development.
The thing is, I have to pass their online test to verify my JavaScript-fu.
3 hours.
4 tasks.
And I feel like garbage who can't understand even the most basic algorithms.
By the power of Grayskull, I don't think I have the power...
Wish me luck.16 -
while we were in the car...
mom: so what are u doing in your new job? you code in java?
me: no, i code in javascript, html, css and php..
mom: so thats java. how nice.
me: no, its javaSCRIPT.
mom: theyre still the same.
me: java and javascript are not the same
mom: but most people use java so why dont u just do it in java?
me: thats what ive been asking myself too in the past few weeks, why did i even accept this job3 -
I fucking hate websites that refuse to show their content unless you enable their JS clusterfuck. Yes I am blocking JavaScript because I'm sick of all those goddamn frameworks from God knows what domain. IS THAT FUCKING WRONG?!! I don't hate front-end devs, in fact I respect them for keeping up with design needs of shitty clients. But that fucking Web 2.0 with 50 frameworks per tab and no HTML or even PHP whatsoever for those who block your JS crap.. shove it right up your fucking ass!!!19
-
I attempted an online test for a Java Developer role at a pretty big company.
The test had a JavaScript question.
🤦🏽♂️🤦🏽♂️
Just to clarify, the job description had no mention of JS6 -
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 -
Would the web be better off, if there was zero frontend scripting? There would be HTML5 video/audio, but zero client side JS.
Browsers wouldn't understand script tags, they wouldn't have javascript engines, and they wouldn't have to worry about new standards and deprecations.
Browsers would be MUCH more secure, and use way less memory and CPU resources.
What would we really be missing?
If you build less bloated pages, you would not really need ajax calls, page reloads would be cheap. Animated menus do not add anything functionally, and could be done using css as well. Complicated webapps... well maybe those should just be desktop/mobile apps.
Pages would contain less annoying elements, no tracking or crypto mining scripts, no mouse tracking, no exploitative spam alerts.
Why don't we just deprecate JS in the browser, completely?
I think it would be worth it.22 -
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 -
Every time I use Javascript it feels like flying a plane with no gas in the middle of nowhere, all buttons in Chinese, only driving knowedge is scooters and yet somehow I land the plane in its destination.5
-
The 1st rule of Javascript is: You don't admit you program Javascript.
The 1st rule of Rust is: You tell everyone you program Rust and how it is better than basically any programming language that existed or will exist.
The 1st rule of C++ is: There are no rules because everyone was too busy debugging templates to think of any rules.
The 1st rule of Java is: You must have excessive numbers of classes and boilerplate. The more boilerplate the better.
The 1st rule of Haskell is: It is great to learn, but you will never see it again once you leave college.38 -
Did an interview this morning. Candidate had JavaScript on their resume but was mostly backend. Called themselves "senior" after 3.5 years of doing CMS upgrades and no coding.
Since JavaScript was on the resume I asked "what is the difference between == and === in JavaScript?" candidate completely failed.
Please offshore devs, don't put tech on your resume if you can't answer the most basic of questions. Don't call yourself senior when you've never even coded anything from scratch yourself.20 -
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?) -
Second day on the job, only one with no real degree in software development (did much stuff in free time, just finished school, got the job mainly because i knew people there)
So you can imagine that they were sceptic about me.
Chief executive whatever told me there is a problem with some JavaScript they can't fix cus there is no time and shit for that.
I was like ALL IN and said i could do this in a few mins.
Fixed it in 20 mins. Everyone was cheering. I was like "Well it was the right decision to not do my homework back in the days.." 😁1 -
Them: My company is looking for a junior C++ programmer. You must have 10 years experience with PL, SQL, SQL Server, MySQL, SQL oracle, javascript, HTML, XML, UML, c-sharp, visual basic, java.net, j unit, and win32 api, cutie, gtk, PHP, ASP, Perl, Python, and shell scripting with the windows, linux, and solaris operating systems.
Us: Do i need to know C++?
Them: no
https://youtube.com/watch/...5 -
I really fucking hate CSS. I have no idea how to use it and all my websites look like complete shit. I’m cool with JavaScript and some of its libraries and frameworks, but css is a bitch.18
-
Boss:"Build templates that convert our 1000+ pages built for desktop, into responsive ones that work on large screen and phones. "
Finished...Run the company's code scanner and it reports violations of development rules (which was expected)
I go to request exemptions....
"Oh, no you can't use JavaScript or CSS that uses position." -
It was the year 2000, when IE was considered awesome. The internet then was slow and expensive and I had a quota about half an hour a day for dial up.
I discovered that I could view the source code of any page and while it looked rather cryptic I slowly started to understand how it worked. After months of tinkering in Notepad, I was able to write some html and JavaScript. No books, no online tutorials, just pure act of curiosity and a sense of adventure.
How to write JavaScript properly had to wait for another decade after an engineering degree, a dozen other languages, and new browser. But those tinkering days were what got me into coding.1 -
TLDR; Wrote an awesome piece of code, but there's no one capable of understanding how hard it is.
I spent an entire night building an insanely complicated automation script, that picks out certain configuration files (in javascript fml), does some crazy parsing to pick out strings, passes them into a free translation API, translates them, and does more insane parsing to insert those strings as javascript objects.
Spent 3 hours on the bloody parsing algorithm alone.
Manager: Oh this language is really nice. Good of you to discover it can do that.
I didn't "DISCOVER" it ffs! Its a product of my head! I built the damn algo from scratch.
Seriously, screw non devs who trivialize the complexities of writing a good program. Its NOT as simple as opening notepad and typing in
import {insanelyComplexSolution} from 'daveOnTheInternet'3 -
I was assigned a ticket which was about a drop down menu which was not aligning properly.
Turns out the drop-down was positioned absolutely and my co-worker (read bestie) had written media query for every 10 pixels to match the position for mobile and desktop devices (from 320px to 1040px and beyond ~150 lines for a drop-down). No one noticed any flaw for few weeks until one of the QA had to check the site in landscape mode on mobile device.
I replaced it with 4 lines of JavaScript.3 -
Me: *spends 7ish hours looking for bug in insanely poorly written javascript file to no avail.*
My boss: *spends 30 minutes reading through code* Found the problem-- this function call was missing a parameter.
Me: *wtfHowDidIMissThat*6 -
The freelancer...
We are looking for someone to design a logo with no less than 2 years Javascript, 10 years Intel IO low level engineering in assembly, 2 months pascal, 14 weeks of HTML5, 17.23567 years of ASCII C, and you must have a half pint of strawberry ice cream in your freezer. $20.00 firm.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 -
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 -
JavaScript Motherfucking Asynchronous Bullshit.
I get it, for quite some stuff, async is very, very useful. But why on fucking earth do so goddamn many functions NEED this (and those callback functions) and can't do without?!
If there would be good and nicely understandable await documentation that actually fucking works, I'd be so happy.
I've currently got .then after .then after motherfucking then and its irritating me to no end as it, in this context, shouldn't even be necessary. This thing I'm writing doesn't give a fuck if something takes a few milliseconds before the rest of the program can continue!!
Fuck asynchronous programming in JavaScript for goddamn everything.
(I do love JavaScript!)27 -
well this is a NO!
just jumped on a WordPress website and was wondering why it was taking so bloody long to load even on high-speed internet. only to view source and get hit with 240 lines of JavaScript includes and about 20 odd lines of content.
LIKE WTFFF!!!
There is no way on this fucking earth every single library is being used to show me a god fucking dam search result that returns absolutely nothing no matter what i search for.
To any wordpress "DEVS" out there FUCK YOU and your FUCKING plugin madness.
I would love to hear from a WP dev how you justify this kind of bullshit!10 -
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 -
Java : He is the topper who is usually mocked, but still everyone seeks his help on the day before exams. He tops the class no matter where he is.
C : He was once the coolest guy in the class with all the new gadgets but now uses outdated gadgets.
C++ : The guy who comes 2nd and is also loved by everyone. He is very competitive.
R : She has everything readymade from food to tiffins.
JavaScript: Tries to be in the cool gang but she is someone to whom nobody talks.
CSS: The most beautiful girl in the class and a make-up expert. Also the only friend of JavaScript.
Python: She will soon top the class.
C# : Is she still part of the class!!?24 -
Franz is his name, he is our new programmer. He got task to made a calendar to display ongoing ads with javascript, and damn good he done it fast. Until today, he not coming because he got ill and i have to edit his calendar code because there's a change request.I look at his code and thinking how he read this code? no indentation, bracket everywhere, etc. Then I call him:
Me: Franz, can you explain your code to me?
Franz: Sure, but.. umm.. I forgot to bookmark the stackoverflow link.
Me: ...5 -
Boss: We need to make a site but the content will have bolded words where the user can hover over to see more for each term.
Me: Ok sounds simple.
B: It's for a client and we aren't gonna touch it in the future so make it simple.
M:okay... so no JavaScript?
B: That means we are only going to send them HTML and nothing else. Here's a list of the images they have.
Me:......
Now I have to make about 80 pages of pure html with inline styles on each page.10 -
I don't know what it is but, isnit just me or does anyone else just find writing JavaScript really fun?
No... Just me? Ok cool14 -
Three years ago, tried to learn some JavaScript, failed miserably. Two years ago, managed to learn some Java through Udacity courses. Last year I started learning native Android development and got my first coding summer job. Now I'm back to learning JavaScript through Freecodecamp and that bitch ain't got shit on me no more!3
-
Pings google, no losses in 1 hour!
And just as I run that JavaScript code on Node.js, the internet stops! Every fricking time!
-_-'
>_<3 -
Why I can't just get this fucking Webpack working?
😡😠😡😠😡😠😡😠😡😠
Fucking es2015! Fucking Babel! Fucking JavaScript!
...No. Sry, JavaScript. I actually love you.7 -
So this one time me and my teammates had just started working on react (please note that we all were backend developers and no one has the basic understanding of javascript) and things were looking quite exciting..
But towards the end of the deadline we were sitting and refactoring each others code since we had not decided on the coding standards and practises and random code had been written left right and center.. It once happened that the same piece of code was refactored multiple times by only 2 people..
And it is obvious that we couldnt make it to the deadline and that code is sitting there like a mixture of weird things.. -
Continuation of https://devrant.com/rants/642962/...
You are the decryption key to my encryption,
No one can access my heart except you.
You are the loop in my life,
I always keep coming back to you.
You are my nodemon,
You are always watching over me.
You are the / to everything I do,
Am nothing without you and I will always preserve you.
You are my increment operator,
You add value to my life.
To be continued 😉3 -
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 -
So i am a trainee at a Software Company in germany. Im in My thir year. We got a new trainee who has a better degree then me and is 3 years older (hes 23). yesterday we was in our Office working and My "teacher/Boss") was talking with a customer. Then the new trainee asks me at least 5 fucking stupid questions. I stay calm and answer them normally because i think He dosent kwow any better and would Learn it. So this fucker works on a typo 3 Website and ask me why He cant Put Java Inside his Website to animate some articles. I ask him why He would want to do this with Java? He says (like a ignorant fucker) because its only working using Java. I kindly ask him if He maybe means javascript and Not Java. And He says: oh yes i mean That but thats the Same thing. I say no its not javascript and Java are different languages. He responds with no Java is just a shorter Form of saying javascript. I quit helping this guy. The fact That he thinks He knows better its just killing me.7
-
C : Cool (for me)
Java : Just A Variety Available (uhm.. no hard feelings java lovers)
Python : Please .. You THink On Nothing (You literally think on nothing xD )
JavaScript : Join A Very Attractive , Sophisticated Code , Reactive In Particular Time (hmm...that took a lotta time)9 -
Me: We should use typescript to enhance our readability and productivity.
Senior dev: No... We don't want to use any other languages except JavaScript.
(A month later)
Too many catch, race conditions and hidden bugs left. 5 hours of debugging16 -
Friend: I really dont see how Java and JavaScript are different
Me: *Several minutes explaining the differences
Friend: Ok, ok, but if i write 'JAVA' scripts, im a JavaScript programmer right?
Me: No, you're an asshole3 -
Just read an article that really grinds my gears. Its about coding in other languages. Not programming languages, but literally other languages.
Btw I learned to code in Spanish and I'm not against coding in programming languages using variable names in other languages.
That's fine.
What pissed me off was that the author claimed that we should be able to code Fucking JavaScript in SWAHILI or other languages available. What kind of PC bullshit is that!
Coding is barely fucking readable and now we have to make standards for Multilanguage support. Just learn the less than 60 reserved words you lazy fuck and code with them! I leaned to code with shitty tutorials in Spanish and theres no 1000x resources out there and this author claims you can't code unless you know english.
Granted. It's easier but wtf not just learn it. When I coded in Java in Spanish, I didn't know wtf a Class was or ags meant. So what. I memorized that shit. How? By coding!
Why bring this PC shit to programming? The author thinks there are few programmers bc we don't support fucking SWAHILI in JavaScript. Fuck no!
Now if you want to support this initiative. Think of this,
...legacy code
...in 32+ languages.
Have fun debugging this thing.14 -
Local IT company proposes to give talks about the basics of web development in our school for one and a half week.
>"And now we're going to learn more about JavaScript."
>"The first thing we need to do is to import jQuery in our webpage."
>Literally no mention of plain JS.
this is why jquery is still not dead...........5 -
Me at the new company:
My code doesn't work, I don't know why..
My code works!, But still I don't know why5 -
I saw an article saying, What Programming Language Should I Learn First? 2017
It suggested, JavaScript!
😏 hmmm....
What do you think, yes or no?
(And no this is not personal question, just an article I was reading 😃)22 -
Why the hell does every single frontend job on Earth require expert knowledge of React, a fad JS library that will be forgotten in 5 years?
For extra credit: when was the sage advice of "keep content, appearance, and behavior separate" overruled in favor of "use JavaScript for literally everything"? Have I been in a coma for the past 3 years?
Look, I understand the appeal of separating code into repeatable components. I just don't understand why essentially the same thing can't be accomplished with vanilla JS, which is ten times easier to understand and doesn't require an entire website to be written in some make-believe offshoot of Ecmascript that will look like hieroglyphics a decade from now.
There are also seemingly no positions that offer people a platform to start applying React to real world scenarios. I've seen the "understand React in 5 minutes" articles. Wow, super cool, you used 30 lines of JavaScript to render a "Hello world" div. The possibilities are truly endless.
But seriously, how does this shit work? Where do I go to learn the mystical art of offloading every single one of a website's responsibilities to JavaScript? How do I use React to build an actual functioning website, and at what point will it save me time or increase my productivity instead of just pissing me off?17 -
No other language can do something as fucky as javascript.
"7 high severity vulnerabilities"
$> npm audit fix --force
"13 vulnerabilities (11 high, 2 critical)"
How is this fixed?!
It will be a great day when JS finally prolapses under the weight of its own hubris.11 -
Oh, this PHP thing is becoming big, we must use this; *makes ASP*
Oh, oh, this Java thing is really popular, and we're not the big bois now! *releases C#*
Waaait, functional is cool now? Damnit. Dude, grab this~~~ *F#*
Uhh. So people actually like JavaScript now? A wild *~~TypeScript~~* has appeared
Why does Microsoft have a history of following trends, and releasing poor clones with no substantial improvements??9 -
In ESnext, private properties are marked with `#`.
Who thought that was a good idea? No really, who thought that was a good idea?
Why not just -- I don't know -- introduce keywords like ... let me think ... public, protected and private!?
Why this:
class MyClass {
a = 1; // .a is public
#b = 2; // .#b is private
static #c = 3;// .#c is private and static
incB() {
this.#b++;
}
}
If this becomes part of the language, no JavaScript developer may joke about php usage of `$` anymore.32 -
Jesus Fuck, is it so hard to slap a motherfucking 'Delete Account' button somewhere on that trashpile of 5000 different Javascript-frameworks and bootstrap you call website?!
No I don't want to deactivate it, I want you to DELETE all the information you have on me, preferably without having to fucking beg some low-life suppport agent in India (no offense intended) via E-Mail to do his goddamn duty...6 -
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 -
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 -
So at the moment I'm developing a RESTful API for an internal project at work and I'm starting to learn and understand about HTTP status codes.
So I started incorporating proper response HTTP status etc, but my co-workers don't understand what any of it means. They think that just sending a JSON response is enough with any messages should be enough. I think this mindset stems from people who just do simple AJAX calls in JavaScript just to get or store data.
It's these kind of developers that I find are lazy or have no motivation to improve themselves, which is disappointing.5 -
Dear ESLint,
- you convinced me to put a space between function() and {
- you convinced me to use single quotes for strings in place of double quotes
- you convinced me to put a space between inline operators
- you had me when you said that trailing spaces shouldn't compare in my code
- you said to put semicolons at the end of each instruction, and I thought it wasn't a so bad idea
BUT NO FUCK OFF NO NEVER I WON'T NEVER PUT A FUCKING TRAILING COMMA IN THE END OF JAVASCRIPT OBJECT IT'S MEANINGLESS UGLY A WASTE OF A FUCKING BYTE.
WHY THE FUCK I SHOULD TYPE var obj = {a: 'some text',} INSTEAD OF var obj = {a: 'some text'} WHY WHAT'S THE MEANING OF THAT FUCKING COMMA9 -
I hate JS...
I hate CSS...
What can be worse ? ...
*guy at work* : hey what do you think about CSS in JS, should we try it for our codebase ?
*other* : yeah why not ?
Me : *make a gun with my fingers, gently putting it in my mouth, remember all good things in life, no regrets* *gun noise*
Kidding, I love javascript.
But I seriously hate CSS and UX stuff.2 -
Imagine
websites didn't use unnecessary cookies,
JavaScript was only used when needed,
no trackers, no ads, no telemetry, no user
data saved when it doesn't benefit the user.
*Wakes up in cold sweat*9 -
I tried out Perl this year, really loved it. No one wanted to do a project with me in Perl though, so I moved on. Now I am doing my projects in javascript. I can't help but think that there is something very wrong with me for liking just the languages everyone hates with a passion. 🙃3
-
story time
I'm a C++ programmer and they have given me CSS, Javascript, Java, PHP and C# vacancies.. because I'm a programmer and they think I can do the rest.. YES I can.. NO i don't want to
One day I was invited at the recruitment office. had a talk for like 30 minutes.. where after they said yeah we have a game dev company for you.. then they said which one... Yes that Is indeed in this city... their SALES division not their DEV devision!
One day I came to a recruitment office 30min travel time.. and in the conversation it was me who talked about 30 minutes that recruiters don't understand the difference between javascript and C++. .. they asked me If I knew MySql.. for a backend job..
How can recruiters be THIS stupid.1 -
It was 1986. I'd just bought a computer because I wanted to make a cool flight sim like I saw a friend at school do by typing in a bunch of code from a magazine. I read a thick book on DOS/BASIC and another on Assembler. As I had no idea what Assembler could possibly be useful for in my life, I went the DOS/BASIC route and made some fun programs. Then it was Prolog followed by C and Smalltalk and then HTML and JavaScript. All by taking classes or reading books and then making something useful or teaching others.
-
Why use Vue.js, Angular or React when you have jQuery???
No, seriously I just finished 4 Javascript Projects without any front-end framework.13 -
Static HTML pages are better than "web apps".
Static HTML pages are more lightweight and destroy "web apps" in performance, and also have superior compatibility. I see pretty much no benefit in a "web app" over a static HTML page. "Web apps" appear like an overhyped trend that is empty inside.
During my web browsing experience, static HTML pages have consistently loaded faster and more reliably, since the browser is immediately served with content useful for consumption, whereas on JavaScript-based web "apps", the useful content comes in **last**, after the browser has worked its way through a pile of script.
For example, an average-sized Wikipedia article (30 KB wikitext) appears on screen in roughly two seconds, since MediaWiki uses static HTML. Everipedia, in comparison, is a ReactJS app. Guess how long that one needs. Upwards of three times as long!
Making a page JavaScript-based also makes it fragile. If an exception occurs in the JavaScript, the user might end up with a blank page or an endless splash screen, whereas static HTML-based pages still show useful content.
The legacy (2014-2020) HTML-based Twitter.com loaded a user profile in under four seconds. The new react-based web app not only takes twice as long, but sometimes fails to load at all, showing the error "Oops something went wrong! But don't fret – it's not your fault." to be displayed. This could not happen on a static HTML page.
The new JavaScript-based "polymer" YouTube front end that is default since August 2017 also loads slower. While the earlier HTML-based one was already playing the video, the new one has just reached its oh-so-fancy skeleton screen.
It would once have been unthinkable to have a website that does not work at all without JavaScript, but now, pretty much all popular social media sites are JavaScript-dependent. The last time one could view Twitter without JavaScript and tweet from devices with non-sophisticated browsers like Nintendo 3DS was December 2020, when they got rid of the lightweight "M2" mobile website.
Sometimes, web developers break a site in older browser versions by using a JavaScript feature that they do not support, or using a dependency (like Plyr.js) that breaks the site. Static HTML is immune against this failure.
Static HTML pages also let users maximize speed and battery life by deactivating JavaScript. This obviously will disable more sophisticated site features, but the core part, the text, is ready for consumption.
Not to mention, single-page sites and fancy animations can be implemented with JavaScript on top of static HTML, as GitHub.com and the 2018 Reddit redesign do, and Twitter's 2014-2020 desktop front end did.
From the beginning, JavaScript was intended as a tool to complement, not to replace HTML and CSS. It appears to me that the sole "benefit" of having a "web app" is that it appears slightly more "modern" and distinguished from classic web sites due to use of splash screens and lack of the browser's loading animation when navigating, while having oh-so-fancy loading animations and skeleton screens inside the website. Sorry, I prefer seeing content quickly over the app-like appearance of fancy loading screens.
Arguably, another supposed benefit of "web apps" is that there is no blank page when navigating between pages, but in pretty much all major browsers of the last five years, the last page observably remains on screen until the next navigated page is rendered sufficiently for viewing. This is also known as "paint holding".
On any site, whenever I am greeted with content, I feel pleased. Whenever I am greeted with a loading animation, splash screen, or skeleton screen, be it ever so fancy (e.g. fading in an out, moving gradient waves), I think "do they really believe they make me like their site more due to their fancy loading screens?! I am not here for the loading screens!".
To make a page dependent on JavaScript and sacrifice lots of performance for a slight visual benefit does not seem worthed it.
Quote:
> "Yeah, but I'm building a webapp, not a website" - I hear this a lot and it isn't an excuse. I challenge you to define the difference between a webapp and a website that isn't just a vague list of best practices that "apps" are for some reason allowed to disregard. Jeremy Keith makes this point brilliantly.
>
> For example, is Wikipedia an app? What about when I edit an article? What about when I search for an article?
>
> Whether you label your web page as a "site", "app", "microsite", whatever, it doesn't make it exempt from accessibility, performance, browser support and so on.
>
> If you need to excuse yourself from progressive enhancement, you need a better excuse.
– Jake Archibald, 20139 -
Found an old laptop in the apartment I was staying in and wrote a shitty incremental game in HTML and JavaScript with no libraries because there was no interwebs. At least alcohol is mega cheap in eastern Europe.3
-
Tired learning reactJS had no luck! It went above my head!
Learning JavaScript!
This is when i understood the importance of basics!13 -
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 😩 -
Stopid mf fat fingers, worked 2 weeks building a design system and 2 hours ago I accidentally shift deleted the scss folder and lost every fcking file, no git, no backup, no nada,guess what, tried to recover the files with 2 Permanently deleted file recovery softwares and from fcking 20 files, 17 were corrupted and weren’t readable, I and my designer friend use a folder sync app, the fcking app synced the delete and she lost the files aswell, fooockiinggg shieeeet, to my don’t know how where luck I managed to recover the copiled javascript chunck from my vue app that had the css styles embeded in the file, you know where I found the js file? iN ThE fcking cache of google chrome. Today I almost broke down to tears, but nonetheless it was a reeee moment for me.13
-
Everytime i see someone listing a shitload of languages, i safely assume that they speak around 2-3 of them fluently. I did some c++ and can write a site in php but they are nowhere near my java knowledge, so i only list them as something i played around with. There is just no way you are fluent in c++, java and javascript because they take half a lifetime to master individually7
-
Recruiter: I might have the perfect role for you that will match your salary expectations, they want to send you a technical challenge using Java.
Me: Did you read my CV headline at all?
Recruiter: is Java and Javascript not the same?
Me: Thanks but no thanks. -
I'm not much a fan of JavaScript. In fact, I am not very fond of any dynamic language, but JavaScript is one of my least favorites.
But this isn't about that. I use NodeJS for all of my web serving. Why would I do that? Am I a masochist? Yes.
But this isn't about that. I use NodeJS because having the same language on client and server side is something that web has never really seen before, not in this scale. Something I really really love with NodeJS is socket connections. There's no JSON parsing, no annoying conversion of data types. You can get network data and use it AS IS. If you transmit over socket using JSON, as soon as that data arrives on the server, it is available to use. It gets me so hard.
JavaScript is built to be single-threaded, and this is rooted deep into the language. NodeJS knows this isn't gonna work. And while there's still no way to multi-thread, they still try their best and allow certain operations (Usually IO) to run async as if you were using ajax.
With modern versions of the language, the server and client side can share scripts! With the inclusion of the import keyword, for the first time I have ever seen, client and server can use the same fucking code. That is mindblowing.
Syntax is still fluffy and data types are still mushy but the ability to use the same language on both sides is respectable. Can't wait for WebASM to go mainstream and open this opportunity up to more languages!10 -
Just found a really short JavaScript code inside a html document that will on Firefox for Windows/Linux no longer let you use your OS. Also android gets completely laggy and needs a force restart.
(I'm new to JavaScript)20 -
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 -
Dev Community
On Facebook groups- most are scams.
On SFO - strict.
On Reddit - Somehow helpful
On Telegram - 'nobody cares about you'
On Wechat or CSDN - They curse you.
On Dev.to - incomplete.
On Gitter - 'no body cares'
On slack - boring.
On Naver blog - somewhat helpful.
On whatsapp - crypto referal links everywhere
On Twitter - 'JAVASCRIPT bla bla bla'
On Google GRoups - classic
On discord - friendly
So far what I experienced, what about you guys?10 -
My client is offering me onsite project with 6 months of employmentship/contract/internship in Germany(munich)🍻
He is going to provide me flat, desk, macbook and transportation but final amount is not decided yet.
What all things I should consider while negotiating.
I'm so excited for this offer but no idea what should be expected salary and compensation over there.🤔
Ps: I have experience of 2 years in JavaScript development and I worked with him from almost beginning of my career.
Also shall I start learning germany or dutch?🤔22 -
I did mostly Java and JavaScript coding before I came to my current job. When I started I pretty much had to learn PHP on the fly. Pretty much no problems, but my greatest shame from the few years I've been writing code is when I spent over an hour debugging an unknown error, after which time a fellow dev looked at my code and informed me that PHP uses . instead of + to concatenate strings...6
-
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 -
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 -
Your mother must be the most efficient automated javascript build system ever.
Cause no one could come pop out more uglified than you.1 -
The posts about love coding interviews and low paid freelancing work just reminds me how little anyone know about process of using code to solve real problems.
If someone wanted to give me a JavaScript test then I'd point them at Fivver where there are tonnes of JS devs available for minimum wage.
No one is paying me for my ability to write code. They are paying me to solves problems that businesses have that are likely to involve software.2 -
I'm an embedded devices dev. As part of my job I take off the shelf devices and write libraries so that our JavaScript team can interface with them. If I have to deal with one more custom implementation of a standard protocol I'm going to freak the fuck out. Like fuck there are only 5 or so major communication protocols at the hardware level there is no fucking reason to reinvent some shittier protocol over a well documented, widely used protocol that has been around for 30 years. (Modbus for anyone who cares)2
-
So recently I needed to make a little Tic-tac-toe game with Node.JS for an university project. I previously learned Java and C# so Javascript as a non-compiled, script based language was something new for me.
Now during the programming process I reached the point where I needed to implement a function to change the player who's playing.
I was testing the game and... It seemed like the player was changed twice so it immediately switched back to the previous player.
Using a lot of console.log's I finally stumbled upon the error... (since Javascript or at least Visual Studio Code, I honestly don't know, doesn't have any kind of debugger or something).
Why the fuck does js allow to make allocations in if conditions?
I accidentally wrote one '=' instead of three '==='.
No error, no warning... Nothing.
Since then js and me are not friends anymore.8 -
Me: We have a style problem.
SM: No problem! I can solve it with JavaScript. I just need to manage the DOM in the Angular Controller :D
Me: Really? I found the solution with just 1 CSS line. -
Rant much...
I just started working on project after a group of students.
The project has various of bugs (ofcourse) and not catched exceptions.
I found variables like 'abcd' or shorts of classes like 'rrms'.
I would be fine with all of that but there is one thing is just making me crazy:
THERE IS NO SINGLE FUCKING COMMENT IN WHOLE SOLUTION (three projects and about few hundred files with javascript and cs).
Imagine freaking pure react (no jsx) full of null arguments and multiple custom control written like 'var gl= GreenLabelled(null,null,text,5)' (a button ) with again, NO FUNCKING SINGLE COMMENT.
I just cannot stand it. Just spent 3hrs to wrapp my head around events in this react classes...10 -
Quitting job because of Java and legacy corporate OSGI codebase. Being junior developer I'm just done with no documentation, terrible team support and non existent code review. After 18 months I can't justify staying any longer. Never had luck with Java and I guess some things just stay the same.
Joined only because of Javascript part, just to be thrown into fullstack position. Stayed way longer because of COVID. Good old simple PHP I loved and foolishly left because of money.4 -
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 -
"So, coder huh. What languages do you use? HTML, CSS, JavaScript? That type of stuff?"
"No. I use React. You see... with hooks... "
"Well, can you change some of the CSS on my website for me?"
"Is it React?"6 -
I just learned Javascript doesn't have tuples and nearly cried and/or vomited all over my keyboard. Pls no.12
-
KISS, DRY, Path of Least Resistance, Three Strikes and You Refactor, early returns, no array.map when nothing is returned, only use switch when # cases >= 3.
And using var in javascript instead of let/const to piss off my colleagues (and because I understand function scope well)6 -
Things I hate the most at the moment:
- PHP
- jQuery
- The person that coded this before me
- The fact that this person is swtiching from jQuery and native javascript over and over for no f*cking reason. Just why?
- My job
- My boss
- The big pile of sh*it that this code is (overall not just the screenshot), no separation of concern, logic code in the middle of the file, no proper slacing and indentation
- devRant no allowing me to put multiple images in one post, because the picture is just one of this whole mess, it's not even the worst part, you'd have nightmare if I showed it to you
- The mental breakdown I'm having14 -
I can't use Javascript object destrucuring in react components because a colleague doesn't like / understand it for some reason.
So instead of:
({ something }) => {
return (
<div>{something}</div>
)
}
If have to use
(props) => {
return (
<div>{props.something}</div>
)
}
Its no big issue, but I hate it.8 -
A (work-)project i spent a year on will finally be released soon. That's the perfect opportunity to vent out all the rage i built up during dealing with what is the javascript version of a zodiac letter.
Everything went wrong with the beginning. 3 people were assigned to rewrite an old flash-application. Me, A and B. B suggested a javascript framework, even though me and A never worked with more than jquery. In the end we chose react/redux with rest on the server, a classic.
After some time i got the hang of time, around that time B left and a new guy, C, was hired soon after that. He didn't know about react/redux either. The perfect start off to a burning pile of smelly code.
Today this burning pile turned into a wasteland of code quality, a house of cards with a storm approaching, a rocket with leaks ready to launch, you get the idea.
We got 2 dozen files with 200-500 loc, each in the same directory and each with the same 2 word prefix which makes finding the right one a nightmare on its on. We have an i18n-library used only for ~10 textfields, copy-pasted code you never know if it's used or not, fetch-calls with no error-handling, and many other code smells that turn this fire into a garbage fire. An eternal fire. 3 months ago i reduced the linter-warnings on this project to 1, now i can't keep count anymore.
We use the reactabular-module which gives us headaches because IT DOESN'T DO WHAT IT'S SUPPOSED TO DO AND WE CANT USE IT WELL EITHER. All because the client cant be bothered to have the table header scroll along with the body. We have methods which do two things because passing another callback somehow crashed in the browser. And the only thing about indentation is that it exists. Copy pasting from websites, other files and indentation wars give the files the unique look that make you wonder if some of the devs hides his whitespace code in the files.
All of this is the result of missing time, results over quality and the worst approach of all, used by A: if A wants an ui-component similar to an existing one, he copies the original and edits he copy until it does what he wants. A knows about classes, modules, components, etc. Still, he can't bring himself to spend his time on creating superclasses... his approach gives results much faster
Things got worse when A tried redux, luckily A prefers the components local state. WHICH IS ANOTHER PROBLEM. He doesn't understand redux and loads all of the data directly from the server and puts it into the local state. The point of redux is that you don't have to do this. But there are only 1 or 2 examples of how this practice hurt us yet, so i'm gonna have to let this slide. IF HE AT LEAST WOULD UPDATE THE DATA PROPERLY. Changes are just sent to the server and then all of the data is re-fetched. I programmed the rest-endpoints to return the updated objects for a very reason. But no, fuck me.
I've heard A decided (A is the teamleader) to use less redux on the next project and use a dedicated rest-endpoints for every little comoutation you COULD DO WITH REDUX INSTEAD. My will is broken and just don't want to work with this anymore.
There are still various subpages that cant f5 because the components cant handle an empty redux state in the beginning, but to be honest i don't care anymore. Lets hope the client will never find out, along with the "on error nothing happens"-bugs. The product should've been shipped last week, but thanks to mandatory bugfixes the release was postponed to next week. Then the next project starts...
Please give me some tips to keep up code quality over time, i cant take this once more.
I'm also aware that i could've done more, talking A and C about code style, prettifying the code, etc. Etc. But i was busy putting out my out fires, i couldn't kill much of the other fires which in the end became a burning building (a perfect metaphor for this software)4 -
!rant, but kinda
My new director wants to buy a solution for a portal environment that my institution currently has. I have no qualms over it. My only issue was the company that sells it to be known to provide close to 0 fucking support when shit arises.
During a presentation we were told that they were using state of the art JAVA technology to render items on the page and that their ApI was easy for devs to grasp. This caught my attention since I know of very few and obscure Java frameworks that work with frontend tech (as in, your frontend logic is legit in Java)
The sales people proceed to show us React. Obviously thinking that no one knows what REact was. The dude continues with "This is new Java tech" all proud and shit prompting me to interject that it is "Javascript" the dude brushes it away saying "same thing" to which I reply with "Negative, please make sure that you properly discern Java from Javascript since Java is to Javascript as car is to carpet, completely different environments" the dude sarcastically says that "oh well, didn't know one of the people here was more aware of our own technology than we are" to which I say "and not only that, but the final say in us adopting your tech is mine, so I would rather you keep the sarcasm and the attitude to yourself, bring in a tech person if need be and learn these distinctions since we don't work with Java"
My new director later on went to talk to me since he apparently thought that Java and JS were related in some way. I can't really fault it, last time the dude touched programming was in the early 2000s, previous boss was a C and COBOL developer, but the previous dude would ALWAYS take my word no questions ask, this dude was there asking me if I was sure that Javascript and Java were really completely different environments asking me to show him.
I do not like to be questioned. I shoot the shit here and don't really involve myself with more technical aspects under this platform unless it involves concrete architecture discussions and even there I really don't care with engaging on a forum concerning that. But concerning my job I really.......really do not like to be questioned by people that know way the fuck less than me. I started coding when I was 17, I am 30 now, with a degree and years of experience. I really hate to be questioned by this dude.2 -
Who ever come to idea to put JavaScript as backend language is insane.
I am coming from Java and now I am doing some work on Node project and I am loosing my mind.
Everything is an object but you have no idea what are his properties. There are call back, async, sync and mix. I don't even want to try debugging. There is no classes only object and a lot of functions everywhere.
The whole story with Node versions and playing with NVM. Don't even let me talk about Node modules.
Frustration and long development.13 -
no matter what fucking framework you use, or what shitty thing you build with your stupid framework, if you don't have a sound knowledge of Javascript, you are just a FUCKING ASSHOLE AND A DUMB SCAMMER. YOU WOULD BE USELESS AND JOBLESS IF NOT FOR THE ASSHOLES WHO HELPED YOUR HOPELESS LAZY LIFE3
-
Can anyone tell me why is it good to use some crap language that transpiles to javascript? Yes i hate js too but 90% of my time using reason/ts/elm is just
>ddg how to do x in y
>no answer
>Js.unsafe.eval "js code"
Like???? None of them is a 100% complete wrapper???6 -
I almost always program in Ruby but every single time I switch over to JavaScript, I cannot stop adding semicolons to my Ruby code for hours. Brain, y u no readjust!?3
-
Started a contract about 7 weeks ago now and initially it was great. The boss man was out of the office the majority of the time so I was able to get shit done.
Now the boss man is in the office all the time and I can't have a technical conversation with another dev without him jumping in to explain why we are wrong.
He has no technical experience to speak of and so I now have to explain every technical decision to someone who thinks you can put php code into javascript.
Maybe this is rubber fuck debugging?
Now I just keep telling myself "it's only 4 more months..."2 -
I made a js script using google and pieces of an already made script without knowing a bit of js.
Amazing how all programming languages are so similar.1 -
Stuff is so rapidly depricated in javascript that you always have to add current year in Google searches to find something relevant.
"Dammit, this answer is from 2016, probly no good today". -
-- What if JavaScript never existed?
-- What if HTML was a programming language?
-- What if our data online isn't abstract but physical?
-- What if geeks have their own country?
-- What if humans exist and we are the aliens?
-- What if the internet is state-owned?
-- What if we could download food just like every other downloadables?
-- What if my VSCode won't kill me when switched to light theme?
-- What if there was no gender and the word "female" is just an alias for "male"?
-- What if bugs could find and fix themselves?
-- What if there's no need for an account password?
-- What if Linux was owned by Microsoft?
-- **What if I could tell my boss that I'm tired of his fucking job without actually telling my boss? This is the actual what if.**27 -
So today when I was testing my new website I learned that IE/Edge does not support smooth scrolling with JavaScript.
I get why it doesn't work in IE but Edge... like what? Edge is supposed to be a modern browser... No?8 -
"The job description requires Java, and this candidate knows Javascript, are they interchangeable?"
No they are not, lawyer handling H1B immigration cases. No they are not.3 -
The state of JavaScript in 2024.
More frameworks, more minor syntax shortcuts to make code look more like emojis
?= := ?? .? =~ ;-P
but no native typing
so that devs can go on fighting about "JavaScript vs. TypeScript"7 -
ZAYN : Baby, let me be your man.
BABY : No let, only const.
...
Disclaimer : it's a JavaScript joke.
😂😂😂😂3 -
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 thought I at least was OK at JavaScript, but today I looked at a tictactoe implementation, and with all the fancy new syntax I have no clue what most of it is doing.2
-
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 -
Here I am for three months trying to implement TypeScript in this project that was a dump when I picked it up.
And then some morons get assigned to the project and just start adding @ts-nocheck everywhere?
Like, WHAT THE ACTUAL FUCK?
And then you wonder why the project is bug-ridden??
FUCK THESE PEOPLE THAT CALL THEMSELVES JAVASCRIPT ENGINEERS!! NO WONDER JS GETS SUCH BAD PRESS WITH ALL THESE CLUELESS IDIOTS TO WHOM STATIC TYPING IS JUST AN OBSTACLE TO THEM CHURNING OUT LINE AFTER LINE OF "CODE"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 -
This is going to sound stupid to some.. I recently finished sololearns JavaScript course and I loved it but I want to learn more but I have no idea where to start.. I've been browsing tutorials on YouTube but it doesn't help too much.. does anyone have any suggestions?12
-
Working with javascript with java experience is like 'really? you can summon the method from no where and you have one and only god var? ' I'm feeling so insecure.1
-
So I've begun working on my senior thesis for college (a full stack Java/node.js application) and a student overheard this and offered to manage my project. He has no idea how to read Java or Javascript.
....You work as a project manager in your day job don't you?1 -
Helping a friend study for a midterm for a web development class at the university I went to. They have a new teacher this semester and I’m reviewing his slides about javascript to see where the confusion is...
First slide: based off of Java, hence the name JavaScript, but is not Java. Borrows most syntax from Java.
And they wonder why employers comment on the surveys: “unprepared for the workforce”
Looked up the professor.. no experience teaching or any background in cs. And people pay 6-12k / semester for this state university.1 -
What the hecking heck. My Javascript doesn't work in Edge EXCEPT for when I open - only open - the developer console, then everything works fine. And it is hard to debug stuff without developer tools, especially since Edge doesn't note console.info when the developer console is closed.
(No, I'm not even using external scripts)12 -
every fucking time I use Javascript.
(yes, I'm no expert, but I can pick up ANY LANGUAGE and do this task in FIVE FUCKING MINUTES, NOT AN HOUR!!! FUCK!)
"Gee, I think this button should probably list the total recipients of the mailing, looks like I have to get the total of a column in an object, no problem, hell, i'll do it frontside just for the fuck of it'
yeah, seemed like a good idea.. AN HOUR AGO
ARRRGGGH
fucking javascript scope can take a flying leap off of a tall building, and then NOT FALL to the fucking ground because it will fucking tell me that OOPS gravity doesn't exist for javascript!
UNCAUGHT REFERENCE ERROR
right?
FUCK YOU
die from gravity like you deserve motherfucker16 -
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.30 -
So I go into Google Search Console to try to determine why its saying pages are not compliant with mobile and whatnot.
3 hours later I come out realizing that what Google REALLY wants is for everyone to build every web page as static HTML with no script tags and never a call to an external website. Just dump all that javascript and css and HTML into one BIG FRIGGIN FILE so our crawler feels satisfied that it's loading everything all in one request.
No CMSes allowed unless GOOGLE built it.
Let's just all revert to HTML 1.0 and be done with it.1 -
I've seen JavaScript client-side app that was connecting directly to DB using hardcoded (obfuscated, lol) DB password xD
And yes, there was no DB setting that this user is read-only and only from few tables. It was like GRANT * ON *. -
Javascript days are counted... I've been away from the dev world for a little bit and instead of writing bugs I've been invested in reading news portals and checking on fucking frameworks...
Web Assembly its gaining traction and projects like Blazor are already showing its potential... I cant wait for things be v1, in any case... fucking Javascript its soon to be "that fucking shit we use to use".
No one truly likes javascript, and if you do like it you are probably the kind of person who like to rape babies anyway.8 -
Divide and conquer is a brilliant form of control. There are entities that benefit from making us fight each other, no matter the reason. From choosing a Linux distro to choosing a political party: everything goes.
If you hate JavaScript, hug your fellow JavaScript developer today. Tell them they're doing good.
Spread peace and unity. Let peace forever hold her way over the Earth.3 -
I regularly diss on PHP in office but the truth is just that the developers before me wrote bad code. It was bad code in PHP alright but they had a whole framework to use and at least organize their code better but they didn't use it.
I have seen their JavaScript code too and it was all in one file.
P.S. I have no idea under which condition they had to write the code. The app was initially outsourced.5 -
So I'm a new junior dev, been working for around 4 months.
What's some advice from you've learnt from experience that you would give to someone in my position?
For context, I taught myself Java a while ago, was taught Python and some PHP recently and have patchy self taught knowledge of JavaScript.
So no degree and minimal formal training!
I have done 3 or so months of Ruby (self taught) doing back end web dev with Rails and soon am going to get involved with a small PHP and front end built from scratch.6 -
Any JavaScript developers out there willing to help me out with something?
I have an interview question that I like to ask candidates that no one ever seems to get right. But, to me, it seems pretty basic, so I expect MOST JavaScript developers at almost any level of expertise to get it, and I like it generally because it demonstrates some core knowledge of JavaScript concepts and syntax.
But I want to verify that my feelings about it are reasonable, because give how few ever seem to get it right (and I'm talking across literally hundreds of interviews, MAYBE 2 people have ever gotten it right), I'm starting to wonder if I'm right or not.
Look at this code, and then answer the question after. Please do so off the top of your head and without testing anything since that's normally the experience a candidate would have. I'll give the answer after some time for anyone who gets it wrong but is curious.
But this isn't about YOU getting it right or not, and it's not about whether it's the best way to do something in JavaScript or anything like that, it's just about whether it's a reasonable question and whether my expectation that MOST JavaScript developers should get it right is fair.
const O = {
sayHello : function() { alert("Hello"); }
};
const S = "sayHello";
Question: using ONLY the variables O and S (and you MUST use both), write code that executes the sayHello function.
Thanks!34 -
ESNext (next version of JavaScript) — because no matter what I do, as long as I'm working with web technologies, JavaScript is king. My career has evolved from UI-focused work, primarily working with JavaScript, yet I've also worked on embedded platforms and even operating systems! JavaScript is my foundation and you must always remember your roots!1
-
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) -
Got a job as a fresher, had no idea what work I'll have to do.
Was given the task to fix some bugs that had creeped in due to update of some UI framework.
Having absolute no idea of front end, I started the task.
Have spent the entire last week looking through CSS, HTML, Javascript.
Have come to the decision of quitting the job.
Life is too short to be lived this way.7 -
Anyone else slightly annoyed by the recent uptick of "look at me cute and I'm a programmer" accounts on Instagram? NO YOU WRITE JAVASCRIPT AND RUN WHATS BASICALLY A LIFESTYLE INSTAGRAM ACCOUNT. SIT DOWN.14
-
The borrower
Dart: Can I borrow your let?
JavaScript: Fuck off!
Dart: Please spare me your var then... You don't seem to need it anymore.
JavaScript: I said fuck off weirdo!
Dart: Can I borrow your var?
C#: 🧐... Kotlin. Is that you again?
Dart: No, I'm Dart.
C#: That what?
Dart: Haha, Just Dart.
C#: So, you need my var?
Dart: Yes, and also your String.
C#: Just that.
Dart: and your int, your bool, double and List
C#: Just that.
Dart: All your types... Maybe.
C#: 🚍☎️🗃️💺📺🛏️🎻🔦 🧤 Here you go.
Dart: Thanks💃
Dart: Can I borrow your pointer?
C: 👴 Huhh?
Dart: Your pointer. Yes that pointing stuff.
C: Borrow what?
Dart: Your pointer.
C: Poin...
Dart: Pointer!
C: Ponita
Dart: 🏃...
C: Here is my Pony bear... Hellooo. You there?1 -
What I like about devRant is the lack of usernames in the feed so people vote without judgement to the author. What was written matters more than who wrote it.
Obviously, I appreciate that it uses lightweight JavaScript. No JS bombs like mainstream social media. ( https://devrant.com/rants/9987051/... )
Also, posts have no titles and no formatting, just raw content. No clickbaiting and no bold italic screaming are possible. Posts have to get just straight to the point.6 -
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);9 -
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.15 -
+1 if you are interested in Augmented Reality technologies, have some presentations and assignments made and you are writing your Master thesis for Augmented Reality only to find yourself working for a company that wants from you to update somehow a project with 5 years old code written from some secret antisocial society that hates readability and you as a developer and a human being and wants from you to somehow understand why they call C# method only to return a string that contains all the html tags but no data and then insert the data in JavaScript splitting the same string.
Come on, give me a break! I m still trying, though I still haven't found where exactly the program learns the data to insert or it just knows (no questions asked)...6 -
!rant. Story from my college abt 6 months old.
We had to make projects for our course.
One team made a very nice project. One part of that was mobile no. verification using OTP.
And the student who was supposed to to that, did it by sending the required otp to the frontend page, and when user enters it, validate it using javascript.
The prof got mad about it and the rest of the class couldn't stop laughing.
Just remembered. Thought it would be worth sharing. -
On a website, using var something = $.parseJSON('{"with": "perfectly valid javascript in here"}') when you could just have done var something = {"native": "javascript goes here", "with": "no parsing needed"};
-
Guess fullstack is now the trending thing. Read a book on javascript and code examples in the book, do same thing with python or any other backend.
As soon as you are done, add fullstack to your bio.
So many newbies following this path. Coding up alot of examples with no real depth in any particular language.6 -
I decided i wanna, so i learned C, then i realized OOP was a thing so i had some fun with Java and Android, then i realized Web was useful, and easier to make actual products so i had an affair with RoR, but it was confusing AF, then i got a job where i have to work mainly with Python and Django, but frontend was PITA and i hated it.
In the end, since im only dev at the company and had to do it i started to like it (stockholm syndrom much) and now Im Javascript dev trying to move our stack to Node...
No regrets! -
From the book
Refactoring JavaScript
Turning Bad Code into Good Code
Evan Burchard
HOW CONVERSATIONS ABOUT REFACTORING SHOULD GO UNTIL TESTS ARE WRITTEN
“I refactored login to take email address and username.” “No, you didn’t.”
“I’m refactoring the code to ____”
“No, you aren’t.”
“Before we can add tests, we need to refactor.” “No.”
“Refactoring th–”
“No.”
“Refa–” “No.”7 -
client: i want u to build me this site and please disable javascript on it
me: thats not a very good practice but whatever
client: Remember... No Javascript...
...
i smiled because it took me 10 seconds to get the reference1 -
What I learnt after 3 hrs of debugging for a stupid issue today ?
Lesson 1 - Getting some unknown error even though your code ks right and no error in logs ? Check you SQL version and its rules.
Lesson 2 - phpmyadmin is fuckin shit ass software
Lesson 3- I need to learn JavaScript for backend ASAP3 -
JavaScript libs have a massive problem with quality and especially with quality of documentation and error reporting
For the entire day I've been staring at this stupid error and can't figure it out. The documentation stating that the source function sets the source dir, but not actual saying what 'source dir' means or what paths are resolved against it is no help either
npm is actually really awesome but almost every library I've tried just fucking sucks3 -
I just bumped into a javascript problem that exceeds the stupidity of previous ones:
Because promises can be retained after they settle, and handlers attached thereafter are pushed on the microtask queue, a promise rejection can't be asserted to be unhandled until the promise in question is GC'd.
Of course this is nuts so engines will conclude that a promise rejection is unhandled if there are no handlers at the moment of rejection.
I hate this language.10 -
- 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! -
My another attempt to write something in rust and I wanted to try tauri as it’s promising competition to electron.
Why use tauri not electron?
Cause in tauri you can write rust plugins that you can interact with directly from javascript without stupid http servers, mangling code and stuff.
From javascript point you only call one method and pass object with arguments into it.
So it took me entire weekend to create draft plugin to interact with sqlite database.
Documentation of tauri is inconsistent. I understand that cause it’s young project and plugins architecture changed frequently.
Moreover my knowledge of rust is near to zero. But overall it was worth it. I like what I achieved.
I can pass sql query and execute it inside mutex guarded singleton. Like I said before I like it cause I can call my plugin directly from javascript.
I know I wasn’t fancy with my implementation. I just created file database connection from json configuration and managed to receive string sql statements. I just print results with rust to console for now.
I will add sending back results later this week.
For me tauri is already better then electron cause code is clear and there is no workaround ( except singleton with connection - cause of limitations of my rust knowledge ).
Live long tauri and fuck you electron.
https://tauri.studio/en/
if you’re interested.2 -
JSrant
Is there no other uglier way to create a constructor in JavaScript apart from using parameters for the properties?
Some of my entity has like a dozen properties (+_+)12 -
tl:dr
i fucking hate that professor for whom i have to work on laboratory project right now.
reason#1
the project is using a stack full with java. JavaScript. react and some weird facebook api of which i have no clue about. not to mention the server side of this application which uses tomcat (ok its java after all) and sql.
well that wouldn't be not so bad if...
reason#2
we wouldn't have to fucking debug his mistakes he put into the fucking prepared code AND his fucking useless instructions how to set up the project for eclipse the first time. not to mention his fucking requirements which make no sense
oh yeah im a student. i can always go and ask him for help if i need any...
reason#3
i have another 70% mandatory course at the same time and that fucker refuses to upload hos sheets in moodle and answer even one fucking question via mail. not to mention no support if I am there unless i have eclipse setup. even through the projects should be build using gradle...
reason#4
oh. and have i mentioned that this course is only about design patterns? uts not like we could see several of them in a java only application. no we literally have to learn java itself. gradle. nodejs JavaScript Extended for react which i have no clue about at the moment... and yes i especially mentioned gradle and nodejs beccause we have to set shit up and not only use a script.
reason#5
and all that wont even give us a grade. no ita simply a pass or fail part of the module which the course is part of.
have i also mentioned that the whole shit should be done in 20 hours according to the schedule8 -
the irony appears to be that JavaScript is more consistent than rust
so let's say you want to create some enums to represent some potential values in a REST JSON payload
well you can implement Display trait but that won't determine the JSON output
you can make a as_str() method and that doesn't even make sense frankly, I guess it's not even a trait even though it's everywhere in the std library? (traits being rust's version of interfaces, so you'd think they should be consistent)
I have a halfway urge to say rust was a beloved language but then the foundations' drama made everyone escape the ship, leaving behind a mess
well evidently the answer is you use the stupid annotations:
enum Lang {
#[serde(rename = "en-US")]
EnUS,
}
well then this only works in serialization with serde. way to go.
how about if I have some JSON data that starts with numbers? I have an interval field in the REST that expects things like 1m, 15m denoting time scale
well no deal
because rust doesn't want enums starting with numbers
and here I thought rust was superior with its static typing. but I am having to rename things all the way down and nothing is consistent. this would be so trivial in JavaScript. and there's only one toString() method! and no interfaces people say you should use while nobody uses them!87 -
Serverless will become increasingly prevalent.
Javascript will become even more prevalent than it already is.
I make no comment on whether I think the above are *good* evolutions, however. -
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 -
I (still am though) taught myself JavaScript online, and taught myself the Linux terminal with no help.2
-
A tool widely use and been perceived as a superset of JavaScript does not have a FUCKING language specification, we have no single clue why certain things are done the way they are done. All we FUCKING do is guess.
Fuck typescript11 -
Wanting to get into reactjs but no idea where to start, I'm coming from straight php/html/css and JavaScript.
Any ideas where to start, articles to read / examples to play with or check out?7 -
upside I guess, if your website's content is generated by JavaScript I'm too lazy to find an emulator to scrape it off you
granted I'm sure this website's business would've been much better had they made it scrapable since I'm quite literally trying to retrieve their capabilities listed in one of their help pages and give myself alerts when they gain new features
but no, I guess3 -
Google Apps Script is probably the worst scum of the earth I’ve come across in a while.
Shit documentation and JavaScript 1.6, really?
No wonder nobody uses this crap and has proper implementation of a vast variety of applications.4 -
How is that there are so many JavaScript frameworks and fkn no actual way to learn. Tried vue js, this fucker doesn't work half the time, I'm under a no sleep mod tablet, thought it'd help me but I am just raging right now.7
-
Trying to port a legacy Firefox add-on I didn't write to WebExtension. Failing so amazingly...
Vague explanations, no tutorials. Mdn has a nice documentation but no tutorials. What's up with that??
Also, JavaScript. And stuff I didn't write. Just perfect. 😑😑😑2 -
A coversation with a classmate:
(We embraced Node and Javascript but he had no interest at all)
Me: So what tech stack do we use for this project?
Him: You guys decide... I'm fine with anything.
Me: So you're fine with any tech we use? No opinions?
(We need confirmation from all members but he, being the uninterested person he was, gave half-hearted replies)
Him: I'm actually a ROR person, not interested in node.
Us: ....
Dude we understand that you prefer ruby but at least help us decide! We studied all of this together... sheesh1 -
Peoples opinion of ASP?
Any hints for learning/using/I got assigned a big project and have no idea what I'm doing?
I said that I know Java. That's half of the word JavaScript. Which you can use while making a web page along side of PHP. PHP kinda sounds like ASP if you say it a bunch of times really fast. That's probably why I have this project...? I can't think of any other reasons?!?!10 -
Ok I love JavaScript but this is enough.
I know selectors like these shouldn't exist, but double escaping? Hell no! I didn't even know it was a thing! I wonder what's the highest level of n escaping there is out there.6 -
"My code is explain itself. Well, I need no comments to understand it."
I don't care if you wan't to write comments or not; If don't write any then i don't care because fuck you and your code.
May it be java, kotlin, python, javascript or anyother language, you think "everyone can read", i hope you'll never find anyone who has to deal with you and your cancerous code.joke/meme the code explains itself explain code javascript cancerous readability fuck kotlin dealing with other people comments java7 -
the worst project without without documentation I had to work with was a huge web 1.0 webapp that had been compiled / uglified into a huge blob of javascript with meaningless variable- and function names that were no longer than 3 characters. needless to say, the original source code was gone and the original author as well. Spent weeks figuring out where to implement the new feature, while it could have been a few hours of work.1
-
Using Oracle ADF along with ADF Faces to build a simple learning management system. No JavaScript, no external stylesheets, all inline styles, no client side validation, doing form submit for every field's onblur event triggering a server-side validation, creating a VO for every damn page requiring data, creating an EO for every DB table or view, adding big-ass custom queries for most EOs to join on multiple tables, frequent N+1 queries, etc.,
Idont remember the rest of the problems5 -
Could get an iPhone 6s 32GB for 50 bucks with my contract. Is it worth it to start developing iOS Apps?
Little backstory: I'm a computer science student with little to no exprience in developing mobile apps, and I recently started working on a bigger project which includes some php, javascript on a website as well as a mobile app for both platforms. As I currently do not own an iPhone, I suppose this would be rather difficult. Is it worth picking up an iPhone 6s for development? My current phone is a OnePlus Three, so I have no need for a new personal phone.
Also, how "hard" is it to create proper iOS apps?6 -
I've taken something I wrote in JavaScript with no guidance in 30 minutes including research and was 15 lines
and I rewrote it in rust essentially and it was ~400 lines (in the end...) and a week and I basically copied someone else's repo but made it shorter (lol)
this feels like coderbaiting6 -
My biggest annoyance as a front end developer is no longer knowing whether to do something in PHP or JavaScript anymore.
Seems to be creeping more towards JavaScript these days.4 -
I'm currently in a bit of a predicament.
Here's the deal:
I want to separate my back-end from my front-end code a bit more (currently PHP code is mixed up with all the HTML, Javascript etc.. basically: front-end and back-end are one).
The question here is: how should I go about this?
In my current project, I have written some javascript code with jQuery that checks whether the user is logged in or not (checks for an auth token and UID to be present in the cookies).
However, this results in the page (in this case a dashboard that only logged in users should see) being visible for a moment before the user is redirected to the login page...
How could I go better about this (No, I won't use AngularJS for this)?7 -
Sooo after returning from my 3 weeks of vacation (student part-timer so no real obligations) I learned that the last two months of work refactoring our legacy app to conform to modern Android app standards, is being shut down because we begin to rewrite everything for cross platform...
Not sure how I feel about it, because I really liked Android development and I poured my heart in it... On the bright side: I'll get to learn more Javascript, HTML, css and polymer stuff which I guess is good.
It still stings a little 😥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 -
$ yarn add leftpad @types/left-pad
It was faster than reinventing the wheel and I needed that functionality :> -
You know the point where you should stop coding and think back about what the hell are you doing because the shit is getting crazy?
I just passed it whooshing at the speed of light, leaving behind me moments where removing readme.md changes the error being thrown and using `${someStringVariable}` gives different results from just using the variable - and I do not intend to stop.
I want to see the fiery hell of JavaScript and emerge on the other side victorious or a broken man. No other option.1 -
The frontend developers in my company are the reason why I have anxiety. Here are few things that grinds my knees:
1) for a long time in projects, they deleted the auth token from their storage without integrating the logout api. They thought why use an API for that. :)
2) most of them had no clue that form fields could accept javascript as inputs and work as XSS vulnerabilities. This actually happened with a client, he got so fucking pissed.
3) One of them asked me to convert a PATCH request to DELETE cos fuck REST and HTTP methods.
For fuck’s sake. I need to get out of this place.4 -
Last year in uni:
Module 1: Build two projects in a team using java
Module 2: Build a website for an airport using plain php/javascript/css (i had no previous experience with thia pathetic language with the dollar signs)
Module 3: build a website using python
Module 4: Rasperry PI with Matlab
*** I have to study C++ for the job I will be working at after uni..
I really want to specialise in C++ and finally get proficient in it, but hell no my curriculum requires me to know how to do the same exact thinf with 75668888765 languages... fs -
Things forced upon me throughout my life that I hate with a passion.
Football (I mean soccer)
The (fucking) Beatles
Religion
Microsoft
JavaScript
Most Clients
Things I can't get enough of (in no particular order)
Asian Food
Dirty Loops
Sleep
Playing Bass
Travel
Time1 -
react is garbage because javascript is garbage
like trying to draw straight lines but there's no straight edges to work with
fuck hooks , im too salty and stupid to learn this shit1 -
From HTML CSS javascript to some voodoo WPF xaml and c#, mvvm and databinding dependency inject cluster bomb to my brain god Microsoft just put a tutorial out like a normal group of people. where you do examples of projects. I'm 2 weeks in and this still makes no sense5
-
I guess it all started for me in the summer of 8th grade when I was 14. I saw all these javascript snippets for invisionfree forums, started learning javascript and html. later on I went into php development to make a arcade, it was pretty cool learning experience cause it used curl to login with invisionfree forums. a few years after that I got into c++ and I knew programing was what I was going to do the rest of my life cause there's no end to it
-
First Rant...
Why the fuck do I get on a C++ interview the question if I now Javascript......everytime.... NO I DON'T WANT TO KNOW JAVASCRIPT!!!
Real coders code in C/C++ and not hipster javascript. Am I alone???(probably)10 -
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 -
Does it really need to learn jquery in 2019? Bc I read some websites saying that JavaScript has developed and no need for javascript , is that true?10
-
Starting to get into intricacies of javascript.
Question was: when and why do you bind your functions?
Farking hell, no wonder people bitch about javascript.3 -
If I don't know Java and no plan to learning it how should i learn kotlin?
No experience with c or c++ either. No programming experience at all. Because HTML and CSS aren't programming so yeh. plan to learn JavaScript next month after my fucking exam.6 -
Having to do 10's of ElasticSearch v2 -> 6 client requests migration manual deploys of a 10-year old PHP/ Javascript codebase where the gulp build's plugins no longer work, the package dependencies have been .gitignore'd (who does that!), and dev cowboys have frequently bypassed version control by making changes directly in production.
Also, no one knows anything about it because the only dev who was supposed to maintain this app left 3 months ago due to unbearable management.1 -
I fucking hate that in JavaScript we have the naming convention of index.js for entry points, whyyy? no sense, thanks node7
-
I hate how my work mates think coding in Java you automatically become cleaver than most people who code in another laugauge ..
The hate Python and JavaScript , c'mon guys just write your fucking project so long it works you dont have to make statements on how Java is great. . We all no. . Statements like Python is English anyone can write are not welcome7 -
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 -
We have to make a final project in college in my country because we get an engineer‘s degree (Ing.) when we have finished them.
Our teacher come in and said he got some projects which fit for our finals.
I asked him what kind of projects those are.
Hey answered that most of them are web applications.
I was like „Now it finally pays off that I‘ve learned JavaScript/TypeScript and how to work with Angular and Node.js“
So I asked if I could made one of these projects with Angular and Node.js
He said „There’s no need for JavaScript, PHP and laravael are requirements.“
I stood up and went out of the class... -
Using a web grid which has functionality like filtering, sorting etc but each of it uses a postback. There is no way to enable client side filtering unless you do it yourself using JavaScript and the best part is the same company has another grid which has the option of both client side and server side filtering just by setting a flag but this grid only runs in .net 4 framework.
-
well well well.
i seem to like javascript syntax more than php.
there, i said it.
it´s not a post about php being bad. in fact i did and do nice things with it. but in the last few months i learned a lot about javascript and now the time has come i get a grasp on opinions of php being inconsistent. and a growing feeling of love for objects. maybe i just have not reached the dark pits of strange js-comparisons like similar objects not being equal. but still...
no, php, i will not abandon you. but sometimes we have to talk about our feelings. -
Just had to debug this javascript bug. Not sure if I should get a better keyboard or only use strongly typed languages.
if(rating.upperBouds > maxRating) {
// this code never runs no matter what value I give to upperBounds
} -
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 -
Day 3 at the office:
Still no project, I read about AngularJS yesterday, today I am reading JavaScript on W3C.
For some reason I have Internet access from IE and Chrome, but not from FF... :-/3 -
JavaScript development turns into more and more of a shitshow over time. Not that it was great at the beginning, but with each passing year it gets worse.
There are now 17 versions of Node.js, 18 versions of React.js, 3 major versions of Vue.js... Each version brings something new and no one is in a rush to update their stuff to be compatible with the latest version of the framework2 -
!rant
I feel like I know typescript a lot better than JavaScript... Is that strange? 😂
I mean after studying languages like C#, I feel like JavaScript is so random, I feel like it has no structure and that I don't know how to code in JavaScript. However when I start using typescript I just feel like I can understand what I am doing on another level. I would like to learn JS more in depth, anyone that has any tips?1 -
> be me
> javascript developer / ReactJS
> finished project
> chillLife.exe
> all of get sudden project which needs C# WebAPI service
> very close deadline
> Okay, let's see
> See the code and felt like suicide
> Post question on SO and got -4, no wonder
> null exp in C# or .NET
> By the end of day complete task 1 of the issues
> 3 issues
> It feels like some one's homework I'm doing
> Go to boss for 3rd issues
> Google it, you'll get the whole solution
> Why I am not surprised?
> ask @Elyz for help, and got something working
> I am the NullPointer2 -
Not a fight per se, but I once had a debate with a tech lead who thought you could set a variable in the ‘then’ clause of a Javascript promise and just use said variable after the promise declaration and assume it would be populated.
“no.... thats not how asynchronous code works.”1 -
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 -
The forEach in JavaScript makes no sense. It looks like a map /filter/reduce but doesn’t actually return the array. Can you please loop like a normal language?8
-
Google Analytics has such shit documentations. They switched from some analytics.js to gtag.js, but didn't update everything in the docs, so I have to guess and find how to do things the new way. Also all the issues on StackOverflow are by marketing "specialists" who don't even understand JavaScript. And debugging any of this is near useless. You just send data into a magical data layer and hope Google does what you want. It's a fucking black-box and I've no idea why nothing works. FUCKING GOD DAMN PIECE OF SHIT, WOOOORK!
-
Fuck JavaScript!!!!!
I'm building an application using Vue with MaterializeCSS and i'm using moment to handle dates. i have to initialize datepickers with values at mount of the vue. i use variables to store the states. there are proper routines for intialization and setting of the pickers. the routines run. there are no errors. the pickers show values. no errors. but the fucking variables ar empty!!!! the pickers are not being set. holy mother of fcuking shitty js milk!6 -
stateofjs survey reminds me of all that's wrong with JavaScript: too many frameworks each of which has to reinvent the wheel and depend on too many node_modules child dependencies, most don't support TypeScript properly (ever tried to convert a node-express-mongoose tutorial to TS?), there is still no proper type support in JS core language, and browser features get added in form of overly complex APIs instead of handy DOM methods.
Instead the community gets excited about micro-improvements like optional chaining which has been possible in other languages for decades.
At least there is something like TypeScript, but I don't like its syntax either, it's overly verbose and adds too much "Java feeling" to JavaScript in my opinion.
Also there is too much JS in web development, as CSS and HTML seem to have missed adding enough native functionality that works reliable cross browser to build websites in a descriptive way without misunderstanding web dev for application engineering.
After all, I'd rather have frontend PHP than more JavaScript everywhere.
Anyway, at least the survey has the option to choose how satisfied or unsatisfied people are about certain aspects of JS. But I already suspect that most respondents will seem to be very happy and eager to learn the latest hype train frameworks or stick to their beloved React in the future.5 -
JS isnt the problem I have. I have realized. My problem is my lack of knowledge of the language which is not really a problem because I am new but its more the side I dont know how to write code that will do it. and lets say I do I get so fucking confident and it doesnt work and I think its some small error I made but no its just how I write it and it wont work and that gets me so down because when I ask for help my code 100% of the time gets rewritten. can I just not do simple shit on my own? and the problems Ive been coming across are just small projects to get better like "Create a function that outputs the most common item in an array" or "Write a simple JavaScript program to join all elements of the following array into a string" or literally any of the projects on this site: https://w3resource.com/javascript-e...
I feel so embarrassed because these are simple and I cant even do majority of them in langauges I'm better and more experienced with (python) I can think out a problem I cant convert that to code. algorithms in general I cant do as well and Ive never done any "big" or "serious" projects so I dont know what I have to show for the last 3 years of my life.10 -
No matter how many times I have to rewrite functional code, no one will ever convince me that dynamically creating JavaScript with data binding templating languages is a good idea (JSP, php, etc)3
-
I'am trying to monetize my vuejs app
But google is telling me that there is no content inside my website
And of course there is no content because vuejs render engine compress everything in JavaScript
What the hell is this?😠😨😨😨.
So should i conclude that frameworks app cannot be monetize?
Please tell me no
So how can i monetize it?7 -
everything is going as planned! :)
Learned Rust Lang. i loved it (that doesn't mean i am done learning na? No! never stop)
new language i could do game memory hacking in without worrying about C++ memory leaks or issues. it also compiles to assembly! another of my favorite languages!
(i use rust for game development and other stuff)
i am not leaving C / C++ though that would be harsh!,
i abandoned javascript for react and typescript.
to be honest the developer just made javascript and left us with a [object Object]
finished learning the android java api so im basically set anything i want to make i can just go on my pc, listen to music and write it out in a couple of days.
well phazor what are you going to do now?!
i will code till i am old.
i will leave my mark like a shid that made its skid in the bowl :)5 -
Atm we're merging everything straight up to production because we only have our first client going live tomorrow. No problem except for the fact boss is using production to give demos to clients already. And so some JavaScript change that broke search made it to production and cropped up during a demo. So what does boss do? Call HR/support and yell at her that everything which works needs to keep working. Which is fair if we were live and we go back to merging to production being rare. So HR/support was in tears during our meeting where we were taking about the new live branch structure. GG boss. We consoled HR/support but really boss man knew how we work but ignored it.
Question for everyone though: what can we use or do to prevent changes to more general JavaScript breaking things around the code? We talked about unit tests and maybe code linters but is there more? Because it seems now might be the time to improve our working and even get budgets for tools.1 -
Have anyone experience unexpected behavior using JavaScript? So I wrote this script that manipulate the DOM... however on over clicking a button... Something breaks, however the deadline is tomorrow. Code review is successful. I am sure no sane person will click a button that many times 😅10
-
Yesterday i went to see a therapist ( i am a javascript developer). The therapist asked me what the problem was and i said i had to learn a new tech stack every 3 months. He then told me he was a php developer .....
Therapy works guys! no cap
P.S- This joke is stolen from the oldest book possible ( yes! as old as php)2 -
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.
-
Man I really don’t like component libraries... perhaps there’s some thought out libs out there. But so far it’s been as if I were to build a bridge with a bunch of “reusable” parts but no one knows what the fuck they may be meant to do so no one bothered to account for anything and didn’t even fit screw holes or something.
So now I have to weld and screw everything together with fucking JavaScript in 10x the time it would have taken me to build the part myself.4 -
I'm looking for some Remote work to do as freelance or "startup", low pay is alright if there is not too much pressure. I'm a Front end developer who's trying to actually apply some of my React knowledge, maybe someone can take me "under his/her wing" :) , HTML, CSS and Javascript (jQuery) are no problem. If anyone has any pointers or recommendations, I'd appreciate it. Thanks2
-
So I am usually more of a classical backend/ app developer guy. I like my Local compilers/interpeters whatever. Recently though i kinda started thinking about how Web Apps work, and how to actually make one, which lead me to the Realisation that i actually have no idea how any of it works. So I started a little private project using django, as I am quite good with python. But soon after starting i realized that that wouldnt be enough, i would need to learn the basics as well as a couple of languages.
So can the community recommend me some books and learning material on JavaScript, HTML and CSS as well on general Web development ? While we are at that matter, can someone give me a rundown on what the differences between Javascript, angular, jquery etc are?4 -
Don't laugh but can anyone recommend any free Javascript tutorial/training courses?
It's for a friend... No really13 -
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
-
I'm in my 4th week of a coding bootcamp. I left last nights class in tears and ready to give up. We were barely introduced to JavaScript last week and this week we're on jQuery, not to mention, I'm supposed to have mastered HTML and CSS by now. I don't understand SO MUCH of this!!! Every YouTube, CodeAcademy, TeamTreehouse, etc. video is DIFFERENT!!! No time for this, I have to make a hangman game by Saturday!!!2
-
Just had the displeasure of working with knockout, how is it that a JS library can be soo fundamentally flawed that you cannot concatenate a string with a variable inside a binding definition.
All I want to do is create a css class using the value of a variable inside an itteration with a prefix, so that I can write other less bad code to get around KO's other limitation, but no, you cannot concat, why would I want to do that inside of javascript.
Useless pile of tosslet2 -
So I started learning html, css and javascript this year... After getting stuck in understanding a few concepts I started learning a little of sql and Java...
Now after a few begginer tutorials I have no idea where to go or what to dedicate my studies...
Most companies around my city use Java, but I'm already 29 years old and I feel like this will be a problem... Should I focus on learning frameworks and try big companies internships, or go for web development and start working on my own?5 -
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
-
I just wish I could determine what I want as a reference and what I want as a value in JavaScript. I hate not being able to determine it myself and be constrained by a spec while not having any other language to use (no I'm not gonna use webassembly for everything).6
-
I have finally done what I will call a "pro javascript move", but I did this in C++...
QString str("hello");
float offset=0.0;
...
offset = somevalue;
return str + offset;
This printed out "hello[]". Where [] is some unknown character box.
No warnings at all. It just found a conversion function and did it.1 -
!rant && advise
I have some expirience working as full stack developer, but focussed latly mainly on backend (php/java). However for one project, I need a desktop application and I was wondering, if you would recommend electron for it.
Pros:
- I could reuse some of the webapp stuff and cache it offline using web workers
- Styling done via HTML/CSS
- Portable between Linux/Windows/Mac
Cons:
- I haven't worked (much) with node js so far, but that shouldn't be a too big problem
What are the pros and cons from your point of view? Would you recommend electron? Why yes, why no? If no, what would you reccomend as alternative?
My knowledge so far:
Good: PHP/Java (without GUI)/CSS
Quite good: Javascript
Meh: Python (I can hack things together but wouldn't say I'm good with it...), C++8 -
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.
-
i have no idea what im doing
javascript, jsx, typescript, react have some of the ugliest and redundant syntax i have ever seen
what are people's favorite reference material for them
do people recommend the official documentation, was surprised react looked better than expected for its docs6 -
Fuck you Drupal 8
How complicated can it be to dynamically change the title of a page?
No I don't want to write another custom module, which requires two fucking .yml files?? and initiate another controller for something that simple...
Fuck it! JavaScript it is....3 -
I've to say that javascript is no language I like because I'm more fastinated of building a nice and scalable backend then building a gui (in the browser).
The funny thing is that right now javascript helps me at my current project because many websites implement wide-opened apis for their js frontend and it just works like a charm to use them instead of parsing the whole html and do some XPath stuff to fetch information. -
When ry finally speaks again for node, especially with all the rants he has to say to every single one in charge of the node foundation, I almost cried.
You have no idea how bad I hate Isaacs and the negative impact he made to the community and JavaScript as a language.
I like Fedor though. -
i have this js object containing an array with about 7000 values. firefox, chrome and even ie11 need about 1.5 to 2 seconds to process it.
but edge takes 10 times longer! does anybody know about this behaviour? i could not find anything.
so, serious question. i just find results for ie being slow but THIS time it does its work properly. console shows no errors. is there information about edge-specific issues with javascript?9 -
Typescript , Covfefesript, Sass and all the other javascript, CSS mongrels suck. Let them die out please. No offense.7
-
I have no Internet since two weeks. I'm desperately searching for a Javascript coding challenge (it could be a small library, framework, whatever...).
Any idea ?3 -
Fuck social media websites that don't allow you to embed their content with a simple iframe
Good example 👍 :
<iframe src="https://youtube.com/embed/..." allow="..." allowfullscreen></iframe>
Bad example 👎:
<blockquote class="reddit-card" ...><a href="https://www.reddit.com/r/.../...">...</a></blockquote>
<script async src="//embed.redditmedia.com/widgets/platform.js"></script>
NO I DON'T WANT TO RUN YOUR 100kb JAVASCRIPT FILE WITH FULL PERMISSIONS ON MY WEBSITE JUST TO DISPLAY 1 SENTENCE AND 1 IMAGE. WHO KNOWS WHAT OTHER NASTY THINGS IT MIGHT LOAD IN IN THE FUTURE.
With an iframe it's at least somewhat contained.5 -
// no rant
If you use brackets, I wrote an extension that lets you hop outside of auto-completed (), [ ], and {}. it's called TabEx and I'd love your feedback!
Install via Extension Manager or view on GitHub: /paritho/tabex -
Alright so I have been trudging around in javascript land for a bit and one thing kind of bothers me (correct me if I am wrong I would love to be wrong on this). It seems like a lot of javascript, or at least frameworks, leave a lot of possibility for memory leaks. Like you can create an anonymous object with a method that just kind of hangs out and acts with no way to retrieve it and turn it off. Am I wrong here? Please tell me I am wrong. And for the record I know I can assign anonymous objects to variables in various ways, but I am not forced to.4
-
Svelte is great, and React is the worst thing to happen to JavaScript.
I mean, seriously, just to make one app you have to have this massive React project, as well as a runtime. Svelte compiles it into a small bundle that's not too large with *no runtime*!
React, Bootstrap and Express have spawned a new wave of "Braindead JavaScript Developers™" that are beginning to become inescapable; it sucks.6 -
GameSparks. Flaky, slow, unreliable, overpriced, uses an antiquated JavaScript interpreter (Rhino), no real modules, a f'ing nightmare.
-
Typical discussion here between a fullstacker, frontender and designer: its this functionality, no its that functionality. But parents and childs. But javascript! No i want this to be this name. No that name is better. Im in the middle of this :(1
-
Javascript drama is a never ending horror. I was building an app for a client that says he want reactnative and I used The Platform module without importing guess what? I never saw an error but that part of the code didn't just work and no crashes this is crazy no wonder apps built in JavaScript don't show error in dev but crashes in production javascript is just one comedy that won't cease creating unessary bugs that should not be allowed at the first place, js is just crazy in someways3
-
Hello devRant!
Google is coming up with all useless answers so...
I have several module pages in AspX. A lot of them share the same variables that they each instantiate on load of that page like:
Var SaveText = <%=Lan.SaveText%>;
But if I put those into a javascript file to share it, instantiation fails because the <%=%>-values only work within the AspX page.
Is there really no way around this except putting it in the master page (which I really don't want to for other reasons)17 -
Is scrolling broken on devRant on Firefox for anyone else? When I click on a rant and try to scroll, some wonky piece of Javascript keeps bumping me back up as I try to scroll down, with both the scroll wheel and the scroll bar. God damn it, stop hijacking scrolling! There is no reason for you to!3
-
!rant
Guys, I started working on a few web dev projects the last weeks and I'd like to know your opinion on PHP. Is it a requirement for backend? Can I do the same using Node (or another?). I have pretty much no knowledge on it, but I have some xp with JavaScript. Is it worth to study PHP today?6