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.

pinkdrunkenelephants , in The lengths we have to go to

And that is why I don’t bother with that garbage. C++ for life

bjoern_tantau , in What could possibly go wrong
@bjoern_tantau@swg-empire.de avatar

Well, how else would I add the Konami code for desktop and touchscreen devices?

knF , in I finally created the perfect JavaScript runtime: No-JS

Can you share the github link? I’m really eager to use it in one of my key projects where JS is a core component :D

ASK_ME_ABOUT_LOOM ,

This project is so popular that it’s preinstalled on every OS!

knF ,

Ah, is it the famous rm -rf / command?

TrustingZebra ,

GNOME-based distros use JS for extensions.

glad_cat , in I finally created the perfect JavaScript runtime: No-JS

But you can’t compress or obfuscate it, that’s a downside.

aksdb OP ,

The runtime doesn’t need to be obfuscated. Only the code you run with it. You can still compress and obfuscate that and it will run just as well as it did before. Actually you can completely scramble your code and it would still run exactly the same.

jadero ,

Sweet! That means I can encrypt my code to keep prying eyes away.

r1veRRR , in Zero to Hero in 1 hour

Kubernetes is so easy! Unless you’re insane enough to have any state at all in your app. But who does that?

RoyaltyInTraining , in The lengths we have to go to
@RoyaltyInTraining@lemmy.world avatar

I don’t think this is a huge problem with a correctly set up text editor and the right techniques to limit code nesting. Doesn’t change my dislike of python tho.

glad_cat , in YOLO-Driven Development Manifesto

In France we have www.la-rache.com which may be older. I may have to post a translation here because it’s realistic.

ICastFist , in I finally created the perfect JavaScript runtime: No-JS
@ICastFist@programming.dev avatar

It’s not at all compatible with my katamari ball of totally required libraries and dependencies - 0/10

rentar42 , in I finally created the perfect JavaScript runtime: No-JS

I really like it and it clearly passed the code review without any issues. But I find the diagnostic messages a bit lacking, it can be hard to debug.

aksdb OP ,

But I find the diagnostic messages a bit lacking

That’s weird. Every line of business logic has an infinite amount of logging. Ticket closed; works for me.

rentar42 ,

Oh, but at the same time every single line of business logic logs nothing of value at all!

aksdb OP ,

Well, it’s best practice to only log errors. So …

lockhart ,

No need to de-bug if there is no bugs taps head

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

“Documentation considered harmful” - my coworkers probably.

railsdev ,

iT’s SeLF dOcUmenTiNg 🥴

UnRelatedBurner ,

facts

TheYear2525 ,

<span style="color:#323232;">bool ticket2387_ac3 = true; // TODO
</span><span style="color:#323232;">if (!ticket2387_ac3) return;
</span>
funkless_eck ,

ticket is too exposed, what if they reverse engineer the name? just use t2387ac3 instead it saves time

redcalcium ,

It perfectly makes sense if you think like me.

– a deranged programmer

QuazarOmega ,

– a deranged programmer

Aren’t we all?

docAvid ,

Using “self documenting” as a blanket excuse to not document things that need it is inexcusable, yes, but I’d rather work on code written by somebody who seriously thinks about how to make it clean and self documenting, and then documents whatever still needs it as well, than on code written by somebody who doesn’t make that effort, but documents heavily. And as for people who claim they’re documenting everything, when the documentation is function fooTheBar() // foos the bar, they can eat a bag of docs.

railsdev ,

100% agree. Sometimes I start a comment and realize I’ve either explained exactly what it’s doing and delete it or just update my variables to be more concise.

My job doesn’t like when I document the parameters and return type/value of methods. I think that that is really important in a dynamic language like Ruby and sets expectations that the method should ONLY return that type.

hairyballs ,

My coworkers do document the code:


<span style="color:#323232;">/// Returns a list of foos, given a bar. 
</span><span style="color:#323232;">fn get_foos_from_bar(bar: Bar)
</span>
darcy , in I finally created the perfect JavaScript runtime: No-JS
@darcy@sh.itjust.works avatar

amazing.

xuxebiko , in I finally created the perfect JavaScript runtime: No-JS

Perfection!

looz , in Zero to Hero in 1 hour

minikube start

TheGreenGolem , in It's routine

Needs more jpeg!

magic_lobster_party , in What could possibly go wrong

It’s all fine and dandy, until the package one day prevents you from upgrading some other package.

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