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.

shiveyarbles , in python < shell (for scripts)

They may not know but they will when I explain kekeke

FlaminGoku , in Always write comments

The code itself is enough documentation!

That’s what people with tribal knowledge like to say when they are really saying “I’m the only one who knows how this works, it 's hard to get rid of me.”

Noodlez , in Null terminator

Now I want to try this.

db2 ,

Now I want to try this."; DROP TABLE ‘users’;

ftfy

ButWhatDoesItAllMean ,

Little Bobby Tables

Revan343 ,

I really want to start a synth band called Robert and the’); DROP TABLE ‘artists’;

Dax87 , in Why is it so hard finding up-to-date docs and guides?
@Dax87@forum.stellarcastle.net avatar

I also feel like agile methodology, which is becoming more common, works against documentation with the fail fast fail often philosophy. If your feedback loop with your stakeholder is rapid, then changes to the design plan are often and rapid as well, which requires more documentation change overhead, which makes documentation even less appealing.

In fact SAFe Agile emphasizes working software over comprehensive documentation.

blackstrat ,
@blackstrat@lemmy.fwgx.uk avatar

SAFe Agile can go fuck itself. It’s the worst of everything, isn’t actually agile and is a disease infesting corporations who don’t know any better.

All these methodologies and philosophies are all invented so a few people can sell books, training and lectures.

NatoBoram , in Until there's a community for Enterprise Networking you have to suffer my meme.

I’d argue that if you only know how to start your own project using the play button, then you aren’t a software engineer.

Rinox ,

I’ve written a pretty big application for my employer in visual studio. Never once have I run a “dotnet build” command. Only ever used the little play button. Guess I’m no software engineer

The real software engineers are those who can 2 minute Google “how to build with cli” their Hello world console app.

NatoBoram ,

But you knew about dotnet build

Rinox ,

Tbf, I looked it up on Google. I know you can do everything you can with Visual Studio also in the CLI, but never bothered checking out the specific commands. 2 second search on Google returned donet build.

A software engineer isn’t defined by what commands he knows or what functions he can remember off the top of his head or what languages he used to write hello world. Those are easily Googlable things that have little to no value irl. The ability to actually solve a problem or build an architecture, a system, even if only in pseudocode is much much more valuable than knowing any specific command.

Case in point, I routinely Google stuff I already used or self reference previous code I’ve written cause I can’t remember how I did certain things. Nothing wrong with that.

NatoBoram ,

There’s no shame in being a play-button corporate programmer who’s in it only for the money! In fact, most employers prefer this kind of people.

Yearly1845 ,

Knowing how to do something in the CLI and choosing to use the gui is different than only being able to use the gui.

Rinox ,

I don’t. Looked it up on Google, not that hard. I also never use git from the terminal, I know I could, but I don’t and if you were to ask me off the top of my head how to use it from the cli, I probably wouldn’t be able. Not because I can’t use git, I just can’t be bothered to remember all the commands when a gui is available and does the exact same thing I needed to do anyway. If and when I’ll need to use the terminal for git, I’ll check the docs for the exact syntax.

Again, knowing the exact syntax it’s not what defines a software engineer, IMO.

Yearly1845 ,

Then yes, you are not a software engineer. You used programming to solve one problem one time and you didn’t understand what was happening under the hood. Building one deck does not make you a carpenter. Writing one app does not make you a software engineer.

andthenthreemore , in Actually not funny
@andthenthreemore@startrek.website avatar

Programming aside electric self edge labels are the future. Where I work we do paper labels for about 50 pretty small stores and use best part of 30,000 sheets of paper a week.

Uli ,

I imagine with inflation causing an increased frequency of relabeling and relabeling costs causing an increased rate of inflation, it’s only a matter of time before I become too lazy to finish this joke.

durtuha , in OK, now what?
@durtuha@programming.dev avatar

now install gentoo

boonhet ,

Okay, I don’t think Gentoo is the best OS for beginners

But

I think people new to computers (yes, I mean kids) should be handed a computer booted off a gentoo image with the handbook and wiki.

PervServer , in You know who you are

I mean I have Debian running an Ubuntu VM running docker. It’s VMs all the way down baby

mundane , in One command to rule them all

That is stupid. Those commands are for different use cases.

vaxpy , in When IT insists on autogenerated email addresses…

That happened

lazyvar OP ,
@lazyvar@programming.dev avatar

You don’t know Some Software Corp and their world famous website somesoftwarecorp.com?

UFODivebomb , in Writing C++ is easy.

Way too short to be a real C++ error. Needs a few more pages of template gibberish.

sunbeam60 ,

Template<Instatiation::_1,_2,_3, Instatiation2::_1, _2<closure::wrapped<_1[map::closure_inner]>>, Outer<Inner<Wrapper<float>>>>::static_wrapper<std::map<auto>, spirit::parser::lever<int, std::array<int>>::fuck_you

mormegil ,
@mormegil@programming.dev avatar

Syntax error: unmatched thing in thing from std::nonstd::__map<_Cyrillic, _$$$dollars>const basic_string< epic_mystery,mongoose_traits<char>, __default_alloc_<casual_Fridays = maybe>>

(from James Mickens’ The Night Watch, highly recommended with his other essays: mickens.seas.harvard.edu/wisdom-james-mickens)

snor10 , in Writing C++ is easy.

Yeah, but which one i cooler?

corm ,

Rust because having a package manager is important.

Even C has a package manager

mrmanager , in B-bug? What bug?
@mrmanager@lemmy.today avatar

I try to always rewrite complicated code. As an example, another dev who left the team had written a program in Elixir that nobody knew or understood. I rewrote it in python (with his help, since I still had contact with him over chat). After that, everyone in the team could understand the code and we could make changes very easily to it and document it.

Another program he wrote in python was kind of complicated and we would have bugs in it that we didn’t know how to fix. So I rewrote it with a completely different architecture with focus on simplicity. And again, now everyone could just read the code and understand it.

I think many devs are writing code that is not simple to understand for others. Then rewriting it can be worth it to avoid the pain of trying to fix bugs in complicated code.

Phoenix ,
@Phoenix@programming.dev avatar

That’s only the first stage. Once you get tired enough you start writing code that not even you can understand the next morning, but which you’re loathe to change because “it just works”.

mrmanager ,
@mrmanager@lemmy.today avatar

Yeah I’ve had that experience too. But sometimes I write a lot of hackish code to get it to work, and then after spend time rewriting it so it’s easy to understand. But it depends on mood. Sometimes I don’t change it because it’s complicated and it would be too much thinking required to make it better. :)

Programmers are often lazy by nature…

Phoenix ,
@Phoenix@programming.dev avatar

Lazy is right. Spending fifty hours to automate a task that doesn’t take even five minutes is commonplace.

It takes laziness to new, artful heights.

AlexWIWA , in Single?

Just wait for them to buy programming socks

a_statistician ,
@a_statistician@programming.dev avatar

What’s wrong with programming socks?

AlexWIWA ,

Nothing, he’ll just finally have women to date in his CS classes.

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.

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