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.

genfood OP , in D or d come on

I seems that I have triggered something, but keep that going, it’s quality content generation. 😬

drolex ,

Everyone on any Linux thread ever: you are a moron, obviously and you’re doing it wrong. Why don’t you install another distro, or better yet: modify and recompile your distro to match your desired experience, the code is open source ffs! What do you need? 4 years of work maybe? Come on.

GCostanzaStepOnMe ,

Anything that slightly improves UX is bloat.

drolex ,

True! I’ve got rid of my monitor a long time ago, who needs one? gshshhshshshhshbsbbs

gnutrino ,

I got rid of my whole computer a long time ago, now I just use rocks. Much less bloat.

quantenzitrone ,

bro that xkdc is gold

spez , in Memory is overrated

I have a repo with another repo inside it which was the one deployed. I forgot how all of it worked and wasted like 4 hours combined. Definetly gonna write docs from now on.

noobdoomguy8658 ,

Definetly gonna write docs from now on.

Sure thing.

sbv ,

They’re serious this time

krey , in Memory is overrated

The trick is to name everything in a way so you don’t have to remember stuff. Like instead of class “Cronjob” method “process”, name it “ImageCacheEraser” and “purgeByContentID”. Same goes for variables. No need for short names. Nowadays, you can even write with short names at first, so typing is faster, then just use your IDE to rename them to full size afterwards.

Speculater ,
@Speculater@lemmy.world avatar

Just not too short or you’ll end up renaming a random variable you didn’t mean to… I’ve heard.

hemko ,

for i in…

krey ,

Some IDEs (like Netbeans, Intellij, PhpStorm) can rename only in the scope of the selected item. So if you used variable “a” in 2 methods, it would only rename in the selected method and it understands the variable is different from “ab” and won’t replace the “a” part of that.

pchem , in D or d come on
darcy , in It's routine
@darcy@sh.itjust.works avatar

bro has never heard of reading the compiler error

UndefinedIsNotAFunction ,

When you’re in VSCode with 10 different red squiggles, who can be bothered?

Edi: Also, OH MY GOD JUNIORS WHO WON’T JUST GOOGLE THE ERROR MESSAGE.

darcy ,
@darcy@sh.itjust.works avatar

vim supremecy

redempt ,

man will never survive the rust programming language

Klaymore ,
@Klaymore@sh.itjust.works avatar

Python issue

ChickenLadyLovesLife ,

I first started programming with TurboBasic which had the oh-so-amusing characteristic that you could have variable names of any length but the compiler only used the first two letters (and case-insensitive at that). So “DonutCount” and “DoobieCounter” actually referred to the same variable.

Really good times trying to debug that kind of shit.

PoolloverNathan ,

I’m trying to write an intentionally bad programming language. Don’t give me ideas.

ChickenLadyLovesLife ,

Make sure you add a “Variant” type lol.

PoolloverNathan ,

It’s called a String.

ChickenLadyLovesLife ,

Oh you sweet summer child. The Variant type in VB was so much worse than just a String.

PoolloverNathan ,

I’m just complaining since I have the fortune of using a language where everything is represented as a string.

What is 3 + 5?

ChickenLadyLovesLife ,

35, naturally!

PoolloverNathan ,

A lot of people would say 8, I’m glad I didn’t have to correct you.

idunnololz , in They Need To Stop Doing This
@idunnololz@lemmy.world avatar

Too real

fibojoly , in Steal What Is Stolen

Stealing implies depriving the original owner of something that you know possess.
The entire digital medium invalidates this concern by its very nature, yet we keep reintroducing it anyway.

OsrsNeedsF2P , in Memory is overrated

Is it my turn to repost this next week

the_artic_one OP , (edited )

I should write some documentation so I don’t have to remember which memes have already been posted here.

ObviouslyNotBanana ,
@ObviouslyNotBanana@lemmy.world avatar

You’ll never read it

bleistift2 , in Memory is overrated

Clean code, extensive documentation, help files and readmes aren’t supposed to prevent you from forgetting how it works. I’m not sure what you’re trying to tell me with the second half of this meme.

krashmo ,

That you’re taking things too seriously. It’s a meme not a dissertation.

JoMiran , in Memory is overrated
@JoMiran@lemmy.ml avatar

I’ve been at this for almost thirty years. At this point, I’ve forgotten more than I have ever learned.

expatriado , in It’s a game for kids!

oh, i solved that assignment in school… by finding the algorithm online

Karfkengrumble ,

You’re hired, welcome to the team!

LetterboxPancake ,

I had enough colleagues unable to type exactly what they asked me into whatever search engine they preferred to accept your statement. If you don’t know how to use a search engine go ask for another job.

“Hey pancake, how do I run all tests via gradle?”

Open your browser, head to Google and type “run all tests in gradle”

“Oh, nice. Thank you for your help!”

And the next day the game starts all over again.

ChlorineAddict ,

Bonus points for leveraging the work of others contributing to their success

Anonymousllama ,

As it should be, there’s way too much reengineering of the wheel. Let the big brains of the past do the heavy lifting

DragonTypeWyvern ,

screams in that’s not the point

fsxylo ,

Pfft, writing a program that collects user input and displays it is just trite. I’m going to skip straight to building an MMO.

frickineh ,

Science-based, 100% dragon MMO or gtfo.

CurlyChopz ,

I need 100k in my kick starter by tomorrow, sharp

Rodeo ,

You’re right. The learning is the point. So rather than flail in the dark, why not learn the optimal solution?

PoolloverNathan , in Steal What Is Stolen

There is no code. Only &code.

autokludge ,
@autokludge@programming.dev avatar

https://programming.dev/pictrs/image/795eede5-4ce1-4d47-9466-005fc91e0fbf.png


<span style="color:#323232;">There is no code. Only ﹠code.
</span><span style="color:#323232;">                       ---- immutable borrow occurs here
</span>
akash_rawal ,

That error doesn’t occur if you only ever copy the code as-is taps head

PoolloverNathan ,

There is no code. Only Cow<code>.

evatronic , in Memory is overrated

This is terrible! What half-witted shit-for-brains monkey crapped this craptacular crapfest out?! I swear to Kaballah Monster, as soon as I figure out…

git blame

…oh.

darcy , in D or d come on
@darcy@sh.itjust.works avatar

i renamed my home folders to dl, docs, pics, etc. and use auto-cd (whatever its called) to just type dl instead of cd dl

Rodeo ,

You could just use aliases in your bashrc

alias dl=cd ~/Downloads

Might need quotes around the command.

darcy ,
@darcy@sh.itjust.works avatar

sure, but what if need a subfolder of dl, like dl/source or whatever. same with documents and pictures

MrScottyTay ,

I’m sure that still works with aliases. Then you’ll have dl/source and Doenloads/source that are the same location. Using aliases will mean any script or program you may use that might point to them won’t just create a new default folder that is then no longer the same location as the renamed one that you’ll expect everything in

darcy ,
@darcy@sh.itjust.works avatar

ok but if i open a gui file explorer, i can type dl to go to focus downloads, and do can match downloads or documents (or dotfiles)

MrScottyTay ,

Oh, yeah i think i also confused them with symlinks, you could use them?

darcy ,
@darcy@sh.itjust.works avatar

true, but then i would have duplicates of those folders in home directory

MrScottyTay ,

That’s fair

Rodeo ,

You have to try it but I think it still works. Aliases just replaced the text you typed with text in the alias, so if you append a subfolder to the alias it should also be appended to the command.

It’s like using !! when navigating folders. You can do cd ~/Downloads and then !!/source and it resolves to cd ~/Downloads/source

Feathercrown , in Steal What Is Stolen

Repost

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