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.

knightry , in Who did this one

I love interns.

Omgarm , in Who did this one

Binged 4 episodes of that just now. I love it.

ono , in Its not wrong though

Cute. It would be funnier if it was correct.

cacheson , in Its not wrong though
@cacheson@kbin.social avatar

In this thread: Programmers disassembling the joke to try and figure out why it's funny.

Boogeyman4325 , in Would you agree?

Not really. Having heterogeneity among operating systems is better than pure homogeneity. Say, if everyone ran Linux, and some massive security flaw was discovered, we would all be screwed at the same time. However, if we ran different stuff, and some massive security hole was found for just one operating system, then only a small portion of the world is vulnerable at once. Besides, more operating systems can lead to more innovation, as long as there is good competition between them.

Kolanaki ,
@Kolanaki@yiffit.net avatar

If the whole world focused and used just 1 OS for every system for a long enough time line, I think it would evolve fast enough to reach a point of perfection, where there are no security holes or flaws of any kind. I do believe that while programming has many ways of doing the same task, there is always an objectively best way to do it. Eventually the best way to do everything an OS needs to do would be found; it would be faster if there was only 1 OS to work with to reach that point.

argv_minus_one ,

I do believe that while programming has many ways of doing the same task, there is always an objectively best way to do it.

I’ve been writing code in one form or another for some 30 years now, and my observation so far has been the exact opposite: there are many problems in programming for which there is no one clearly superior solution, even in theory. Just like life in general, programming is full of trade-offs, compromises, and diminishing returns.

Nintendo ,

where there are no security holes or flaws of any kind

this in itself is straight up impossible to know or prove. when can you say your program has no vulnerabilities? ever hear of zerodays? finding the best way to do everything in software will never be found or stay constant either.

ech0 ,

Must be nice to be so ignorant…

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

I do believe that while programming has many ways of doing the same task, there is always an objectively best way to do it.

Language has many ways of expressing the same thing, is there an objectively best way to do it?

Is that sentence the best way to ask that question?

cyborganism , in Its not wrong though

You can have the code of any software with a decompiler. Especially with Java and C# for example.

nfsu2 , in Its not wrong though
@nfsu2@feddit.cl avatar

I feel old watching this meme template

infinitevalence , in Hallelujah
@infinitevalence@discuss.online avatar

God everytime!

TheBurlapBandit , in This is clearly shaping up to be the pinnacle of this decade's technology

GET OUT. OF MY CAR. NOW

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Why are you yelling at me?

Eufalconimorph , in ways to close vim

cat /dev/zero > “/proc/$(pidof vim)/mem” is my favorite dumb way. Clear its memory, wait for the segfault.

savvywolf , in How it feels to learn JS in ~~2016~~ 2023
@savvywolf@pawb.social avatar

I stepped out of webdev like 5 years ago. Now every time I try to get back into things to work on an open source project or whatever I just give up because I do not understand things.

Everything seems to be based on React which is some kind of magic templating library that does everything? And also dynamically updates thing in response to changes and talks to the server?

I much prefer the days of just using vanilla js to manipulate a DOM and talk to a well defined API.

gornius ,

The thing is, they look like too much for a simple app with near none interactive elements.

But once app starts growing, concepts like reusable components, reactivity and state management become such an important tool.

Imagine tracking shopping cart’s total value. With these frameworks it’s just one store containing total value, exposing the value as reactive state. Once the value changes, all components using directly or indirectly that value update immediately. In vanilla you would have to keep track of every instance where that value is used manually.

Additionally, if you decide keeping total value of cart in frontend is stupid (because it is), you just modify your store to provide only readonly value, and create setters that require you to pass item or item id. Then that setter would hit up backend keeping your cart’s total value, add an item, and backend would return new total, which would now be set as that store’s new total value.

These frameworks are kind of SOLID principles applied to chaotic world of user interfaces.

gornius , in ways to close vim

ZZ will save file though, the others won’t. You meant ZQ.

WiildFiire , in This is clearly shaping up to be the pinnacle of this decade's technology
PipedLinkBot ,

Here is an alternative Piped link(s): piped.video/Z_1vfTkBq-k?si=NpJuy9WU7vxkeb36

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

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

Sonotsugipaa OP ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Truly what inspired me to fight against Vulkan’s complexity

Zozano ,

Thank you! I haven’t laughed that hard in a year or more. My sides hurt.

WhiteBlackGoose OP , in Leave it for the Nerds
@WhiteBlackGoose@programming.dev avatar

My first comic!

JackbyDev ,

Is the joke here that Fedora doesn’t use apt? Because that’s hilarious and I love it lol

darcy , in rule
@darcy@sh.itjust.works avatar

<span style="font-weight:bold;color:#a71d5d;">def </span><span style="font-weight:bold;color:#323232;">cosmic_ray_detector</span><span style="color:#323232;">:
</span><span style="color:#323232;">    </span><span style="font-weight:bold;color:#a71d5d;">while </span><span style="color:#323232;">false:
</span><span style="color:#323232;">        </span><span style="color:#62a35c;">print</span><span style="color:#323232;">(</span><span style="color:#183691;">"Cosmic ray detected!"</span><span style="color:#323232;">)
</span>
  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines