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 - "bigint"
-
Had a team with
1 entrepreneur who has this great billion dollar Idea and want me to sign an NDA before he can share the idea
1 newb who thinks that X language is the coolest because that's what everyone on Hacker news says
1 person who spends more time with other team than yours. I'll be fortunate to even spot him during the hackathon. Aka, "networking guy"
And then there's me, wondering why was I even here in the first place
Oh wait, that's the every hackathon I've been to.7 -
Why does MySql least and greatest functions return null if any of the arguments are null? Who was the genius behind the idea that it's the best way to implement it, and to change this behavior in a minor version?
Why does MySql return bigint when i convert a value to integer?
Why does MySql exist?17 -
I want to explain to people like ostream (aka aviophille) why JS is a crap language. Because they apparently don't know (lol).
First I want to say that JS is fine for small things like gluing some parts togeter. Like, you know, the exact thing it was intended for when it was invented: scripting.
So why is it bad as a programming language for whole apps or projects?
No type checks (dynamic typing). This is typical for scripting languages and not neccesarily bad for such a language but it's certainly bad for a programming language.
"truthy" everything. It's bad for readability and it's dangerous because you can accidentaly make unwanted behavior.
The existence of == and ===. The rule for many real life JS projects is to always use === to be more safe.
In general: The correct thing should be the default thing. JS violates that.
Automatic semicolon insertion can cause funny surprises.
If semicolons aren't truly optional, then they should not be allowed to be omitted.
No enums. Do I need to say more?
No generics (of course, lol).
Fucked up implicit type conversions that violate the principle of least surprise (you know those from all the memes).
No integer data types (only floating point). BigInt obviously doesn't count.
No value types and no real concept for immutability. "Const" doesn't count because it only makes the reference immutale (see lack of value types). "Freeze" doesn't count since it's a runtime enforcement and therefore pretty useless.
No algebraic types. That one can be forgiven though, because it's only common in the most modern languages.
The need for null AND undefined.
No concept of non-nullability (values that can not be null).
JS embraces the "fail silently" approach, which means that many bugs remain unnoticed and will be a PITA to find and debug.
Some of the problems can and have been adressed with TypeScript, but most of them are unfixable because it would break backward compatibility.
So JS is truly rotten at the core and can not be fixed in principle.
That doesn't mean that I also hate JS devs. I pity your poor souls for having to deal with this abomination of a language.
It's likely that I fogot to mention many other problems with JS, so feel free to extend the list in the comments :)
Marry Christmas!34 -
Integer range is 2,147,483,647. Facebook has 2.96B users. Facebook is the only company that graduated from int to unsigned int, which is 4,294,967,295.
And you're using bigint as an id for the “users” table. I just laugh.10 -
What's up with the meetings and schedules? If you involve 9 people for a 3 hour meeting, you're wasting 27 freaking hours and no it's not what standups mean. Startups! ugh2
-
Why do you invite devs to a meeting if your going to ignore all the points citing it's a business decision?1
-
Just saw BigInt in chrome 67. Seems very useful in currency calculations. Searched on Mozilla, found nothing. Is it a V8 only thing, or another browser will catch up soon? Anyone have any idea? 🤔9
-
Has your thumb ever touched the trackpad inadvertently changing the line selection on the screen and your train of typing comes halt only after few words?!?1
-
Taps on shoulder.
Seriously, there's a reason I am wearing this big ass headphones, set status to do not disturb and put a sticky saying I'm busy.1 -
Is it too much to ask for a tech lead who knows how to code a web app and knows SQL? We're a SaaS startup btw1