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 - "types"
-
Latest update for the devRant app has some new twists: 1) collabs are now free for all 2) black theme is available for devRant++ members 3) when posting a rant we now ask for you to classify the rant as a specific type of post. RIP !rant :/ To be clear, this isn't meant to say that any posted content needs to be different than what everyone is doing already, just that the extra categorization helps all parties who like or dislike different types of content. This categorization will help better inform the algo and allow for advanced filtering which is coming soon.
If you have any questions, comments or concerns please ask me or @dfox in this thread.65 -
I need new friends.
Me: Just Google it..
Friend:
Opens browser (home page is some ad-riddled crap)
Types "Google" in address bar
(Google search page opens)
Clicks first result (google.com)
Types search query.
Me: 😶🔫10 -
There are 11 types of people: those who understand binary, those who don't, and those who are tired of seeing this binary joke.6
-
Me: *types "recursion" into google*
Google: Did you mean: recursion
Me: *clicks the suggestion, even tho I see no error*
Google: Did you mean: recursion
Me: ohh I see. I feel stupid7 -
Mom:What are you studying?
Me:Types of SQL Injection
Mom:U r in engineering?Right?So why are u studying types of Injections?
Me:🤦♂️😂😂10 -
There are 10 types of people in the world: those who understand binary, those who don't, and those who weren't expecting a base-3 joke!2
-
Two types of people in this world.
Those who press Ctrl+Shift+Esc.
Those who press Ctrl+Alt+Del and click on Task Manager.19 -
"There are different types of crack"
- My IT professor addressing software piracy and drugs at the same time2 -
Types first letter of password wrong...
[Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace] [Backspace]19 -
*me searching for jobs*
*types in 'junior backend developer'*
First result:
Junior Frontend Developer.
*big facepalm*
Yeah I understand that it might just be some kinda algorithm that filters on words or whatever but the irony was real!13 -
There are 10 types of people in the world: those who understand binary, those who don't and those who didn't realize the joke was in base three.5
-
There are 10 types of people in the world. Those who understand binary and those who have regular sex.3
-
There are only 1.9999999999999998 types of devs in the world: those who understand floating point arithmetic, and those who use it.4
-
*opens new tab*
*types 'google' into URL bar*
...is navigated to google home page...
*proceeds to enter desired query into the same URL bar*5 -
There are two types of people :
1. People who do backup
2. People who will start doing backup
Yesterday I advanced from type 2 to type 1 :-/9 -
Here I am, 'Junior' in my title and on my paycheck, training my 'Senior' colleague on the concept of variable types.7
-
There are 2 types of insulting
Normal: You are stupid
Ultra: You are so stupid you put b and h1 tags inside your title tag. (This one hurts)1 -
5 Types Of Programmers
1.The duct tape programmer
The code may not be pretty, but damnit, it works!
This guy is the foundation of your company. When something goes wrong he will fix it fast and in a way that won’t break again. Of course he doesn’t care about how it looks, ease of use, or any of those other trivial concerns, but he will make it happen, without a bunch of talk or time-wasting nonsense. The best way to use this person is to point at a problem and walk away.
2.The OCD perfectionist programmer
You want to do what to my code?
This guy doesn’t care about your deadlines or budgets, those are insignificant when compared to the art form that is programming. When you do finally receive the finished product you will have no option but submit to the stunning glory and radiant beauty of perfectly formatted, no, perfectly beautiful code, that is so efficient that anything you would want to do to it would do nothing but defame a masterpiece. He is the only one qualified to work on his code.
3.The anti-programming programmer
I’m a programmer, damnit. I don’t write code.
His world has one simple truth; writing code is bad. If you have to write something then you’re doing it wrong. Someone else has already done the work so just use their code. He will tell you how much faster this development practice is, even though he takes as long or longer than the other programmers. But when you get the project it will only be 20 lines of actual code and will be very easy to read. It may not be very fast, efficient, or forward-compatible, but it will be done with the least effort required.
4.The half-assed programmer
What do you want? It works doesn’t it?
The guy who couldn’t care less about quality, that’s someone elses job. He accomplishes the tasks that he’s asked to do, quickly. You may not like his work, the other programmers hate it, but management and the clients love it. As much pain as he will cause you in the future, he is single-handedly keeping your deadlines so you can’t scoff at it (no matter how much you want to).
5.The theoretical programmer
Well, that’s a possibility, but in practice this might be a better alternative.
This guy is more interested the options than what should be done. He will spend 80% of his time staring blankly at his computer thinking up ways to accomplish a task, 15% of his time complaining about unreasonable deadlines, 4% of his time refining the options, and 1% of his time writing code. When you receive the final work it will always be accompanied by the phrase “if I had more time I could have done this the right way”.
What type of programmer are you?
Source: www.stevebenner.com16 -
There are 10 types of people in this world.
Those who understand ternary , those who don't and those who thought this was going to be a binary joke.4 -
There are several types of programmers.
1) i ++
2) i += 1
3) i = i + 1
And the worst two:
4) i -= -1
5) i = i - -121 -
There are 10 types of people in the world. Those who understand binary and those who have regular sex.7
-
I asked her to open her Gmail account, this is what she did.
types www...... opens Google
types G mail (yes, with uppercase g and space between g and mail)
and then clicked on gmail in search result
We never met again.
¯\_(ツ)_/¯2 -
aslkfjasf. i've spent 12 hours today (and lots more over the past two days) trying to reproduce a bug that my [sort of] coworker insists is present. I haven't seen any proof of it anywhere, let alone steps to reproduce it.
I've poured through the code, following all of its tangled noodles of madness from start to fuck-this-shit. I've read and reread the pile of demon excrement so many times i can still read the code when i close my eyes. so. not. kidding.
anyway, the coworker person is getting mad because i haven't fixed the bug after days, and haven't even reproduced it yet. This feature is already taking way too fucking long so I totally don't blame him. but urghh it's like trying to unwind a string someone tied into a tight little ball of knots because they were bored.
but i just figured out why I haven't been able to reproduce it.
the stupid fucking unreliable dipshit ex-"i'm a rockstar and my code rocks"-CTO buffoon (aka API Guy, aka the `a=b if a!=b`loody pointless waste of mixed spaces and tabs) that wrote the original APIs ... 'kay, i need to stop for breath.
The dumbfuck wrote the APIs (which I based the new ones on mostly wholesale because wtf messy?), but he never implemented a very fucking important feature for a specific merchant type. It works for literally every type except the (soon-to-be) most common one. and it just so happens that i need that very specific feature to reproduce this bug.
Why is that one specific merchant type handled so differently? No fucking idea.
But exactly how they're handled differently is why I'm so fking pissed off. It's his error checking. (Some) of his functions return different object types (hash, database object, string, nullable bool, ...) depending on what happened. like, when creating a new gift, it (eventually...) either returns a new Gift object or a string error basically saying "ahhh everything's broken again!" -- which is never displayed, compared against, or recorded anywhere, ofc. Here, the API expects a Hash. That particular function call *always* returns a Hash, no matter what happens in the myriad, twisting, and interwoven branches the code could take. So the check is completely pointless.
EXCEPT. if an object associated with another object associated with the passed object (yep) has a type of 8. in which case, one of the methods in the chain returns a PrintQueue that gets passed back up the call stack. implicitly, and nested three levels in. ofc.
And if the API doesn't get its precious Hash, it exclaims that the merchant itself is broken, and tells the user to contact support. despite, you know, the PrintQueue showing that everything worked perfectly. In fact, that merchant's printer will be happily printing away in the background.
All because type checking is this guy's preferred method of detecting errors. (Raise? what's that? OOP? Nah, let's do diverging splintered-monolithic with some Ruby objects thrown in.)
just.
what the crap.
people should keep their mental diarrhea away from their keyboards.
Anyway. the summary of this long-winded, exhaustion-fueled tirade is that our second-most-loved feature doesn't work on our second-most-common merchant type.
and ofc that was the type of merchant i've been testing on. for days. while having both a [semi] coworker and my boss growing increasingly angry at me for my lack of progress.
It's also a huge feature, and the boss doesn't understand that. (can't or won't, idk)
So.
yep.
that's been my week.
...... WHAT A FUCKING BUFFOON!rant sheogorath's spaghetti erroneous error management vomit on her sweater already your face is an anti-pattern dipshit api guy two types bad four types good root swears oh my3 -
When you're typing "make sure noone else is ..."
but your fingers automatically types
"else if"
Damaged beyond repair1 -
Coworker 1: Ugh, what name should I give this variable? Any idea?
Coworker 2: Doesn't matter that much. Just give it a name.
Coworker 1: ** Types in "albert" **7 -
That awkward moment, when you after several hours of debugging finds the error, types git blame and your own name comes up.3
-
Coworker: I give up! Please help me!
Me: What's up?
C: Take a look at this. I have this function here that gets the tab index and I'm passing it to the Tabs component over there. I'm logging the index and as you can see it's 3, but the Tabs component isn't working. However if I replace the function call with a 3 it works!
Coworker 2: While you were explaining all that, shellbug already thought about at least 3 reasons why that isn't working.
Me: **sighs** Of what type is the value that function is returning?
C: **stares at me for a few seconds** It's a number.
Me: Are you sure?
C: Well, it's returning 3.
Me: Please do a typeof.
It was string.8 -
You know that guy that types www.google.com in the omnibox in the Chrome browser. I work with him... 😑8
-
Scripting languages, markup languages, database querying languages, etc. Are all types of programming languages. A program is a set of instructions for a computer to follow.
HTML is a programming language, fight me.48 -
Get really motivated to make something at 1am.
Pulls out laptop, earphones go in.
Types first line of code, girlfriend wakes up, complains about the lowest screen brightness with dark theme being too bright.
Motivation killed.6 -
There are two types of people on DevRant:
Those who add tags
and
those who give a fuck about them.3 -
There are two types of people in this world: those who understand recursion and those who don’t understand that there are two types of people in this world
-
...spent ~45 minutes on devrant
closes tab after gaining consciousness.
...
...
...
opens new tab
types "de"
back on devrant -
Working on a database priorly designed and maintained by some private agency.
The fuck I'm dealing with!
Boolean values stored as 'TRUE'/'FALSE'. It's varchar, my dudes.
There are no FK relations. Just the values of IDs in a column.
There are no indexes, all on just the PKs, nothing else. Nothing.
Null, what's that? I'm dealing with 'N/A', my dudes.
Unique key, what's that? The table which stores users has all the fields nullable. Email is not unique ( even though that's the required behaviour).
ALL the numeric values are stored as varchar. Varchar, my dudes. Varchar. '1', '1.1'
And finally, the good ole, 1 table to rule them all. Normalisation, fuck that.
And what's the root cause of all this? My PM used to hand them Excel sheets she maintains on her local system. FTW. I don't have a enough explanations.7 -
I mixed coffee types today... My eye is twitching and my office is spotless... And I started a program to monitor all our apps at all times... We'll see if it works in the morning 😂9
-
There are two types of people. Those who can get out of vim and those who ^c^z^z:w:w:q:adkjkasjd▲▼:q1:q!7
-
This gave me a good laugh. 😁
Wouldn't let me upload the entire image so I cropped it. Here's the link to the whole thing.
https://toggl.com/worst-client-type...1 -
There are two types of coders: those who shorten function to fun, and those who shorten function to func.17
-
I could’ve cleaned it up but we all know desks aren’t naturally as clean as people make them for these types of photos...3
-
There are two types of people in my comp sci class.
1. People who use git
2. People who drop out because noone wants to collab with them7 -
Cleaned up my Facebook timeline.. I actually posted a “there are 10 types of people..” joke back in 2011..
Shame on me...4 -
There are 10 types of person in this world: The ones who have read this joke before, and the ones who have never accessed the internet.3
-
The guy who was apparently teaching me. "Do you Google? Use Google, it's the best way to learn new tricks"
Opens browser, types google.com in the browser (firefox) searchbar and then opens Google homepage and then searches for content.18 -
>Instructions in the manual -
1. Install Python 3.5
2. After installation is complete, open a new terminal/command prompt window and run 'pip install pandas'
3. Done!
>Client
1. Installs Python 3.7.2
2. Types Python in command prompt, types 'pip install pandas' there
3. Raises a hue and cry over the program not working because the instructions were not clear
Smfh...1 -
I cringe everytime I see improperly formatted code -_-
Me: *sees no spaces between function blocks so I format it myself*
Classmate: *Happily types code with no spaces between lines or comments and overwrites what I did*
Me: Seriously?!8 -
found this website that helps me to concentrate while coding, https://noisli.com
Different types of background sounds choose according to mood3 -
Was playing Call of Duty online and after the match, this kid types "git good" in the chat.
Was impressed kids are starting young these days!2 -
Q: Tell me what date types do you know.
A: Excuse me!? Date types?
Q: Eh, I see you didn't get it...12 -
Why yes, it makes total sense for a variable called `$connectionString` to only accept either booleans or integers ... wat
Also beware the beauty on how well that names conveys the variable's intent.
FML3 -
Please understand the three types of brackets are parenthesis,curly brackets and square brackets
Respect the parenthesis! They aren't "ROUND BRACKETS"13 -
sudo pacman -S [package]
Sudo: password for algo:
*Types y to accept package install*
Password incorrect, try again3 -
I hate how entitled young tech workers are, but I also hate that my office only has three different types of milk.8
-
I just realised that devRant is a SOCIAL NETWORK. Me + being social = IncompatibleOperandsError:
Types 'Programmer' and 'Extrovert' cannot be combined.2 -
So, I got this review for my app which allows users to send files of all types via Facebook messenger, WhatsApp etc (IM apps) .....
"USERS"
#facepalm4 -
Random almost tech guy at workspace
1. Opens Google Chrome
2.Types... www.google.co.in in the OMNIBOX
3.Hits enter
4.Types search query.
God just committed suicide meanwhile.4 -
Mystery of the day: why some developers can't decide on a code style. Let's count:
- two types of brace placements
- three types of assignment spacing (with, without spaces, and aligned with extra space)
- two types of clause spacing
- mixed case in the first char of a variable for no apparent reason(?)
- bonus: unneeded parentheses
At least in ONE thing the person was consistent: no space between parameters!
WHY GOD.13 -
There are two types of programming languages, one that everybody hates and one that nobody uses.
Finally understood this after learning Haskell.1 -
MFW I have to deal with an array that has various objects of many types and it's not easily debuggable because the backend is multithreaded.6
-
Why do they send flat colour logos as fucking jpegs? Indexed png or gif unless you like the artifacting on your shit logo, dickbrain.4
-
Ocaml, the strictest language when it comes to types i have ever seen, parses a string to a general json object in around 5 loc.
Take notes java.12 -
There are two types of people in this world. Those who count from 0 to n - 1 and those who count from 1 to n.
Which one are you?6 -
Hi.
Programming language types are only two:
- Assembly
- All the rest
I'm destroyed, my brain is melted.
Assembly is hate and love at the same time.2 -
ah yes, i'm a VERY kinky Java dev
my favorite NSFW act is naming my java variables shorter than their data types11 -
It's a lot of fun when the data types written in the schema doesn't match the actual data types upon testing. It's like you can't trust anything these days.
-
There are two types of eXtensible people
<UserInfo type="address">101 Terrace Road</UserInfo>
And
<Address>101 Terrace Road</Address>2 -
There are two types of people I can't trust: Those who wear short-sleeved shirts and those who don't turn off their ringtone in public.8
-
...5 minutes ago per ssh on the productivity server...
"ok, let's delete this old test directory ..."
*types rm -r www*
....*thinking* ...*realising* ... "FUUUUUCK!!11"
*quickly types git clone gitadress"
*checks website* "phew!"1 -
Extensible event system design in c++ - but also includes built-in static types for uniformity and performance.
Happy with it!14 -
If you don't know, there are 2 types of bug fixes:
Hot Fix - Patch files directly on the production
Quick Fix - Deploy fix on production and then test it4 -
'17:15' < '09:45' === false
'5:15pm' < '9:45am' === true
I either need a language with a stronger type system, or coworkers who understand that comparing raw time input in validation is a bad idea 😡6 -
"If we need to deprioritize something that's fine, as long as it all still gets done by the time we agreed on."
Gotta love product management types.4 -
Unreal Engine adventures:
me: So ok, I need a map from int to String
Unreal: ya but it's called TMap, FCompactPoseBoneIndex and FName.
me: ..uhhh ok whatever
...
me: ok for debugging, please print this
Unreal: FName is not a string
me: k. Fname.toString().
Unreal: ya but it aint a TChar array now
...
IT'S A FKING STRING JUST PRINT IT. And the other guy is still an int with extra steps! Come the fuck on now....
I mean, honestly, a logging function that cannot print a fking FString? sigh...
Man, I miss python and blender...8 -
Two types of people in this world.
Those who read "ping" as a command.
And those who read it as a sound. 😂3 -
curl http://devrant.io/api/rants/text |grep -vi "hack facebook"|grep -vi "tcp joke"|grep -vi "udp joke"|grep -vi "app idea"|grep -vi "2 types of people"4
-
Today on "You're wasting your life by not writing typescript"
Union types
The value with redux, among other things, is incredible3 -
When you write over a thousand lines of PHP to create three different types of user feeds and your friend demos the site and just asks "is that it, just a few pages?" -.-
-
There are 2 types of bosses:
Type 1: Who think you are avoiding work
Type 2: Who are not your bosses -
Putt's Law: Technology is dominated by two types of people: Those who understand what they do not manage. Those who manage what they do not understand.2
-
There are several categories of software development that I know of: front-end, back-end, full-stack, game, mobile, embedded etc., but what is the term for developing libraries and/or CLI utilities in languages like C++, Python, Go etc. that are not related with any of the above? System development doesn't seem wrong but I was wondering what's the correct term for it in the industry because I need to mention it in my resume and on LinkedIn.
Also, if there's a lesser-known category that you work on then do tell us all about it 🙂5 -
Constructors, generics, collections, package versioning, immutability, syntactic sugar, option types? Meh.
Unused imports? NEVER!
#golang -
Coding is one of the only types of work where you can spend an entire day focused and working hard and actually come away in a worse state than you were before you started.1
-
protip for my colleague: putting everything in the users controller and views isn't the proper way to use an mvc framework....
...and duplicating - no, triplicating everything for different types of users doesn't make it any better -
While taking the basic JS interview:
Me: what are the different data types in JavaScript
Candidate: We have a 'var' keyword
Me: :|2 -
I hate debugging document oriented data types..
Can't even sysout easily like primitive data types.
Need a debugging duck.1 -
Someone created a category on Trello named Backlog
Can someone explain me what backlog is and what types of cards am i supposed to create in Backlog category7 -
Me(backend developer tries to be full stack): What type of font should I use for heading and body?
Client: Something like comic sans.
Me: should I use comic sans then?
Client: No this font is very informal though.
Me(thinking): All font seems similar to me.
After two hours of searching
Me: I think comic sans is best for you.
Client: No...
(Most difficult part of frontend is choosing appropriate font)4 -
It's kind of embarrassing not to support random number generation, but not having float types?
Solidity, kill yourself.9 -
There are 2 types of developers. The hot drink ones ☕️ and the cold drink ones(CocaCola, Redbull...). Which one are you?15
-
There are 10 types of people in the world: those who understand ternary, those who don't and those who were expecting the binary joke ;)
-
How can you explain to a senior dev, with more than 15 years of experience, that for money calculation (like VAT) you can't use the fucking floating types?!?!?!?!?9
-
There are 10 types of people in tue world. those who think his is a ternary joke, those who can extrapolate from incomplete information...2
-
Helping out a friend how to code, and he said:
"Can't we just use a string? An array is just like a string anyway."
We were looking at some setting types in Visual Studio. -
Am I the only one who forgets to declare data types in Java after months of coding in only Ruby and Python? 😵1
-
There's two types of people in this world, those who don't like regex, and magical otherworldly beings, luckily for me, I'm the latter
-
I'm boutta make a scripting language with classes, trait generics AND two kinds of value types
Call me Mr. Dangerous 😎14 -
Algorithms teacher: I don't know how to work this thing. (computer) ... Students constantly have to go up front and help him do basic computer stuff. Even worse, he types with two fingers! Why education system must you suck so bad???6
-
I love python, but a short way to enforce interfaces on arguments would be great. I mean, this is the third function where type checking is longer than the actual body.1
-
I love Ada, it seems to be a pretty unpopular opinion, and maybe I’m biased because the best organized project I’ve worked on happened to be in Ada, but that’s association not causation.
However, the lack of multi-line comments in a language made to have specific custom type compliance seems like a fairly decent oversight. Wouldn’t you expect the authors to want to explain about their types?
The other thing that is a draw back about Ada is searching for help. I love the Americans with Disabilities Act as much as anybody, but but somehow “Ada language types” will still bring up ADA info. (Yes “-disability” helps but it’s an extra step)5 -
Notepad++. It's good for editing multiple types of files with syntax highlighting. Also doubles as a place for jotting down notes/thoughts without worrying about saving them.1
-
!Rant
Xcode 9 is now officially out, will I be writing new types of rants OR will I be saying sorry to Apple for all those Xcode hate rants I wrote.
Tomorrow is a new day :)4 -
Reading about how C# types from xml schema xsd's are converted.
Seeing a few integer conversions I don't expect. -
Client: I'm trying to upload an image in Cms but it won't allow it.
Me: let me try, (I successfully upload a jpeg). No problem here, could you send me the file?
Client sends someshitfile.jpeg
Check system, allowable file types .jpg, gif, png.
What piece of shit software generates .jpeg instead of .jpg?
Added to list of allowable file types.3 -
There are only 10 types of people in the world:
Those that understand binary and those that don't.1 -
There's two types of people:
if ($foo == $bar) {
// Something...
}
AND
if($foo==$bar)
{
// Something...
}11 -
Hello C++ / C programmers. I've noticed my professor putting the ASCII code of a character into an int instead of just using a char to store it. When he does this he's not doing math or anything with them, so is there any advantage to it? My TA mentioned something about memory alignment, but I'm not experienced enough to know how something being aligned differently in memory would help or hurt a program.5
-
Wrote a script to sort my download folder or any other folder into folders according to file types.
https://github.com/gauravat16/...1 -
There is someone behind me who literally types so hard that I think they keyboard will break...
Pressing every key as hard as you can won't help ffs....1 -
Am I the only one who's so fkin fond of the ES6 function declaration of (params) => {//code} over other declaration types?2
-
!dev
So, this lecturer had a consistent set of question types every fucking year for the past 5 or so years. But now, even while covid and all the other shit that has been happening, he decides to change his question types, all of which used to be calculations.
I mean, really, which dumbass told him it's a good idea?
Aaaaaaauuuuuurghhhhhh 😡😤😠😫😩😖😭😡💀 I'm gonna fail 😭3 -
I wonder if this latest devRant update that includes Rant Types truly is going to be the end of one of our longtime staple identifiers: !rant2
-
One of my colleagues is ex-military.
As much as I respect these guys for their service, I have never experienced so much stubborn insubordination in my entire career.
Anybody else deal with these types?3 -
Someone is going to rant about me soon...
There are two types of debugging for me:
- Calm
- Not that calm!!
So the guy I was helping out handed me a stress ball...4 -
What data types do they use down in the sewers Pennywise.
They're all floats Georgie...they're allllllllll floats.
Do you know what my favorite data structure is Georgie? Stacks. You know why? Because they Pop! Pop! Pop!1 -
I've recently switched environments from c++ to python. I've noticed that I really miss types in python. If I know a function type, param types and so on, I can debug a lot faster.
So, my question: what are the benefits of soft typing? It seems more stupid the more I use it.8 -
currentRant.GetType() != typeof(Rant)
I know a lot of us developer types have side projects to, well, keep us sane really!
But how many of your side projects actually make you a bit of extra cash on the side?4 -
Types google in browser, google gives search result for "google", clicks that, then main google page opens( search bar in center) , here he starts the actual query2
-
These people belong in a specific kind of hell....
I have to bodge several thousand lines of code where this is the standard....
Can't wait till we begin coding the replacement :D1 -
Credit goes to a friend. Would tag him, but I don’t know his ID on here offhand...
=======
What data types do they use down in the sewers Pennywise?
Floats Georgie...they're alllllllll floats. -
Hey guys, I'll be starting my oscp/pwk course soon, any suggestions as to what should I study beforehand or types of attacks I should practice?
Thanks2 -
I need cyclic data structures but algebraic data types are my first love and tying the knot is impossible with the eagerness F# has. The interfaces and classes I abandoned C# for are the ones I am now writing in F#. What a job well done on my part in avoiding mutability :(6
-
There are 10 types of people that understand binary - those that do and then those that have varying levels of misunderstanding on a scale of 1 - 9.1
-
Mom: You can never find anything
Me: ctrl+f "Bet you I can."
Me: Types what I'm looking for.
Computer: Found 1 of 1000
Me: ....you win this one... -
$ yarn add leftpad @types/left-pad
It was faster than reinventing the wheel and I needed that functionality :> -
Some compilers give an error message on forgotten type casting. From that it shows good typing style casting. So you also avoid clerical errors that can lead to the program crash in the worst case. With some types it is also necessary to perform type casting comma on others Types, however, do this automatically for the compiler.
In short:Type casting is used to prevent mistakes.
An example of such an error would be:
#include <stdio.h>
#include <stdlib.h>
int main ()
{
int * ptr = malloc (10*sizeof (int))+1;
free(ptr-1);
return 0;
}
By default, one tries to access the second element of the requested memory. However, this is not possible, since pointer calculation (+,-) does not work for a void pointer.
The improved example would be:
int * ptr = ((int *) malloc (10*sizeof (int)))+1;
Here, typecasting is done beforehand and this turns the void pointer into its int pointer and pointer calculation can be applied. Note: If instead of error "no output" is displayed on the sololearn C compiler try another compiler.1 -
$ Login: phoomparin
*types in password*
Incorrect Password.
*rushes to type user and passwd again*
Password shows in cleartext...3 -
I know I am merely a mediocre Programmer, but do you really have to sit right next to me, commenting on every single line I types?3
-
Created a CRM for the business which integrated every database in the network, SQL Server, Postgres, Firebird and MySql types. Evolved to writing a series of procedures which replaced a staff members full job though..
-
I find it very interesting how many types of primes there are.
This kind of prime number, I think very nice!
What types of primes do you like?
https://sololearn.com/learn/12365/...6 -
Why should "Trashcan" be a generic abstract class?
Because otherwhise you could throw all types of trash into the same bucket!2 -
I to myself:
"I do not really need to add type annotations here, it is just the small coding part of my thesis!"
(about 500 LOC)
Later...
"Hmm, lets just activate flow and get the typedefs of some packages from flowtyped..."
Found 5 Errors!
Dang! -
I don't know what to do because union and sum types both totally suck but I need them for my scripting language
Union types are fun and intuitive because they can be used with type refinement but they're not hierarchical thus bad for generics.
Sum types (or tagged unions) are great because they're hierarchical and can be nested properly but they need ugly type matching constructs.
The positive thing is I'm not making a systems language anymore so I only wanna jump of a bridge every second day5 -
One thing I hate about receiving secured passwords on secured channels like Signal is the font. Really grinds my gears that I can't tell if that's an l (lowercase L) or an I (uppercase i) and more so with 0 and O. Uuuugghh2
-
Dev on my team likes to declare his variables types System.Int32 instead of int. Drives me crazy!!!2
-
My graph based programming language. It'll feature graphs as data types!... whenever I finish it. 😓2
-
FUCK. I'M DONE WITH THIS SHIT. CAN'T GET MY HEAD AROUND THIS.
My intelligence is limited to Java & Python.
NO VARIABLES, RETURN TYPES..NOTHING! JUST FUCKING MAGIC! AND ALSO, FUCK EMACS.undefined i should probably kill myself can't understand shit stupid me fucksell shit emacs fucking haskell and gofer2 -
The code I'm working in always has problems with stuff like "Object obj=new Object();" or "List stuff=new List;" without type specification, but now I found the summit: "private void methodName(Type parameter) *throws Exception*"
-
TypeScript types are fun. Problem is: the check is compile-time only.
I just wasted an hour not understanding that an integer passed from command line was actually getting transmitted as a string. The library, where that value landed as parameter, happily ignored the non-matching type and worked as if the value has not been set at all!
Dear library maintainer, please enforce your parameter types! Throw an error right into my face saying I shall not pass anything but an integer! Don't just continue to work to produce false output correctly. Thank you!
Dear TypeScript, I really want type checks on runtime.
Dear JavaScript: Why did you ever think loose types were a good idea? (And I say that as a PHP developer as well.)2 -
OMFG, so I had a quick exam about Java but disagree with 2 answers. So I just want to know what you would have answered :
What does "String[] mytab" do ?
What are types for ?9 -
Spent about an hour and a half getting an NPE. Cleaned the project, rebuilt, restarted IntelliJ, danced the ancient code dance... Nothing.
Clicked Run one more time and everything worked. TF was that about? I HATE these types of bugs!!1 -
Is anyone frustrated with typescript or am I just doing it wrong? Like the types are never matched. Drill down the types in every prop. It just seems very extra.
Newbie in TS2 -
What do you think of personality types and which do you think is the most prevalent in the developer community?4
-
There are 10 types of people in this world.
Those who understand ternary, those who don't and those who thought this was going to be a binary joke.1 -
"The data types ntext and ntext are incompatible in the equal to operator."
Thanks SQL Server, really helpful.7 -
Hello, does anybody know a good templating library like Liquid for .NET?
The problem is that it has to work well with F# and immutable types.5 -
I guess I must have hit a nerve for something as stupid as PHP to say "Unsupported operand types" LoL
-
Well this changes with time and types of projects but for now my favourite is atom especially with Babel for writing JSX for React
-
1. Collecting old money from diffrent countrys around the world.
2. I'm obsessed with The AsoIaf books.
3. I got a list of 101 diffrent types of beer to drink before I die, Im at 30 something. -
There are 10(binary...) types of people.
After 10 years of coding I'm still struggling to decide which one I should use..10 -
Practice by coding solutions for different types of problems. http://freecodecamp.com got good challenges and a great community (in my experience)
-
Is there actually a proper way to do Math in Javascript, without parsing every value to avoid something like
"1" + 3 = 13 ?rant trying to learn proper math start to hate dynamic var types wtf is going on with that language javascript advice needed11 -
Ok so Sonar had a rule that you should not throw Exception. Rather you should always throw a specific types or catch them...
I don't understand this. So if the underlying function throws 10 different types of exceptions then the calling function should also declare it throws 10 different types rather than just Exception?
Assuming it isn't in a position to handle them?2 -
Indian developer.
Trying to get maps api Street view to work.
30 mins later. Still no progress.
Opens google, and types "Street view India".
And what does he see?4 -
Compiled and type checked JavaScript! Yes, types are guaranteed at compile and run time! JS++: www.onux.com/jspp/
Yay! 😀2 -
There are two types of coders out there:
int main() {
// code here
}
int main()
{
// code here
}
Which one are you?8 -
Which one of these job types is the easiest to get into(interview and HR-wise, not professionally)?
- Full Stack Developer
- Android Developer
- Backend Developer
- Devops Engineer
I'm a security/sysadmin who wants to move to dev and have some skills and experience in each of them. Do you think they will take that into account?5 -
🐱💻 2 TYPES OF EXPRESSION AFTER SEEING SOMEONE CODE :
1- What the fuck is that ? 😨😨😨
2- But I didn't know it ! 😏😏😏2 -
That moment when somebody types on your Macbook Pro as if he was typing on a typewriter and you feel like saying 'Caveman go back to the stone age' but you can't.2
-
Things will keep going like they are now, only faster, until some Malthusian Event (natural or cyber) drops everything to a few compiled languages, a web stack, a handful of frameworks, and a couple of kernel types.
-
There are two types of developers in the world.
Type 1:
if(isLoggedIn) {
}
Type 2:
if(isLoggedIn)
{
}
Be in Type 1, you can't save world but at least you can save one line in file.2 -
I have this love-hate relationship with strong typing.
Right now, the types are shared between:
Postgres <-> DB Data Models <-> GraphQL <-> TypeScript <-> MobX-State-Tree2 -
I am getting warning from Drupal
"The following token types do not have any tokens defined:
$info['tokens']['subscription']"
Damm yuum -
What are types of load issues occurs in a Linux (Cent os) server and it is troubleshooting methods???15
-
There's two types of developer.
Type 1 :
def function() {
// code
}
Type 2 :
def function()
{
//code
}
So, which one are you? I won't judge if you're not type 1.4 -
Old but gold: "There are 10 types of people in this world. Those who understand binary and those who don't."
-
Why is it perfectly acceptable to not put Exception information in documentation?
I know we're supposed to test our code and Exception types are acquired that way, but I really believe stating just a few common Exception types in documentation would cure the curse of;
>> except Exception as E:
Which is not much use to anyone.1 -
In a dynamically/loosely typed lang, how good of a solution is to align the type to whatever is on the left of the operator
Example:
string + string = string
num + num = num
string + num = string
num + string = num or conversion error18 -
`const someNumber: int = 1337;`
Why doesn't it work?
Gnarf!
`const someNumber: number = 1337;`
I stopped counting how often I made that typo /o\ My phpdoc is still in my muscle memory. -
So for a question on Codeforces, I got the basic logic right, but for one particular test case, the input is a huge number of 250 digits. But the most unsigned long long int can handle is 19 digits. So I used double instead of int, but that makes me lose precision. And I also cannot use the % operator (modulo) which is int only. How do I get around this ?2
-
i understand way too little about web data types. while having to store a shitload of data in cookies (sorry for that, no localstorage for local sites, insensitive though) i was so proud of compressing strings with bitshifting only to find out that uriencoding bloats chinese characters massively up. fml4
-
I’ve been on a couple of projects like this. Not to this magnitude, but similar types of communication and tech problems.
https://theregister.co.uk/2019/04/... -
Acumatica, left my last job because of that crap. Their implementation of a query language ('BQL') using generic types is horrendous
-
Complete a graphical Demo of a gun shooting. Maybe implement different types of guns & the bullets associated with those guns. =)
-
Fucking encoding types everywhere, spending nearly half of the day with guessing which encoding type is correct for some freaking files 😑