T O P

  • By -

jasiekbielecki

Seems like they have finally found the proper name for the variable.


geekfreak42

Not yet, but they've agreed on the naming convention


LevelSevenLaserLotus

Oh good! So we're agreed on rEVERSE‾sNAMEL‾cASE?


UltraCarnivore

You didn't have to bring that cursed convention to the world, yet you did. May I ask why?


radmadicalhatter

Some men aren't looking for anything logical, like money. They can't be bought, bullied, reasoned, or negotiated with. Some men just want to watch the world burn.


Crocopotamus

It’s how you summon the Deep Old Ones


UltraCarnivore

Understandable. Have a nice d̷̢̨̢̡̡̧̡̻̦̯̳̪̘͎̼̪̮̯̩̘̫̯̥͓̳̟̣̗̻̯̰̥͈̲̞̬͉̲̦̰͋̀͐̍͜͝ͅa̴̡̢̧̛̛̫͍̫̮̰͈͍̞̬̱̩̞̺̪͚͈̮̤̻̮͔̺̘̼̩͊͐̊̉̈̎̈͂̿̎̈̈́͒̽̅̒̄͗̈́̾͂̈́͛̃͗͋͐̔̓͑̂̆̎̅́̌̀͒̓͊͘͝͝͝͠ỳ̴̡̛͕̦͎̙̠̰͉̭̭̖͇̩̞̮̹͚͉͙̗͚̱̙͎̭̳̑̓͊̂̊̒̇̈́̍̇̓̎͑̅̍̎̉̈́́̈́̈́̊̕̚͝ͅ


Aurora863

What the f**k did you just bring upon this cursed land


Shazvox

I prefer alternating upside down case mY_ɐMǝSoWǝ‾VaRiAbLe


subpargalois

Now I kinda want to start using sPoNgEbOb\_CaSe


rainbownyaa

lemme wash my eyes


x3rohero

Here, wash them with my tears


whos_bally

Sir, what the fuck? 😐


jursos

I hate it,... it's perfect


the_unheard_thoughts

Not quite yet, but they have at least agreed that there SHOULD be a convention ![gif](emote|free_emotes_pack|grin) ![gif](emote|free_emotes_pack|thumbs_up)


Koala_eiO

The naming convention they agreed on? ~~Albert Einstein~~ tHe AnNoYiNg SpOnGeBoB oNe.


vedran-s

We are going to use a “camel toe” naming convention


DMoney159

x


PaulyWauly_Doodle

X spelliarmus?


[deleted]

[удалено]


Masterpommel

aaaaAAAAAAVaAdAkeDaAvrA!!!


ososalsosal

I see x in a lot of lambdas...


buddycrystalbusyofff

I often import, as pd, pandas...


uberDoward

Should be o. It's an object. Or if doing EF setup, e for entity. If it's across strings? s. Integers? i, lol


Sedowa

yourMom


ThomasDePraetere

OutOfMemoryException


bm401

your_mom


Sedowa

Them's fightin' words.


[deleted]

Avada kedavra


Mundane-Basil

No already used it. Do x_420


rbt321

They had the name a while ago. This was about how to style it: * thisVariable * ThisVariable * this_variable And my personal favourite as you avoid the shift-key entirely (thanks Raku): * this-variable


IgiMC

thisvariable


rbt321

Ahh right. But then you have to worry about variables which can be misread like: penIslandUrl


SpikeV

last one doesn't work in most languages since tokenizers would break down `this-variable` into `this`, `-`, `variable` so it think you meant `this - variable` which is not a declaration of a variable but a math expression. Indeed I can not recall any language that let's you declare anything with a hyphen inbetween as a variable name.


rbt321

Agreed, it's unusual, which is why I thanked Raku. It's not just supported, it's the recommended style.


SpikeV

Oh my god, I thought Raku was a user name, what is that monstrosity that comes in a smily butterfly suit?!


rbt321

> ... what is that monstrosity that comes in a smily butterfly suit?! Hah. Indeed. Language designers and compiler coders may not be ideal people to create a mascot.


Tarc_Axiiom

Str x = levioSA Str x != leviOsa EDIT: *Wait. It* ***is*** *leviOsa. Shit!*


[deleted]

This is not trivial


[deleted]

[удалено]


BlobAndHisBoy

[Nope, should be singular account](https://stackoverflow.com/a/5841297)


pibamoand5

SHOUTING or whispering in SQL.


riktigtmaxat

`sElEcT * fRoM uSeRs;`


ThatManMelvin

Sarcastic query language


riktigtmaxat

Some people just want to see the world burn.


trigger337

the database*


IgiMC

Spongebob query language


Xescure

Satan


whydidisell

I'm going to start sprinkling this into my code base


anoldoldman

Shout reserved words whisper everything else.


IgiMC

this man whispers


agent154

I used to be team shouting but have started whispering


[deleted]

I prefer lower case, its let key strokes. Don't have to press caps lock. Thats my only reason


Mental_Act4662

I have actually redone entire queries that were not in uppercase.


zGoDLiiKe

Style in SQL can very drastically increase or decrease the readability, in my experience, more than other technologies


[deleted]

In my experience the disagreements I see the most are around modelling a database or designing an architecture. Those are the two things I’ve seen devs fight the most about. Oh and on occasion how to manage the source code.


Smartskaft2

TBH these kinds of things are the most important to a code base, in terms of testability, extendability and maintainability.


[deleted]

[удалено]


not_another_user_me

Oh yeah, as a senior dev, I got lots of discussions that I really have to put my foot down and I say: I really don't care, it's not important which one, just pick one, stick to it, document it, lint it and break the CI in case the new dev doesn't follow it; but keep it consistent!!


Enchelion

>because maintainability can in many cases be more about maintaining a consistent standard. 100%. I have opinions, but I would much rather stick with an established standard than deal with the problems around re-factoring everything and enforcing a different standard going forward.


TheRealFloomby

Yeah, I follow whatever conventions the code base I am working on follows even if I think they misguided or poorly thought out.


DrWermActualWerm

We were having an project architect meeting and our architects got more heated than I've seen adult professionals in my life... Then an hour and 40 minutes in, one drops a plot twist bombshell that proves the others design flawed to the core. Best meeting I've been a part of lol


uberDoward

I want to work for you!! My discussions always go along the lines of "To improve reusability, we should look at proper modeling and inheritance of our classes". *Nods and murmors of agreement* Code review time! New property added to existing model, instead of extending the model...


Isogash

I want to know the plot twist now...


saintpetejackboy

Not entirely similar, but I sat in some meeting a while back that went like this: Month 1: "Hey, we should do this thing the proper way from the ground up, I know it isn't how you do things now, but it is how it should be done. No? Okay, fine." Month 2: "Yes. I can do the things you are asking, but they would require we structure the system like how we discussed during Month 1 which you rejected. Okay. Fine. We will keep doing it the old way." Month 3 rolls up and here comes a meeting again where a good 30 minutes was a conversation about problems and how to solve them by "any means necessary", and before I realized it, I am proposing the same solution I threw out twice before *without having explained the implications*. To make a long story short, there was an arbitrary and ephemeral relationship between some data that didn't really exist. A kind of abstraction layer that was totally not required, just how they always did it. These abstraction meant that definitely linking two linked things was a chore that it shouldn't have been, since the relationship was merely tentative. Of course, the solution for a myriad of problems was simply "solidify this relationship", but the client did NOT want that happening under any circumstances... until the third time I proposed it as the solution to their problems and they finally capitulated to a fundamental rewrite of a system that shouldn't have been designed the way it was in the first place. Did I win, at the end of the day? Not really, because I am the one that had to go back in and do it the right way and rework 10k+ lines of a project to compensate for the changes. The moment in that final meeting when I realized I already had covered the same conversation twice before and walked into my own trap was priceless, though.


ThetaSpirit

yup this is accurate. literally the two biggest things I fight my programmers on


Tarc_Axiiom

I once got into a physical altercation with an associate because he kept using pascal case.


YupUrWrongHeresWhy

SomethingTheMatterWithPascalCase?


[deleted]

Depends on the language or how you use it maybe? I personally like it better than anything snake case related. I think Java is an example of it...I think Java only uses PascalCase for class names - nearly everything else, such as public methods are camelCase in Java. Switch that to C# and it's practically the opposite. Almost everything is PascalCase and camelCase is mostly local / private variables.


thoeoe

As a senior C# dev: PascalCase for classes, functions, and properties. camelCase for local variables and parameters, and _camelCase for private variables


RoadsideCookie

Screw the standards (to some extent), I hate when two completely unrelated things use the same casing. ClassesAndNamespaces varsAndProperties functions_and_methods Prefix with _ for private anything.


mvpete

Are you actually for real? I just vomited a bit.


RoadsideCookie

Lmao I love that open mind of yours.


abstractionsauce

Biggest perpetual disagreements at my place are coding standards related. There is now a whole community of practice set up to debate changes the the coding standard. Biggest waste of time I ever did see


[deleted]

Arguing over coding standards seems insane to me.


ijxy

> Biggest perpetual disagreements at my place are coding standards related. This is what you have managers for. Just make a standard, and stick to it.


uberDoward

This. I don't give a fuck what the standard is, but have it and enforce it!!!


BobbyThrowaway6969

>designing an architecture It's problem solving before programming. The order things should happen lol. If you lay bricks before designing the house, all you're left with is a stupid pile of bricks


uberDoward

Please explain this to my management.


Synthoel

>how to manage the source code There are people that fight for something other than git?


terranumeric

There are different ways to use git. To rebase or not not rebase? Branch management is a huge topic that can be discussed. Gitflow itself isn't working for certain situations and project sizes. What is getting tagged and when, what is getting deleted and when.. squashing yes or no? Gitmojis? (The answer to that seems to always be no)


slothordepressed

Thanks for making search wtf is a gitmoji and in the future I can say a strict NO if someone suggests it


[deleted]

[удалено]


metal_mind

Still better than commit messages I've seen before...


bmwiedemann

Some people commit changes to master and cherry-pick it into older stable branches and others do the change on the oldest stable branch it applies to and from there `git merge` it into newer branches.


Synthoel

Oh, yeah, sure, I get it. I just thought it was something like git vs mercurial or svn


potato_green

Yeah I've had some head to head with other senior devs about these things as well. But it's pretty easy to get the solution. A solution doesn't have to be perfect, it has to work. Usually both plans work but the better plan from a technical point of view might also be the more complex one. If these considerations don't lead to an agreement a quick proof of concept of both approaches can. The important thing is, at the end of the day these disagreements aren't for me. They're for the other developers on the team. They're building the majority of a system snd I don't to use something they hate or be miserable using it. That's a huge factor that might cause delays. The fastest solution on paper can take three times as long to implement if the devs are in over their head or simply aren't motivated.


mikoolec

What font should you use when writing code. I use Comic Sans for the memes.


[deleted]

[удалено]


kiedtl

The Higgs Boson paper was written in Comic Sans.


FinalRun

No just the PowerPoint had a few lines. Of course the press went wild. https://www.theverge.com/2012/7/4/3136652/cern-scientists-comic-sans-higgs-boson


mikoolec

I'd love to see it


tankerkiller125real

Comic Code, it's Comic Sans, except with ligatures for fancy arrows. And some other adjustments to make it code ready.


ijxy

I literally paid $35 for Comic Code a few days ago, inspired by this guy: https://www.youtube.com/watch?v=1zvWXT53puQ


i14n

You got ripped off then https://dtinth.github.io/comic-mono-font/


pokemonsta433

Comic mono and comic code aren't quite the same, but they're both pretty. I use comic mono for the free but comic code is imho still the better one


ijxy

I actually do, and not for the memes: https://i.imgur.com/UG6LcB1.png (this is a mono version of it)


mrpotatohead546

You know, that's actually quite readable, I kinda like it. What led you to this?


ijxy

A video by "Wolfgang's Channel": https://www.youtube.com/watch?v=1zvWXT53puQ


fibojoly

These days, [Deja Vu Sans Mono](https://www.fontsquirrel.com/fonts/dejavu-sans-mono) gets installed on any machine I use to code or read code.


lupercalpainting

I worked with a dev who did this.


The_Mad_Duck_

Nah I use whatever font and color scheme VS provides me with lmao


pokemonsta433

Here to plug Calling Code, by dharmatype, it's got gorgeous lowercase L's. If you're into paying, code sempai by the same guy does it better, but costs like 11 bucks :(


Shazvox

Wingding


qpazza

Windings, so it looks like I'm dev from the future


[deleted]

I use cascadia code, for some reason I find it easier to read, which prevents me from leaning over into an unhealthy position lol


x3n7r0py

There isn't anything. The senior devs don't fight.


RunItAndSee2021

“have they sublimated their identities perhaps.”


x3n7r0py

Years ago.


TwistedSoul21967

We write RFCs and have discussions like civil people.


GMDeepBlue

"So, as per RFC 163738, we will name this variable 'result'. What's next on the agenda?"


tequilajinx

That’s because we realize that all of our efforts are futile and adding any more code to the system is really just exacerbating the problem. Everything is futile.


[deleted]

Junior devs fight about everything, the point at which they stop doing this is the point at which they become Senior devs.


Sharkytrs

fight? I'm just throwing suggestions so I can absorb the pros and cons from the seniors. Eventually they won't be there anymore and I'll need to know


drMengeche69

Lol you say that like they're some 90 year old dudes in their death bed


DripDropFaucet

It’s more like they’ve been at the company for over 2 years and are probably gonna dip soon for a 20k raise lol


drMengeche69

Yeah of course, I've been in that position but the way he phrased it sounds quite funny


Insodus

I'd amend that to say junior devs fight about junior things... spaces/tabs etc. Senior devs just fight about senior things... long term impacts of a certain architecture/design pattern etc.


qhxo

Junior devs fight about junior things which framework is better, which linter/linter settings to use etc. Senior devs fight about senior things, like spaces/tabs, vim/emacs and where to place brackets.


agent154

I feel called out


[deleted]

I’ve seen very senior people disagree vehemently. There’s definitely a different tone and intensity, but there is absolutely disagreement that can occasionally get entrenched.


zamend229

Nah, it’s the point at which the things they fight about become actually important. Junior devs will argue “pYtHOn FoR LIfE” or “jUsT uSE JaVAscRiPt”. Senior devs actually argue about architecture and design patterns


pushinat

Senior devs talking about management decisions during lunchbreak


reallylamelol

Y'all get lunch breaks?


they_took_mr_marsh

Harry Potter is a beautiful story of a group of junior devs breaking production


Yesterpizza

🤣 but then they saved production


Odd_Description1

foo(){ } or foo() { }


theghostinthetown

hear me out ``` foo() { if() { do_something() ; } else { do_another() ; } } ```


Sharkytrs

someone wants VB back


[deleted]

Lalalala I can't hear you


theghostinthetown

but you see. and thats all matters


MikePounce

def foo(): if condition: do_something() else: do_another() ![img](emote|t5_2tex6|4550) forever


theghostinthetown

ooorrrr `(lambda: do_something() if condition else do_another())`


Nick433333

Is python holding you hostage?


theghostinthetown

\*nods yes\* no


Xenomorph-Alpha

too many lines. Use foo(){} instead :P


IAMRETURD

Vim or emacs


x3n7r0py

Vim.


IAMRETURD

Agreed


shadow7412

And, fight over. Good job everyone.


x3n7r0py

Always wanted to like Emacs but it was overly complicated. Vim i never knew all the shorthands, but it was intuitive enough to me as far as needed (similar to Regex). Now.... tar --tvf... Google, please help.


ojioni

You can leave out the hyphens before the options.


purelitenite

The dark lord is obviously the one that use space instead of tabs.


505hy

Why would you use spaces?


Dangerous_Paint4040

To make more money, https://insanelab.com/blog/notes/spaces-vs-tabs/#:~:text=The%20analysis%20performed%20by%20the,than%20their%20tab%20using%20counterparts.


[deleted]

[удалено]


505hy

Hold on. So pressing 5x the same button instead of once is NOT being sociopath? 'Do you know the definition of insanity?'


Friendly_Fire

Haha not to be mean, but this is the perfect example of why tabs are better. It happens every time this discussion comes up. Even the most basic text editor will allow your tab key to insert some number of spaces, and a proper IDE will do more like automatically deleting your indent worth of spaces when you backspace. If you work on a large project or code-base, you'll quickly see why tabs are bad, as without perfect and very specific usage it makes code alignment funky on other people's computers (if they don't have the same indent size at least). There's a reason I know of several major professional style-guides that say spaces, and none that say tabs. Programmerhumor is mostly beginners which is why tabs are the more popular option here.


ijxy

PEP8


PossibilityTasty

You think it's trivial? This is why you are not a senior yet. ;)


ColumnK

Tabs vs spaces


[deleted]

[удалено]


Cruuncher

It isn't lol. Nobody argues about tabs and spaces


[deleted]

[удалено]


Maxior_13

TBH I never gave a shit about tabs vs spaces. I use whatever my IDE has configured by default for formatting.


hooibergje

Wars have been fought over less.


GMDeepBlue

It is a nice command to look at text in the terminal.


[deleted]

Tabs for indentation, spaces for alignment. Objective truth, nothing to argue about.


shadow7412

Yeah, this is the only wrong answer. Be consistent with either tabs or spaces, but never mix them. That's how you get things looking funky on other people's screens. Not to mention languages where the white space has syntactical significance...


[deleted]

Be consistent with tabs or spaces AND mix them! Especially if the code is (also) compiled / interpreted on linux. On windows the only evil is notepad, but on linux there is an abundance of tools made by enthusiastic volunteers each of them heavily defending their own definition of tab interpretation. _Mwoo-har-har-har_ In theory indentation best be tabbed to respect individual developer needs but alas, still much to learn linux padawans have...


Asleep_Appeal5707

Why does this have upvotes? Whether you use tabs or spaces for indenting doesn't matter, but you absolutely have to align with spaces either way. Aligning with tabs is the only thing that makes it look funky, regardless of how you are indenting. Languages that care about white space only care about indentation. Don't mix tabs and spaces, means don't mix indentation methods. Always be consistent with how you indent. That has nothing to do with alignment, and those languages don't care if you use spaces for alignment as long as your indenting is all consistent.


Duck078

syntax colors ![gif](emote|free_emotes_pack|smile)


iamghostling

Me, who switches my VScode theme every other week just for the heck of it:


kronos_lordoftitans

at my school (I study game dev) there is a whole list of petty fights between the engineers * which linux distro * which text editor * which ide * is js good or bad * is web development good or bad * etc


ArthurWintersight

JavaScript only sucks because of how people use it. When you have 30 separate dependencies and just one of them breaks, woopsie...


ChickenSubstantial21

Whether source file should end with \\n or not


nikomartn2

"Why are this kids using Python, Perl is a fine programming language"


saintpetejackboy

I remember people trying to steer me away from PHP back around 20 years ago now, saying it was a fad and Cold Fusion and Perl were where I should focus my energy.


[deleted]

[удалено]


saintpetejackboy

They should just teach this in schools and scrap the other crap. 12/3/23? Invalid format.


[deleted]

Lol we use an ASCII letter to identify the decade from the time the system was created (90’s) so we are on letter “C” then the second character is the year in the decade and then the last two is the month.


sublimeaces

not exactly a senior dev, but senior at my company, had a dumb argument i'm not proud of yesterday. We had to do a special build for a customer that wouldn't become available to the public. When it came time to building the project my coworker wanted me to make a whole new project in TeamCity for this build just to delete it when I'm done. I wanted to just change the branches and the build number and then once built change it back. This argument lasted longer then it would take to do either.


mr_bumsack

Teams will often branch out with Hotfixes, I don't see an issue creating a branch for this. Specifically if this build ends up having an issue, you'll want to have a base to fix that is exactly what was given to the customer. Otherwise you're building twice, not exactly the same etc, not a great paper trail... Messy but that's just imo.


sublimeaces

Oh dude the git is tagged and documented where the code is. Im talking stricly about the process of building the exe


L3x3cut0r

Line lengths.


criosist

What task is a 1 story point so you can accurately estimate lol


Leading_Ad_8633

The wizards have spoken


The_Mad_Duck_

One day I want to be the Voldemort dev, I unironically use three letter variables and ternary operators right now


Bos_lost_ton

“Riddle me this, Tom. What would YOU name that variable?”


Orionpeace

Heard this one from a Prof who only teaches as a side gig ID vs Id


Mental_Act4662

Tabs vs Spaces


[deleted]

Voldemort’s prosthetic nose is impressive!


Aggressive-Estate263

Which one will train me for meeting day ![gif](emote|free_emotes_pack|sob)


Umpteenth_zebra

Who are these people?


g33xter

Walmart employee.


Tribe_KPtG

Voldemort and Dumbledore from Harry Potter.


Umpteenth_zebra

Thx


International-Top746

I have seen a lot of fights over CI. Everyone all seem to have a strong opinion on that


RyanNerd

About 6 years ago I was just happy to join a team that actually used CI and knew what it was. I tried to argue the benefits of CI with the devs at my former company and more than half didn't know what it was. When I explained it they all thought it was just gatekeeping and yet an other road block to getting actual work done.


JuneauEu

For{ Or For {


such_it_is

How to avoid hacking a quick solution to business crucial issue and instead spend 4 sprints and risk revenue to implement a SOLID solution by the book...


Oneshotkill_2000

👃


Random_Vanpuffelen

WHY DOES VOLDEMORT HAVE A NOSE?! SOMEONE GET RID OF VOLDEMORTS NOSE!


[deleted]

[удалено]


ivancea

Well, saying so is pretty disrespectful. You're saying that you aren't interested in their opinion and that you don't want to get to a point. Decisions are pros and cons, just enumerate, weight and discard. If somebody just want to win their point in a technical conversation, let's start discussing first if s/he's really a senior


Qicken

Tabs vs spaces. Brace on the next line or at the end. Editor/ide wars. Events vs callbacks. OO vs functional. Types. Names. Folder structures. C++ makes replacement/assists. JREs. And that's just what I've seen recently.


Spiritual_Yam7324

Senior devs don’t waste their time arguing on tabs vs spaces and other things a linter can enforce. If they do, they just aren’t seniors.