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 - "naming"
-
The Linux kernel team working on the Intel bug considered naming their fix:
Forcefully Unmap Complete Kernel With Interrupt Trampolines, aka FUCKWIT.
😂😂😂1 -
Just finished writing a script with all the classes and variables named after the characters from Sherlock Holmes. I regret nothing.7
-
"There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors." - Phil Karlton3
-
OH MY GOD
WHO NAMES A CONFERENCE ROOM AFTER AN -ADDRESS-??
At my new job, we had all day training on Friday. It was emphasized many times that we should not be late. I look at the meeting invite many times, and it says [123 Fake], with Fake being a Very Well Known Street, and I see on Google Maps that there's an office building there. Great, we must have an off-site training facility to help our clients become certified in our product. It doesn't say which floor, but I assume the small space we have in that large office building will become evident once I check in with lobby security.
Friday morning comes, I get to the office building 20 minutes early, and try to check in. They've never heard of my company. Maybe there's a computer lab we rent out? No, they don't know anything about that. I don't have work email or slack set up on my phone yet, so who do I call? I try reception, no one answers. Eventually I call our customer support line.
I shouldn't be at 123 Fake St. I should be at the office. Because that's the name of the conference room!
YOU HAD ONE JOB, ROOM NAMER!
Last night my boyfriend and I tried to think of worse names for conference rooms. The only ones I could think of were "meeting canceled" (but with that, at least I would be in the correct fucking building!) or just naming every conference room "conference room". Here's the thing: there's not just one 123 Fake St room! There's two of them right next to each other! So you can easily show up and think, I remember I was supposed to be in this room, but which one?
And I'm not even the first person to make this mistake. CLIENTS have gone to the wrong building before because they get included on meeting invitations that include conference room names! WTF!
It's pretty common to have Chicago conference rooms named after neighborhoods, or iconic buildings, etc. But nobody is going to think, "meeting in Bucktown? I'll just wander around the neighborhood until I find people with laptops". It's obviously a conference room. BUT A FUCKING ADDRESS OF A NEARBY OFFICE BUILDING? It's not even an iconic of a building!
Names matter. I care a lot about names in code. I never realized it could apply to the physical world as well. So now I am on a mission to change the names of these Goddamm conference rooms so I'm the last person to be directed to the wrong fucking building.
OH, and I'm out $9 for a taxi ride and a pair of gloves that got lost in the taxi so that's GREAT.13 -
Variable naming at its best...
Took only 2 hours to notice the difference between leftToRight and lefttoRight11 -
At this point it's pretty much a matter of time before the English language runs out of words and JS framework developers resort to random strings for naming them.3
-
I might start naming our release tags as Kraken-x.x
That way on launch day I can legit order the team to RELEASE THE KRAKEN.2 -
PHP's lack of consistence in naming conventions with built-in functions. For example, str_split() and strlen().8
-
Remember when folders/files were named like this when you were young (or was it just me 😅):
- project.xyz
- project-better.xyz
- project-last.xyz
- project-last-last.xyz
- project-final.xyz
- ...12 -
Googled "prevent memory leaks in delphi".
Came across a library called TCondom.
Talk about naming your classes aptly.4 -
The hardest part of programming is not the inner workings of the chosen frameworks and tech.
It's the damn naming.
I will spend hours trying to figure out what to name things for sense and clarity and then a fraction of that time coding it together.
*me, staring out the window*
"Hey dude can you--"
"Ssshhh. I'm naming things."15 -
When you have trouble naming variables, begin writing the comment for what it should do and the name will come to you :)7
-
People should be careful when naming servers after Greek gods or planets.
Notifications like "URANUS will be offline this weekend" may occur.2 -
There are two hard problems in computer science: naming things, cache invalidation and off-by-1 errors4
-
Getting really sick of brand naming conventions these days, Youtube just suggested me a video called "Samsung Galaxy S20 Ultra vs iPhone 11 Pro Max!"
Like what are those, Transformer names? 🙄12 -
Don't be lazy when naming things. You yourself will be lost in all the a, b, c, ds, let alone your code reviewers.4
-
Proud dev moment : as I was following the variable naming conventions from my company, I got to name a variable "l_o_tr" 💪9
-
Remember guys, when naming your firstborn child you can cause a stack overflow in the system’s memory by naming it %5E2019F% allowing you to sideload unsigned external code and run DOOM1
-
We have this weird db naming convention requirement by the client all table names should be of 4 letters. And guess what somebody thought of naming a table 'ANUS'6
-
I was given a work to refactor one of my colleagues code and found that there was a variable named 'anal'. I was quite surprised seeing it as the colleague was a soft spoken and well behaved guy in office. After scratching my head for 15mins I came to know that he was storing analytics data in that variable. Hence the name! :-D8
-
Oh no, oooooh nononono
they dont delete the branches after a pull request
232 branches? hhhhhhhhhhhhhhhhhhhno
and look at that naming
im intimidated, i dont want to work in this environment. No. NO!7 -
Dear designer, if you're generating assets please make sure you're naming them right. And oh, get rid of that .DS_Store thing please.10
-
Deciding a domain or project name, got to be the next worst after naming variables and exposed method names14
-
There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.
-- Jeff Atwood5 -
Naming my psd file for the n-th time: superimportantrevisedfinal-final-draft.psd. I think it's time to move design stuff to a repo ffs.3
-
Found a "great" variable name while maintaining legacy code:
{
...
Report goodbye = Report::first($id);
goodbye->delete();
...
}
Goodbye report! 😂😂😂 -
Sometimes I don't give a dam naming my classes since I know not a lot of people will see this. At least I'll make a dev laugh!3
-
If naming classes, methods and variables in your (not english) native language seems like a good idea, please get another job.9
-
Have you ever been at that desperate point where you start naming your variable and functions into something like "pleaseWork"4
-
That moment you realise that naming classes by their XML data structure is not as practicle as you hoped it was... 🤔4
-
I get handed an API spec that has no naming convention followed for any of the JSON properties. Different for both GET and POST. I request fixes and get a "no budget" answer.
-
When I code for myself I do all the naming in German only. Mainly because that's how I can see directly if that stupid mess is done by me or the framework.9
-
Quick tip for naming stuff: learn some Dutch. Any random word is good for naming an app/website/project/whatever. Examples:
Turtle ----> Schildpad
Beach ---> Strand
Tonight ---> Vanavond
Tasty ---> Lekker
Sandwich ---> Boterham7 -
Even if interdimensional monsters are looking for you... never forget to naming your variables!
#Bob4 -
Confession time.
I mix naming styles in my code. Some variables will be camelcase, some will have underscores, some will be all lowercase.
Classes are always title case though. Anything else is barbaric.undefined sorry not sorry it's a real problem some variables feel camelcasey some variables feel underscorey it's worse in javascript for some reason4 -
According to my predecessor, naming variables is easy. You just hang a poster of the alphabet on the wall and start throwing darts. The letter you skewer is your next variable.
If you run out of letters, start again - but dual wield the darts1 -
I recently started naming my devices in a certain scheme:
Laptop - Sagittarius (central black hole in the milky way)
Server - Sirius (brightest star visible from Earth)
Pi - Centauri (closed star system to us)
Any iot devices would be named like unnamed planets (i.e. Centauri A, Centauri B, ...)
Do some of you have cool/interesting naming schemes for your devices?17 -
Programming challenges:
Easy: Hello World!
Medium: Matrix multiplication
Hard: Artificial intelligence
Impossible: Coming up with meaningful names for variables and scripts...2 -
Say hello to <name to be determined>.
Apparently it's tradition to ask for naming suggestions so let's hear em.13 -
Why do I have no problems writing code and designing databases, but draw a complete blank when trying to come up with a good database username for the code to use?3
-
When a senior developer changes your impeccable code and pushes their ugly indented lines with bad naming scheme without review.
-
There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.
This is really the stuff I have to deal on daily basis. -
Step by step here:
1. Choosing a stack
2. What to put where(folder structure)
3. Naming stuff(variables, classes etc etc)
4. Finish what I started.1 -
When one of your dev's can't keep his variable naming consistent, even within the same line. Throw in non-English comments, bad spelling and incorrect pluralization for good measure
string myVariable = THE_OTHER_VARABLE + AnotherDumbVariable
//This add the string for better working2 -
Losing 1 hour everytime I must name a class that create something.
- ThingGenerator ?
- ThingBuilder ?
- ThingCreator ?
- ThingFactory ?
- ThingCrafter ?
- ThingMaker ?
- Thinger ?
FFFUUUUUUUUUUUUUUUUUUUUU6 -
I'm planning on writing an open source (and much improved) version of my logger, but I'm stuck on picking a name :<
So, anyone have naming suggestions for a tagged and branching/nesting logging library? (ES6)
(I don't think "deforestation" is a good choice. sounds kinda bad.)19 -
Sometimes naming variables and classes. Because the name should be relevant, short and understandable. 😊2
-
Why is naming stuff so difficult? 🤬😡
Spent the last hour thinking of an appropriate name for an enum20 -
Today i found variable called "booleanValue". So it IS true, that there are two hard things in computer science: cache invalidation and naming things...3
-
Today I learned that the big-endian and little-endian naming comes from Gulliver's Travels, where Lilliputs argue over whether to break eggs on the little-end or big-end!3
-
What kind of variable conventions do you use?
timesincereseat
TimeSinceReseat
timeSinceReseat
TIMESINCERESEAT
TIME_SINCE_RESEAT
time_since_reseat
global{'tsr'} # so nobody can read it :)12 -
Quirks of.... PHP 😂😂😂😂
It's just a quirky language, you either love it or you hate it, or you hate it because you caught the bandwagon in town.
Weirdest quirk though, would have to be function naming conventions and order of arguments.
Shit be crazy at times but you get used to it.rant wk194 php naming things is hard consistent ordering would be a dream it's a love hate relationship1 -
Need
An
Awesome
Name
For
College
Coding
Group.
Please comment whatever comes to your mind that you think is AWESOME...60 -
At my first job, our employee email addresses followed a somewhat unusual naming convention: last name plus first initial, e.g. smithj@company.com for John Smith.
They were ultimately forced to change it, though, when they received a complaint from a new employee. His name? Tommy Shi...6 -
Today the Git for Windows updater asked if I wanted to let Git decide on the naming of my default branch... Hell no snowflakes!16
-
Could do with some dev input here.
Going to rename most of my projects before I start them up again just for some consistency amongst everything so...
Because I name my projects internally as a different tree for each milestone (1.0 is maple, 2.,0 is pine etc) I'm going to have my other stuff follow a tree related naming scheme, first up is my game engine/framework...
It's currently called the 'Mod Engine' but I have 3 idea's and want to know people opinions
- Woodsman Engine
- Lumberjack Engine
- Lumber Engine
Which is best do you think or can anyone think of any better ideas? :-320 -
When you're naming variables, it is not acceptable for them to be one character, especially when that character bares no relevance to the information it stores.
'f' is not a good variable name for an array of strings now, is it...9 -
When forced to make something in Access and VBA, the only motivation I find is naming the functions by my choice!2
-
ah yes, i'm a VERY kinky Java dev
my favorite NSFW act is naming my java variables shorter than their data types11 -
Parents - It’s so hard naming kids you know.
Me - At least it’s an one time job, try naming VARIABLES.6 -
When you accidentally thought Vue JS is Vivus JS and argue why would you need a SVG animator to compare with React. JS naming. God.1
-
Another gem from same co-worker who is a "Senior Developer". Unnecessary function that fills a dropdown box(?!) with numbers 1-100. I really really hate this guy.
Bonus: Best Practice Example of Naming Variables...4 -
Doing my internship now, and seems like I need to get used to naming files and other things properly again. No more 'that thing','stuff','important shit','that other thing' etc file names1
-
Shameless blog plug, but it does count as a rant 😅
Seriously folks, stop calling everything a service.
https://likelikeatemyshield.com/pos...15 -
Never know why you need to add vanilla to make vanilla. Oh wait, it's just crappy variable naming.3
-
When you spend so much time using PHP that you start naming variables with $ in other languages without releasing.
bool $haha = true;
if (haha) ...
haha is not defined.3 -
"There are only two hard things in Computer Science: cache invalidation, naming things, and off-by-one errors."
-
The hardest part of starting a new project is finding a name for it!! FFS && FML.
How do you all name your's?16 -
I started working at a software company two weeks ago. Today I learned that their web app only runs so smoothly because of a single JS function called specialSnowflakeHandler()2
-
I envy how many programmers can come with really cool unique names for their projects and i am here using random name generators and other stuff struggling for hours or even days just to know it's used for another unrelated project.4
-
When you spend 6 hours figuring out how to best encrypt/decrypt your unimportant website cookies just because you don't want people to see how bad you are at naming stuff :x
-
My new favourite commit message:
"All changes as of 18th Sept"
How tremendously useful? There I was looking to know what changes were made to enable a feature / service, thought I could look for that in the commit message, but no you've given me a much more efficient way of finding out.
I simply need to download the contents of your memory, find out what date you made a change, and then dig through the massive commit to find the piece of info I need.
Forget experience using Git features, managing merges, following Git flow, or even any other SCM ... how can people be so tick when it comes to recording what they've done.
Heres a little cheat sheet for those struggling:
- Commit message
Describe what you actually ****ing did. Don't tell me the date or the time, thankfully Git records those. Don't tell me the day of the week, if I need to know I can figure that out, just tell me what ... you ... did.
- Feature branch names
Now this is a tricky one. You might be surprised to know that this isn't in fact suppose to be whatever random adjective or noun popped into your head ... I know, I too was shocked. The purpose of this is to let other people know what new feature is being worked on in this branch.
- Reusing feature branches
Now I know you started it to add some unit tests, and naming it "testing" is sort of ok. But its actually not ok to name it testing when you add 3 unit tests ... then rip out and replace 60% of the business logic. Perhaps it would have been wiser to create a new feature branch, given you are now working on a new feature.2 -
in personal projects, it is really easy to tell when I'm horny. you will find variable names like
- hotVar
- sluttyVar
- FUCK_ME_VAR
15 minutes after that commit naming becomes
- var1 -
I bought my first digital assistent an echo dot3 two days ago, today I asked her the laws of robotics.
She started naming them in numerous order, starting at 0 😍6 -
Why is choosing a name for a new dev project so difficult? It seems 99% of names I think of have already been taken! Any suggestions?18
-
To all the grown up devs. Since you have had quite an experience of naming variables and side projects, did you find it easy to name your own child? 😃21
-
When variable naming should be policed... $is_not_checkout. WTF!! Even worse when seen in context.
If (!$is_not_checkout) {
// do something when on the checkout
}2 -
Picked up an older project which is in prod for 2 years now. I got a DB error related to a null in an array.
Proceed to check the front end(angular 1.5). Ended up in a 3000 lines file😫
What's worse the array was processed by multiple functions including 'filter' and 'filter2'. Naming conventions ftw😂 I don't know whether to laugh or cry 😂1 -
The two hardest things in software are naming things, cache invalidation, and avoiding off-by-one errors.2
-
Why the fuck someone uses ‘2’ instead of “to” in the C code, for naming. What are you, a child?. I have even seen “cache12store” meaning cache 1 to store...5
-
I suppose I should stop randomly naming variables and keep the randomness throughout the whole project
example: int psnhiwovb;
...I still have a project with such random names.2 -
Manifesto for class naming
Through my work as a professional developer, I have come to value:
ComponentMapper over ComponentMappingService
TransactionalSequencer over TransactionalSequencingService
PayrollCsvGenerator over PayrollCsvService
InternalTestRunCreator over InternalService
Please people, just call them what they are. Forget the noise words and fluff. To quote Morpheus:
“Stop trying to name me and NAME me” -
Python Question:
I'm learning Python and thought I'd start with web services since that's a concept I'm familiar with. My question is, in the attached code, am I doing it right when it comes to python? Cuz I feel like I'm following the same structure I follow in C# WebAPI and NodeJs
What about naming style? Is is the default for python? cuz I'm also using C# naming style :\
Thanks in advance ranters :)26 -
I may have watched too much Westworld; I'm naming JIRA tickets with "Analysis - what caused the failure..."2
-
Some Udemy courses are super cringe.
Can tell this guy isn't formally educated nor a professional programmer.
His code is so badly formatted and his naming conventions reeks of inexperience.
Spaghetti everywhere.4 -
hey do you know if there is a JavaScript libary for naming newly created files acording to user convention? Instead of "Unamed file".
Like [DATE]_[0000]_[NAME]_[SIZE].[Filetype] --> 20210708_0001_Pictureofme_1000x1000.jpg
There is a brand new service of the swiss post office that scans all your mail. But in the app it says only "unnamed document" for each new letter.
I'd like to suggest them, that you can set up a naming convention for each new pdf to my liking.
thank you 🙂3 -
Hated function naming in python, because some functions are like "dothisorthat", some are "do_this_or_that", some are "doThisOrThat", some are, I don't know, what new technique of naming would python devs invent in the near future. Honestly, these naming creeps me out4
-
I'm always afraid to put apostrophe characters when naming things online, even if it is just a photo album.1
-
Why do I have a hard time finding a new job when senior devs are not only changing the data model, but naming keys "key" and "value"!?
"Oh look, a SQL error."2 -
sensible naming stuff for readability? nah.. it's not like someone will read my code after i'm done here right?1
-
People that argue that anyone who doesn't understand their one or two letters long variable names are idiots.2
-
Got up to present my capstone project. Here's what it is about, heres how it works, here's a work around for an issue I couldn't figure out, etc... Everything went smooth until I was asked what the name of my project was. Fifteen weeks of development and I never came up with a name.
-
Friend asked me to redo her website, all the code is against the left margin... no div tags are named... all the naming is done in the css...3
-
onEnlightControllerActionPostDispatchBackendPluginManager
Who needs docs if you've got such speaking method names.2 -
People who mix different naming conventions are the worst. My MATLAB teacher mixes PascalCase, camelCase, snake_case and weird hybrids like everythingIs_SoWrongWith_this 😠1
-
So I was digging our chat logs in 2017
That time we were coming up of alliterative code name (Ubuntu-like)...
... it didn't end well...1 -
Do
{
// TODO: Do some proper naming
var myEgg = new Egg();
if(firstRun)
{
Paint(myEgg, red);
}
else
{
Paint(myEgg, randomPaint());
}
}While(isEaster()) -
Long time ago I worked with a few developers on some relatively simple web project. We were using php and smarty and we used svn for versioning. At one point some dude joined the project as a php developer (with a few years of experience).
After a few days without any commits, we found out that he doesn't know what a SVN is or how to use it. After he learned how to use it we found out in our repo bunch of files with a following naming scheme:
filename.php
filename_1.php
filename_2.php
filename_3.php
filename_4.php
filename_5.php -
I find it so difficult naming my classes, and Id’s in html and naming my variables in both JS and PHP. They are either too short and vague, or too long and specific. Haha Sometimes I wonder if I should use underscores or camelcase :( hard choices! >.<1
-
Might start asking monthly or weekly questions just for the hell of it so heres number 1...
If you have a prototyping/code naming convention, what is it and why?4 -
We have a naming convention that takes the first letter of each word of a table name... We have some interesting ones like tish, tit, tits 😂2
-
PyCharm's Warning: "Function name should be lowercase for PEP8 naming conventions."
Do Python developers not like camel case function names?4 -
I struggle with naming things. Projects especially and particularly if I intend to make a library in C and want to prefix the routines with something.
How do you decide on a name for your software projects?8 -
longer rant, with curious question at the end;
my sister asked me lately how she can change the way her phone creates the name of pictures she takes (the naming scheme), as she didn't want the name to be composed of date and time (and so on) the picture was taken, cause she had to send it to her boss
after i replied that i don't know how this could be changed and that the naming scheme would have a purpose, she got angry at me because i wouldn't help her and that i should fuckin tell where it can be changed!😡
after i repeated my answer she said "what are you studying cs for?? YOU SHOULD KNOW THIS!!!😡😤"
i got furious, you guys can probably imagine as IT guy/dev 😠😠😠, given stereotypes/prejudices etc., unfortunately i'm not the guy who is good at freaking out and yelling at people, but GODDAMN IF I COULD TELL HER WHAT STUDYING THE DEGREE IS REALLY ABOUT! I'M SO FED UP WITH THIS!😤😤😤
i'm not supposed to know how her FUCKIN HONOR PHONE WORKS
WHICH I DON'T EVEN USE and never even thought about changing the naming scheme.
JUST RENAME IT AFTERWARDS!
of course her phone is so complicated that she doesn't even know how to rename the file, as she only knows how to use the google photos app (which doesn't support that?🤔) and never even considered to use the file manager ... well can't blame her for that, android isn't as simple as windows when it comes to this🤷
... in the end she just sent it, as is😪.
oh and by the way, is it actually possible?🤔14 -
I'm always helping out a girl in my class with her coding assignments but her code is absolutely atrocious. I don't have the heart to tell her that her whole method, file and variable naming, and process is wrong and is causing her so many headaches.11
-
Amazon Web Services has the worst naming among clouds.
They have "Aurora" and "Athena". Both services relate to data. Both are woman's names. Both start with "A".
Amazon, what's wrong with you?11 -
I'm sorry to say this but if you keep changing your naming "convention" every freakin day it's not a convention2
-
while(people say something){
Listen();
Smile();
Agree();
DowhateveRtHeFUckyouaregOintodoAnyway();
}
PS: that's some heavy method naming😂 -
Super inconsistent function naming in PHP.
And how some things are object-oriented and some are functions.3 -
There are only 2 hard problems in software:
1. Naming things
2. Cache invalidation
3. Off by 1 errors3 -
- Naming things in English as a non-native English speaker.
- Maintaining a good sleep schedule as a remote worker. -
"Send me a unity package file when you're done, which includes any models, scripts, and prefabs."
Seems like someone didn't take a lesson in naming or basic computer housecleaning.3 -
Angular 5 was just released! *Yay*
on a completely unrelated note: does anyone get the versioning/naming scheme of angular?8 -
I was always a bit confused by the naming schemes in official python libraries. So I decided to lookup the official naming conventions, according to PEP 8. Lo and behold, the very first sentence:
> The naming conventions of Python’s library are a bit of a mess [...]3 -
Developers who insist on naming all variables in a program after characters from Twilight. Ugh. You know who you are... 🙄🔫1
-
I'm going to confess: I am the type of developer that creates the ExcruciatinglyLongAndSpecificClassNameObject with the UtterlyDetailedExplanationMethod. It's just a thing I keep doing, despite voiced frustrations from people I've worked with. It just feels right in the mindset of self-documenting code
And while I acknowledge this isn't a flawless process, I see no other way around without losing information. I've tried alternatives, but everything feels like trading one issue for another:
- Abbreviations work as long as they are well known (XML, HTML, ...). As soon as you add your own (even if they make sense in the business context) you can bet your ass someone is going to have no idea what you're talking about. Even remembering your own shit is difficult after X months.
- Removing redundant naming seems fine until it isn't redundant anymore (like when a feature with similar traits gets added). and you can bet your ass no-one is going to refactor the existing part to specify how it differs from the newly added stuff.
- Moving details to namespaces is IMO just moving the problem and pretending it doesn't exist. Also have had folks that just auto-include namespaces in VS without looking if they need the class from namespaceA or namespaceB and then proceed to complain why it doesn't compile.
So, since I am out of ideas, I'd like to ask you folks: Is it possible to reduce class/method name lengths without losing information? Or is self-documenting code just an ideal I'm trying too hard to achieve? Or are long names not a problem at all? I'm looking forward to your answers.19 -
when you're working on a project you hate, and start naming global variables in profanity ($dick , $shit , $yourMother, etc...) to make it more enjoyable2
-
Naming a value of a button, UX vs Back-End Developers:
UX Designers: "Unsubscribe"
Back-End Developer: "Click this button to unsubscribe to this service" -
Why you literally took fucking half hour to fix this shit, I’m telling you, there is only a naming problem there, nothing else!
And his title is
“SeNiOr FrOnT-eNd DeVeLoPeR”4 -
I hate naming variables.
DEVICE_INPUT
Is it input of external device or input of my device? Should I read from it or write to it? Help... -
There are mainly two cases (up to my knowledge) for naming variables. `snake_case` and `CamelCase` but some how we managed to add another one. Snake_Camel_Case_Combined. e.g. That_Weird_Variable_Name is so annoying to use.10
-
So as a student developer with years of background in web development (including both front and backend), c++, java and c#, I was more than surprised when I found out my Informatics assignment hadnt received the proper excellent mark. In fact both me and a friend of mine who has been working with C++ in particular for years got a --mark.
// The assignment was the most simple Windows Forms Application with 2 buttons and a textbox
When we asked about that the teacher said we hadn't labeled the buttons and textboxes, though we had actually taken our time to put labels next to each UI element that would need usage directions.
Though what she meant was renaming the actual variable names, those being textBox1, button1 and button2.
We of course got really mad, because w both follow the accepted naming conventions for each of the languages we write in. Arguing was to no avail. Even telling her that variable naming was not in the assignment instructions was pointless as she said it had been self explanatory..
The others for whom computers are powered by magic, did their assignments as they had memorized everything that teacher had shown them. Why? Because she didn't teach them how to code in the first place. So they copied what would work.
Fucked up educational system, sadly nothing new..
Oh and btw, the naming she uses and teaches students to use is:
button1 - btname
label1- lbname
textBox1 - tbyear2 -
Everything has a tag in my son classroom.
"Window" on the window.
It seem a new project with clear names for everything.
I would like to see if at the end of the year the class will be so tindy.5 -
Google carefully naming their language CARBON so that wherever I search it have search CARBON LANGUAGE! :/13
-
My old man used to say there are two hard problems in Computer Science: cache invalidation and naming things. :D5
-
I fucking hate that in JavaScript we have the naming convention of index.js for entry points, whyyy? no sense, thanks node7
-
Would you rather give meaningful name to your services or cool sounding names like aws greengrass?9
-
Decided to go through my current project and change the naming conventions to actually obey the standard Microsoft C# naming convention standards.... Fuck me this is going to be fun -.-
(I use camel case and a lot of 'unnecessary' abbreviations :-P)1 -
2005 called. It wants its numbered file names back.
While I am mostly satisfied with "celluloid" as a worthy successor to xplayer, the first major disappointment I stumbled upon is `celluloid-shot0001.jpg`. Are we in 2005?
Just like xplayer, Celluloid, the new default media player of Linux Mint, should use proper, i.e. time-stamped names such as `celluloid-2023-04-10T00-47-42.jpg` or `celluloid-video_file_name-2023-04-10T00-47-42.jpg` for screenshots taken from videos, to eliminate the possibility of file name conflicts if files are moved into other directories, to make screenshots searchable by video file name, and to retain the date and time information if the files are moved to a device that does not support date and time stamp retention such as MTP (Media Transfer Protocol), and to allow for date range selection using wildcards in the terminal (e.g. `celluloid-2023-04*` for all screenshots from April 2023). Besides, PNG screenshots should be supported too, but that's out of scope here.
As a reference, the gnome and mate screenshot tools also pre-fill time stamps into the file name field.
Numbered file names were useful in an era when there was no VFAT and file names needed to have 8.3 file names that could impossibly fit a date and a time, and compact cameras used such names, but those times are long over. Just like the useless and annoying pull-to-refresh gesture on mobile apps and the Media Transfer Protocol, numbered file names belong to the technological graveyard.
If numbers are really desirable, at least `celluloid-shot0001.2023-04-10T00-47-42.jpg` should be used, to include both a number and a date. The command to get this date format is `date +"%Y-%m-%dT%H-%M-%S"`. For compatibility across operating systems, dashes instead of colons have to be used to separate hours and minutes and seconds.
Numbered file names are a thing of the past. Use time stamps.2 -
When you take over some shitty unindented, fucked up variable naming, using a god damn loop for every fucking thing ass dev's fucking project
-
Im making my first opensource project, it's a web component library, but I find the naming part so difficult..
How do you Guys find good project names? And anything i should consider regarding copyrights/e.t.c ?
Suggestions/you naming methods are welcome 🤌5 -
Out of everything in this assignment, I just know I'll lose more marks for shitty variable naming than any missing features.
Commenting? Perfectly acceptable. Use of functions and classes? Perfectly acceptable.
Variable names? perfectAcceptableMaybeFileOneButAsAString
I don't get how I'm so shitty at it! I currently have shit like file input, file input as string, file input as vector, I didn't know that would be the hardest part!1 -
How the fuck did we went from too little chars for naming, to too many chars, and managed to keep the same fucking lack of sense???
How the fuck is that better?
Before we had 2 letters var names, and now we have to scroll right to read them, and it still has no fucking direct meaning!!!!
How the fuck createMongoServerClientConnection is a good fucking name?!?!?!?! It has no fucking meaning!!!!15 -
Just starting with scala. And while I dig the more functional programming approach I am having the hardest of times dealing with naming higher-ordered functions, in my case a function returning another function.
Started out as `foo`, went through quite a lot of changes, and now it has become the beast: `createReplacePriceByPassengerConfigurationMapperFunction`. It won't stay that way but: GOSH! Naming. It's hard! Or I might as well suck at functional programmig. It's not like that these two things are necessarily mutually exclusive. -
Creating a Spotify like client for YouTube, spent 3 hours commig up with Project Crimson. And it ain't even that good. Anyone have better name?8
-
Do you prefer:
$order->getShippingAddressCountry();
or
$order->getShippingCountry();
Fuck me, being a perfectionist slows me down.
Beign stuck on: Save that shit as address_shipping_country or shipping_country is purely stupid, i know.6 -
It is my new aim to use the most ridiculous naming frameworks so I can talk about them in corporate meetings. Discovered chaos monkey today. What else you guys got?2
-
Why Dart was designed with idiocy:
1) naming conventions are idiotic
Most other languages are smart enough to not throw errors when the variable name matches its type. And lots of others, for any lexemme - only 1 naming kind is allowed.
Fine. Oh wait, there's that thing called existing databases and GraphQL & other APIs, should they all adapt to this? No, because 2) is the bonus
2) String keys in objects. Unless it's a class with boilerplate, you write them as strings and access them as strings.
So here's the solution when you want to integrate Dart with existing services: write a lot of JSONSerializable decorators to fit with dart's pissy naming requirements.3 -
Please help, I can't figure out good names for my API :(
AsyncReadWriter and AsyncWriter are really close tokio's AsyncRead and AsyncWrite traits, it's confusing, and also you're not supposed to instantiate AsyncWriter yourself.
https://crates.io/crates/...
It's also kind of a shameful plug for my tiny lib, it's my first open source one, hopefully first of many2 -
Accidentally deleting files for one of our internal web servers because the naming of the directory looked like a duplicate of another directory. Thank goodness for backups.
-
Looking for some names I can use for servers/devices. Currently I am using planet names from Star Wars. The names of those planets in the outer rim I use for rootservers/devices which are not physically located in my home. Any other ideas/topics?4
-
Work has started naming projects after chemical elements.
Dibs NOT working on the uranium or plutonium projects...1 -
in JavaScript I would just call something what it is and then keep changing the data type as I get more data to add to it because you can
in rust because it's not dynamic types but static and everything is a static struct I need to find like 9 different names for all the different intermediary data types and holy shit I don't understand what to name everything and this is annoying me
I never understood why people complained about naming problems. I found it fun. now I hate it.
stats object. cool. well it converts an address to stats. an address has swaps. each swap was done on a mint. so I guess I make a MintStats object? wrong. because that's confusing.
swaps -> swaps divided by the mint they belong in -> stats for each mint swap set -> then you can add all the mint swap set stats to the address stats object
now what the fuck do you call all these
there's also something I called a MintAttitude and it's an enum. these types just keep growing out of trees. fuk. I don't like long names either. I should probably just call it Attitude but call it via mint::Attitude and get the same clarity result with far less redundancy (which I hate, another annoying thing)
swaps -> ??? mint history? -> MintStats -> then I have a "MintData" that has the history and stats wrapped in it -> MintsData that has many mints and their MintData -> then I can convert MintsData into AddressStats but what and I hate this and also I have a Mint object that does something totally different elsewhere. I hate this. data isn't even descriptive but to call something history when it also has stats seems imprecise.
brain spaghetti. classification part of my brain is shit. no historical training / experience either. I just see everything like vague blobs. bah. naming required clear delineations which is hard enough on its own to get used to5 -
Spending too much time on smaller decisions sometimes. Spending 5 minutes thinking about naming a variable and such.
-
Hey guys, i made a program years back and just refactored the thing and gave it a nice GUI. I made it mostly so I can use it in my daily life which I do but now I might release it as open source and give it to some friends. But I’m facing A problem i never faced before...giving it a name. Need some help 😂
Basically, i have tons of series, so i created it to maintain a nice naming convention for the videos but obviously can work for any file list.
- it renames them in a couple of different ways (replacing string occurrences in the file names, appending - prepending strings, completely renaming it alphanumerically. Anyway I use those features most (OCD i know)
- it also grabs subtitles for movies and series (parses its way through subscene and yifisubtitles until it gets to download the zip file and extracts it for me) .
- It also plays random episodes for me when im confused what to rewatch ( just opens a random file in a directory u point it to)
So any name suggestions ?1 -
How do you name your servers? or what's you'r company using?
Currently im using <abbreviation><sequence>, But i'm noticing that this does not really scale well.6 -
Whoever named memcached: fuck you with an open umbrella. It was a bright fucking idea when there already exists a memcahe extension for php. Finding good php examples is impossible when all these idiots name theyr example posts memcached and use memcache class in the code. Fuck.5
-
UserController
UserControllerNew
UserController1
NewUserController
FUCK USER CONTROLLER AND MY LIFE1 -
Man, I love Postgres, but one thing I hate about it is its naming scheme.
As far as I know, there is... None.
So I'm always left wondering how certain configuration directives referring to Postgres will be written down as.
Pick your favorite:
Postgres
PostgreSQL
Psql
PgSQL
And maybe more...
Or is there a naming scheme / system I'm not aware of?3 -
So... Three of us have the task to do security reviews for one team... As to who reviews what, we decided on the basic algo of assigning an index to our names and then doing (ticket number) % 3 to get the index and therefore the reviewer for that task... Simple enough, but still you need to modulo the number and remember your index so I created a simple .html file so we can easily see who reviews which ticket by inputting the ticket number... In a hurry I named it whoreview.html
Today, the manager saw it and said to rename it before HR gets involved :D -
Let's talk about one of the two hard things in programming - what's your preferred test naming convention and why? I'll have to create plenty of those now, while the project I'm working on is still small, and I don't know which way to go. It's Spring (Java), but I don't think it matters that much 🤷4
-
What do you name a library that just expands upon an existing library?
As in, it has the same functionality, but just goes about it in a different way to make it nicer to work with
Don't want to just prefix it with "better-" or something since a) that's probably subjective and b) it's a bit on the arrogant side9 -
Whose idea was to name FaaS "serverless"? It's just a terribly misleading name which can confuse newcomers.3
-
It looks like Microsoft are back to their old tricks, specifically the DirectX 9 naming scheme. Naming releases after Northern Hemisphere seasons and repeating words never gets old and/or confusing!
Who's looking forward the "Winter (2018) Creator's Update"?6 -
Ok, let's agree to stop giving applications names that are so ambiguous that they give no clue what the purpose is.
Google Play Store has top 2016 apps... Under "most innovative" is the app, "Eve" by "Glow". Is it a game? General app? I was curious and clicked for the detail...
I never in a million years would have clicked on that! Wow. 😓 -
Ok, here is something boggling my mind - just as much as naming variables boggles my mind.
Can you guys share your notification settings?4 -
Is it just me or others too feel that docker completely nailed it with their naming convention.
Like docker, containers etc are so aptly named by their functionality.1 -
Cant sometimes decide project names.. Especially for ones meant to be learning projects... I think Ill just start naming them Culture ship names :P3
-
I get tired of people complaining about rails "magic" it's annoying. Ok we get it, you have never taken the time to understand it's naming conversation or looked under the hood.
-
Friend: Ohh, that's what it is... WHY DIDN'T YOU JUST CALL IT THAT THEN?!
Me: AWS?
Friend: Yeah.
Me: Yep.1 -
What is your team’s practice when it comes to putting ticket numbers in your commits and branch names? Is it optional for your branch naming? In your commit message, do you put it at the beginning or end of a commit message?3
-
How would you name a scoped npm package?
I have a bootstrap theme and a package with angular components. The angular components package is the main feature of the library.
My proposals:
bootstrap-theme - @bla/theme
angular-components - @bla/bla | @bla/ngx | @bla/ngx-bla
or something else?
I need help.3 -
Any recommendation for good naming convention for methods and classes ? I'm looking for article or book.
-
How do you guys like to name things, do you prefer being specific/verbose or generic? Say, we have a vue component to which we need to pass props. Would you prefer:
<todo-list todo-model="TodoModel" />
or rather:
<todo-list model="TodoModel" />
For me, the first is easier to search for, the other is more elegant and decouples what is happening from why is it happening.5 -
There is this ERP/MES integration project in which I am involved as a developer who helps a team of industry engineers in my company to write some scripts (in Quickscript .Net god forbids) to consume a SOAP based web service developed by the ERP maintainer team from another company.
I will just keep every stupid technical aspect I ve seen unspoken and highlight the naming convention used in the web service methods.
One of the web methods named "zzwswo" which only after consulting a bunch of pdf nomenclature docs that I realized it means the following:
"zz" seems to be a prefix for custom db tables in the ERP system.
"ws" is probably Web Service.
"wo" is Work Order.
I lost hours trying to figure out methods. I think this is why not everyone should be allowed to write code. -
Ok I get it, naming things is hard. But jeez... why would you ever name something ‘the machine’...
Especially when it is just a bunch of sequencially run stored procedures.... -
I need to pick one terminology for shipping so I don’t forget my function names, css classes and labels.
I’ve used a mix of “Shipping”, “postage” and “delivery” and now I’m confused :-/1 -
I really don't know how to name a context. I can't use job or a synonym because it's already used for something that only makes sens as job. And I don't want to use any of the handler/manager generic meaning less words. Aaaahhhh! Naming is hard!
-
I have to deal with the hardest part of programming: naming things! i fucking hate it, being so incredible uncreative finding a name for a side project..
So heres my idea: I want to build a little cli tool (and probably in the future an app or a web interface) with a rest api on my server for simple storing text snippets. I will be a simple key value store, but my goal is experimenting with new languages and software ;)
I can't imagine a cool name for that thing, do you have an idea? :)3 -
Around the web and within the CSS Working Group, there has been some discussion about whether we should specify a version of CSS — perhaps naming it CSS4.
I think there is some value in grouping a bunch of specs into tidy version labels like "CSS4". It's much easier for me to ask "does this browser support CSS4?" than it is to ask "does this browser support CSS Color Level 3, CSS Namespaces, Selectors Level 3, etc."
Also, as a developer, if there were a group of specs known as CSS4 gaining traction on the web, I'd know that I need to be well-versed in each included spec, as opposed to just trying to become more fluent in different specs as I come across them in my daily work or research.
Your opinion?8 -
Hello fellow devranters,
I never thought I'd make a post like this but I need your help/opinion.
My thesis work is about to get published, I worked on a C++ software that solves what we call equivalent reactor network models (basically, different ideal chemical reactors interconnected in various ways). This extends an ecosystem in my research group that is OpenSMOKE, and every collateral applications usually follows a xxxSMOKE naming scheme.
I came up with NodusSMOKE (Nodus is Latin for fishing net) first but it doesn't feel right. Other names I came up with are LinkSMOKE or NetworkSMOKE.
I believe here I might find people who are much more creative than me. I kindly ask your help my dudes.2 -
How do come up with good names for classes and interfaces? Mine always seem stupid and I want to change them, but cant think of anything better.2
-
I am thinking of naming a game developer company with a catchy name. Due to all the shitheads that have come before me the name I want could be considered racist though it is not meant to be.
Ever since I saw this picture:
https://twitter.com/michaelkeyes/...
I want to create an image of a raccoon riding a hog from a profile image. Think lion king imagery except with a raccoon and a hog. I also want to name the company "Coon Hog Gaming". "Raccoon Hog Gaming" doesn't sound as catchy.
I am by no means desiring to be a woketard. PC culture turns my stomach. I also don't want to alienate any potential customers. I would like to signal to customers that we are not PC and will not be PC. This name does that. Yet maybe some customers would be offended so I couldn't market the game on Steam. Should I just go for it anyway? I guess down the road if things get even more stupid than now I could always change the company name.10 -
I once had a colleague ranting about my variable naming because it went out of bounds on his IDE's printmargin. To please him i wrote minified code while pair programming
-
I have to give my dev team a name,
I thought of funny stuff like nullexception, //to do, etc but im really looking for an epic name help out fellow devs something epic and subtly funny27 -
Want to rename stuuby db to something else. Any suggestion?
Stubby db is a npm package which helps to stub HTTP(s) calls. Many people are confused with DB word and overlook it. 😢1 -
Does anyone else have the problem of of offensive naming conventions? It's just a habit of mine that I name everything after something afwul, just for the lolz.
-
My teacher just saied that C# naming conventions wan't use to always put brackets on our if statements even though their is only one line next to it.
Where did she get this from ? 😅10 -
How to organize your projects in Visual Studio with separate Namespaces without naming every project like: <projectname>.<this>.<that>
Instead I want to name the solution <projectname>. And then name my project <this>.<that>? -
Variable Naming process
-------------------------------------------
Fetching a data of Counties into a variable using Fetch API.
Variable Name: countyData.
The code review is going to be interesting.4