There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

JSens1998 , in What it's like to be a developer in 2024

Damn, y’all still using Google. Rip

el_abuelo ,

What are you using?

JSens1998 ,

Brave is my go to for everything except image searching, for that I use DuckDuckGo.

Rexios ,

Kagi. I haven’t felt the need to use anything else since I started using it.

jonasw ,

Same, except searches for local stuff in my area, as Kagi is a bit US centric

armchair_progamer , in We'll refactor this next year anyways

<span style="font-weight:bold;color:#a71d5d;">public class </span><span style="color:#0086b3;">AbstractBeanVisitorStrategyFactoryBuilderIteratorAdapterProviderObserverGeneratorDecorator </span><span style="color:#323232;">{
</span><span style="color:#323232;">    </span><span style="font-style:italic;color:#969896;">// boilerplate goes here
</span><span style="color:#323232;">}
</span>
wise ,
@wise@feddit.uk avatar

Why do you have access to my project??

swordsmanluke ,

… And can you fix it?

bort ,

============ Top 5: =============== HasThisTypePatternTriedToSneakInSomeGenericOrParameterizedTypePatternMatchingStuffAnywhereVisitor: 97
AbstractAnnotationConfigDispatcherServletInitializer: 52
AbstractInterruptibleBatchPreparedStatementSetter: 49
AbstractInterceptorDrivenBeanDefinitionDecorator: 48
GenericInterfaceDrivenDependencyInjectionAspect: 47

============ Factories: ===============
DefaultListableBeanFactory$DependencyObjectFactory
ObjectFactoryCreatingFactoryBean
SimpleBeanFactoryAwareAspectInstanceFactory
SingletonBeanFactoryLocator$BeanFactoryGroup
ConnectionFactoryUtils$ResourceFactory
DefaultListableBeanFactory$DependencyProviderFactory
ObjectFactoryCreatingFactoryBean$TargetBeanObjectFactory
JndiObjectFactoryBean$JndiObjectProxyFactory
DefaultListableBeanFactory$SerializedBeanFactoryReference
AbstractEntityManagerFactoryBean$SerializedEntityManagerFactoryBeanReference
BeanFactoryAspectInstanceFactory
SingletonBeanFactoryLocator$CountingBeanFactoryReference
TransactionAwarePersistenceManagerFactoryProxy$PersistenceManagerFactoryInvocationHandler
AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler

gist.github.com/thom-nic/2c74ed4075569da0f80b

Serinus ,

Okay, here we go. I’m going to spit out some bullshit and home someone corrects me if I’m wrong. I’ve looked for some explanations and this is what I’ve gotten.

Are you ready?

The Factory Pattern.

My understanding is that the purpose is a function to return any of several types of objects, but a specific type, not just an interface or whatever they might all inherit from.

I think most languages now have something like a “dynamic” keyword to solve this issue by allowing determination of the type only at runtime. (To be used with extreme caution.)

But most of the time I see the Factory pattern, it’s used unnecessarily and can only return one specific type. Why they would use a Factory pattern here and not just a plain old constructor confounds me.

Am I off base?

FizzyOrange ,

Yeah most uses of the factory pattern are unnecessary and it’s mild code smell IMO. If your factory only returns one type you should definitely just use that type’s constructor.

oktux ,

Factory pattern can return a mock type for testing or a production type, as needed, which makes it possible to unit test the code that uses the produced object.

This quick guide explains it well. Then it improves on it by explaining dependency injection.

github.com/google/guice/wiki/Motivation

abbadon420 , in New language

Java is great if you actually want to earn a living.

Sendpicsofsandwiches ,
@Sendpicsofsandwiches@sh.itjust.works avatar
abbadon420 ,

Could you have picked any creepier clown foto? Lol

agressivelyPassive ,

That’s almost comically besides the point of the comment.

skulbuny ,
@skulbuny@sh.itjust.works avatar

True, but functional languages are great if you want to live comfortably.

survey.stackoverflow.co/2023/-salary-sala…

CanadaPlus ,

Difficulty of finding such a job not shown.

swordsmanluke ,

That one dude still using Delphi is getting screwed.

Also, these salary numbers seem… real low. I get that it’s the median so maybe a huge number of overseas engineers are pulling the results down but in my neck of the woods 105K is less than what we pay juniors.

5714 , in C++ oop in a nutshell

Did I misunderstand something or is that an InCel-joke?

Harbinger01173430 ,

…it’s a c++ joke.

5714 ,

Did I misunderstand something or is that an c++InCel-joke?

Harbinger01173430 ,

That would be incel++ instead

xmunk , in And don't forget RTFM

As a developer I object to your assumption that I need a mouse to do my job. The only thing I need a mouse for is outlook and I’d definitely be more productive without it.

nightofmichelinstars ,

www.mutt.org

Disclaimer: I have never used this but I did a Google for you. It looks reasonably maintained.

GBU_28 ,

This is my imposter syndrome.

I’m a senior engineer now and I’m a big mouse user. It’s more intuitive for me. My productivity is certainly not bottlenecking on how fast my hands move on the keyboard. .

My productivity is bottlenecked by the number of meetings I have to attend, random slack messages that need to be responded to, and distractions IRL.

isVeryLoud ,

Nah fuck the haters, the keyboard-only workflow may be technically more productive, just like a Dvorak is better than a QWERTY, but what matters is your output and your quality.

supercritical ,
@supercritical@lemmy.world avatar

People will spend hours learning things that save them seconds.

xmunk ,

I’m not going to shame anyone about using a mouse unless you also always right click to copy/paste.

nexussapphire ,

Only because I have figured out how to copy from vim to other apps without the mouse yet.

swab148 ,
@swab148@startrek.website avatar

If you ever find out a way, please DM me

nexussapphire ,

I’ll probably get back to you in a few years, still mastering the motions and actions.

swab148 ,
@swab148@startrek.website avatar

Haha, same lol

swab148 ,
@swab148@startrek.website avatar

Hey, if you’re still wondering, I found this on SE: vi.stackexchange.com/…/how-can-i-copy-text-to-the…

nexussapphire ,

Thank you for this, now I know I have 26+ registers to store stuff in as well as the system clipboard! Honestly been so busy I haven’t touched my computer in over a week.

Ookami38 ,

I choose to eschew my mouse when I can because it’s easier. I don’t have to move my arms around as much, and I can work quicker. It’s more comfortable. All of this is a preference thing, why should anyone do something my way if it’s not how they prefer?

GBU_28 ,

Great perspective. If we are codeving or screen sharing, I’m fast and fluid. I just move differently.

Skiing vs snowboarding

swordsmanluke ,

One of the best programmers I worked with was a hunt and peck typist.

His code was meticulous. I frequently learned things reading his PRs.

Pair programming with him otoh…

nexussapphire ,

It’s for navigating web documentation when arrow keys are too fine but page up/down keys are too coarse.

I guess you could hit tab 9000 times to get to the right hyperlink. I’ve done that when setting up Hyperland on an Nvidia GPU and my cursor was there but invisible.

SwingingKoala , in Tinder to ban web developers who use 'engineer' in their bio
@SwingingKoala@discuss.tchncs.de avatar

Lol. tinder fact checks bios? Hilarious…

Hiro8811 , in Programming: The Horror Game

But I have an LCD display

pkill ,

non-AMOLED devices spreading misinfo by enabling dark mode by default on low battery and it’s consequences…

Hiro8811 ,

Low battery mode on…computers?

Omega_Jimes ,

Yeah. Some folk use portable computers on top of their laps. It’s weird :/

vbb , in git commit -m "minor fixes" +26858 -69429
@vbb@lemmy.world avatar

Good opportunity to say how annoying are update notes like “We are continuing to improve our application. We fixed a couple more issues to make it more stable”. Corporate style, uselessness and the fact that this update can contain some stupid redesign is disgusting.

TurtleTourParty ,

“We are constantly improving our application. Please keep updates turned on.”

popcar2 ,

I’ve reached a point where I avoid these types of updates. An update post like that either means nothing important changed or they’re up to something.

A while ago I saw that style of patch notes, updated an app, and suddenly I can’t use it anymore because it got limited to a maximum of 2 devices. Another time I updated an app putting a harmless “we improved the user experience” message, they put dark mode behind a paywall. This isn’t counting the number of times an app got redesigned to make the user experience worse for no reason. Maybe they wanted to justify hiring 5 UI/UX interns in that quarter or something.

The patch notes look harmless, but my god, they are usually up to something.

MajorHavoc ,

Yeah. I do the same. That “we are making improvements” text is corporate for “we don’t have anything remotely close to change management or quality assurance”.

clearleaf ,

I’m done with programs that need meaningless updates like this every day. All my patience for that was used up with flash and java.

Looboer , in Manager: This task only takes 30 minutes. Why did it take you the whole day?

Just use What The Commit.

You can also create a git alias:

git config --global alias.yolo ‘!git add -A && git commit -m “$(curl --silent --fail whatthecommit.com/index.txt)”’

Now you can just type ‘git yolo’ to create a commit!

hypnotic_nerd OP ,
@hypnotic_nerd@programming.dev avatar

Well such an informative reply! Thanks mate 👍

ikidd ,
@ikidd@lemmy.world avatar

Full send.

Olgratin_Magmatoe ,

“Make Sure You Are Square With Your God Before Trying To Merge This”

MajorHavoc ,

Well that’s about half my commit messages that are going to be nonsense on weekends projects, now. Thank you!

hakunawazo ,

“Chuck Norris Emailed Me This Patch… I’m Not Going To Question It”

_dev_null ,
@_dev_null@lemmy.zxcvn.xyz avatar

My first script ever was written in lua for a world of warcraft macro to spit out chuck norris one liners. People in the barrens hated me.

jungle ,

Thanks for that, I’ve been laughing like a little kid:

“hoo boy”

“lol”

“Become a programmer, they said. It’ll be fun, they said.”

I can feel those so well! :')

eluvatar , in Welcome to the wonderful world of code obfuscation

Honestly the first one is the only one that works when people define the first day of the week differently. On the other hand, it does make you wonder. If Sunday is the first day of the week (as it is in many places) then how is it also part of the weekend?

subignition ,
@subignition@kbin.social avatar

Yeah it's the front end of the week and Saturday is the rear end

Esca ,

But if you’re worried about locale, you can’t assume people use the string “Saturday” to describe Saturday either. That solution only works in English.

jonne ,

I assume this is in a language where the first day of the week is a fixed part of the language (like JS).

Halosheep ,

They’re the week’s ends, front and back.

Schrolli97 ,

Thats not really one weekend then though, is it? Its more like last week’s post-week weekend and this week’s pre-week weekend

Bdaman , in Monitor Alignment Alignment Chart
out ,
supercriticalcheese ,

It doesn’t bother you looking up or are you a giraffe ?🦒

ilikekeyboards ,

It’s a standing desk?

supercriticalcheese ,

I never seen a standing desk honestly, I thought it was a meme more than anything else.

Rai ,

I have a sitting/standing desk, at home and when h have to go into the office.

I use them to… sit.

Turun ,

I’m not using it as much as I should be, but it is genuinely a pleasant improvement over sitting all day long. A really expensive chair can do you a lot of good, but nothing beats the mobility of standing. When I read something or watch something I can do some light exercise for my legs, squatting a tiny bit and moving my upper body left and right for example. For a lot of people it can be a good start to moving their body a bit more.

If you go running every other day you don’t need it, I’ll give you that.

Bdaman ,

It’s an adjustable sit/stand desk. Its in sitting position in this picture

Bdaman ,

I don’t put much stuff up at the top that has small detail or need to look at alot

TrustingZebra ,

Needs more RGB.

snugglesthefalse ,

Wait till you find out how pixels work

h_a_r_u_k_i ,
@h_a_r_u_k_i@programming.dev avatar

Looking at your picture makes my neck hurt.

JohnDClay ,

TvTooHigh! I think we even have a community here for it already!

hdnsmbt , in They tried

That’s fine. People who don’t care about cookies will accept them anyway and those who do care about cookies will know not to visit that site anymore.

SpaceNoodle , in I love all my statements equally. (I don't care for GOTO)

“This would be better if it were covered in rust”

bob_wiley ,
@bob_wiley@lemmy.world avatar

deleted_by_author

  • Loading...
  • TheYear2525 ,

    Gee whiz, that pun was basic!

    yum13241 ,

    Maybe too BASIC.

    entropicdrift ,
    @entropicdrift@lemmy.sdf.org avatar

    They can’t all be perls before swine

    nogrub ,

    i C what you did there

    nieceandtows ,

    They’ve played us for absolute fools!

    httpjames , in Who did this one
    @httpjames@sh.itjust.works avatar

    Someone forgot the back ticks 💀

    ShroOmeric ,

    debuggin already, aren’t we?

    andrew ,
    @andrew@lemmy.stuart.fun avatar

    No back ticks helps prevent Lyme disease.

    squaresinger ,

    And Alpha-Gal (->red meat) allergy

    threelonmusketeers ,
    PipedLinkBot ,

    Here is an alternative Piped link(s): piped.video/X6NJkWbM1xk

    Piped is a privacy-respecting open-source alternative frontend to YouTube.

    I’m open-source, check me out at GitHub.

    GenXen , in Just a Normal Sprint Planning -_-
    PipedLinkBot ,

    Here is an alternative Piped link(s): piped.video/watch?v=hkDD03yeLnU&amp;

    Piped is a privacy-respecting open-source alternative frontend to YouTube.

    I’m open-source, check me out at GitHub.

    CodeBlooded ,
    @CodeBlooded@programming.dev avatar

    woa.

    CurlyChopz ,

    Those 2 things are not fucking related lol

    funkless_eck ,

    yeah they are. it outputs the IP address on a rad spinning dial with Sonic the hedgehog next to it

    reverendsteveii ,

    There was a lot wrong with VB but I miss being able to WYSIWYG together basic UIs and get back to Real Coding™

    ShranTheWaterPoloFan ,

    VB was great for learning coding.

    Slap some buttons down and have them do math. I made an NPC generator for every RPG I ran in VB as a teen. I felt like I was a hero putting out something that looked “good” for the time.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines