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.

NegativeLookBehind , in The easiest problem
@NegativeLookBehind@lemmy.world avatar

You should really be naming all your variables by generating 64 character (minimum) random strings.

rufus ,

Make it 63 (31?) to align with what C99 can distinguish.

Also: I really like unicode in identifiers. So if at all possible don’t just have a random string of letters and numbers, make sure to include greek letters and all the funny emojis. (I just forgot which languages and compilers etc allow that.)

NegativeLookBehind ,
@NegativeLookBehind@lemmy.world avatar

Wingdings as well

aBundleOfFerrets ,

Wingdings is a font and has no effect on the actual code. Only people who set their IDE font to wingdings will see wingdings

NegativeLookBehind ,
@NegativeLookBehind@lemmy.world avatar

Remove all fonts from the devs computers except for Wingdings and Webdings.

BodilessGaze ,

For extra fun, you can name your variables using solely Unicode invisible characters (e.g. non-breaking space) so they’re impossible to visually distinguish

LostXOR ,

Who needs private variables when you can generate cryptographically secure variable names? Much better security.

pheeef , in Added Bugs to Keep my job

somebody renamed the interface but didn’t rename the monitoring interface 2

henfredemars , in The easiest problem

I worked with a developer who insisted on using the shortest names possible. God I hated debugging his code.

I’m talking variable names like AAxynj. Everything looking like matrix math.

ray ,

At a previous job I had to work with an old database where all the tables and columns had 6-character names

wfh ,

Same. Old DB2 base from the 80’s that was migrated to Oracle in the 90’s then to Postgres in the 2010’s.

And the people there know all the column names by heart 😅

xmunk ,

I vomit whenever I have to read one letter alias SQL. And then… I dealias it.

nogooduser ,

I don’t understand why people think that it’s acceptable.

As developers, we’ve had it drummed into us from day one that variable names are important and shouldn’t be one or two letters.

Yet developers deliberately alias an easy to read table name such as “customer” into “c” because that’s the first letter of the table. I’m sure that it’s more work to do that with auto completion meaning that you don’t even need to type out “customer”.

xmunk ,

Especially when you also have company and county tables. It forces people to look up what the c is aliased to before beginning to comprehend what you’re doing.

redcalcium ,

Ah, must’ve been a fortran developer. I swear they have this ability to make the shortest yet the least memorable variable names. E.g. was the variable called APFLWS or APFLWD? Impossible to remember without going back and forth to recheck the definition. Autocomplete won’t help you because both variables exist.

mkwt ,

And you can write more than six characters, but only the first six are recognized. So APFLWSAC and APFLWSAF are really the same variable.

And without namespaces, company policy reserves the first two characters for module prefix and Hungarian notation.

henfredemars ,

He did write some Fortran in his past! What made you think it was Fortran influence?

geogle ,
@geogle@lemmy.world avatar

72 characters per line/card.

Templa ,

I’d say because fortran is often used for calculations such as numerical analysis where you have x, y and z for example.

I have written fortran code in the past and it was mainly for that.

redcalcium ,

Your first few programming languages usually influence you the most for the rest of your career.

HaywardT ,

And the rest of you are COBOL programmers.

dan ,
@dan@upvote.au avatar

shortest names possible

This film from 1975 is still relevant today: www.youtube.com/watch?v=7hdJQkn8rtA

ben_dover , in Any Volunteers

fuck idea guys. an idea is worth nothing until you actually put the work in

SupraMario ,

I have this idea of how to solve the world’s energy problem…ok ok just hear me out… nuclear fusion…just need some smart science nerd to figure it out. Any volunteers?

nexguy ,
@nexguy@lemmy.world avatar

I’m a rat scientist and want to take advantage of your idea.

mynameisigglepiggle ,

Meta af

veni_vedi_veni ,

I loved The Onion’s parody of TED Talks where an Idea guy is giving a presentation.

tweeks ,

Sharing ideas can definitely be worth something when it leads to something actual original/concrete/useful, but on another level.

Most ideas these “creatives” come up with are neither of those + they are not willing to put in some effort to solidify the idea themselves.

nifty , in Any Volunteers
@nifty@lemmy.world avatar

The same damn attitude of some “open source” projects looking for free labor, as if paid labor isn’t exploitative enough

namelivia , in Any Volunteers

No joke, I once met a guy like this in an indie game developers meetup, and on top of that he was extremely vague about his idea because he told everyone he once managed to get a coder on board and “that rat wanted to take advantage of him and his idea”, literally.

DragonTypeWyvern ,

I had a guy whose pitch was “Ok, you’re the president.”

That was the game idea. The whole thing.

SkyezOpen ,

Already played saints row 4, next!

DinosaurSr ,

I’m picturing Microsoft flight simulator but for politics. I’m in.

spirinolas ,

So, the game is sorting and answering Stimpy’s fan mail?

Zagorath ,
@Zagorath@aussie.zone avatar

So, Democracy?

spirinolas ,

This sounds a lot like the Sinking Simulator saga…

ekZepp , in Any Volunteers
@ekZepp@lemmy.world avatar

Just coding, 3d modelling and art. But the idea is great!

Matriks404 , in Any Volunteers

It ws only like a decided ago when I had multiple amazing ideas for games and other software, only to have nearly none when I actually started to do some programming for fun.

I think there’s only one game I would like to try making where I see it may have some success, but the idea is very vague and devil is in the details and execution I guess.

Luisp , in Any Volunteers

I would volunteer… for money

yetAnotherUser ,

“Sure, we’ll pay you 2% of the profits”

Honytawk ,

As long as it is in advance it is okay.

How big did you say your sales projection was?

yetAnotherUser ,

“Sorry, but we can’t pay in advance, you’ll have to put the work in first”

Swedneck , in Any Volunteers
@Swedneck@discuss.tchncs.de avatar

i mean, provided you actually want to put in effort that’s called “being a game designer”, it’s perfectly valid to not write code or create assets.

ulkesh ,
@ulkesh@beehaw.org avatar

Asking for and/or expecting unpaid volunteers is most definitely not valid.

If he wants to pay them properly, then I would agree.

recursive_recursion , in Any Volunteers
@recursive_recursion@programming.dev avatar

As a software dev who’s participated in a couple of game jams and several group projects,

  • I’d say that anyone that claims to be a designer but has no programming experience is typically incompatible with any project
    • and it’s due to the disconnect of understanding just how difficult it can be to translate certain design tasks into functional code
Xavienth ,

Not to mention that an idea is not a game, not even conceptually. There’s a reason it’s called game design and not game turn-idea-into-code.

pivot_root ,

It’s like scope creep, but where the demanding client is also your boss/coworker.

Guru_Insights99 ,

Hey there, champ! I appreciate your enthusiasm, but I’m afraid I have to disagree with your statement. Game development with effort or coding skills? Today I’m gonna show you how to do it without any effort, it’s like becoming an astronaut by watching the big bang theory!

Let me break it down for you. You see, creating a video game is as easy as pie. Typically, you would use lines of code. But what if I told you that you can gather a bunch of random images from the internet, throw them into a a computer, and voila! You’ve got yourself the next “Call of Duty” blockbuster. Going by standards nowadays people will be lining up to buy your game, guaranteed!

Who needs coding when you can just use a magic wand and poof your game is magically coded? Just like that! Forget the coding aspect of it, you can make a game effortless! How do I do this you ask me? Well, If you really want to master the art of game development without lifting a finger, I have the perfect solution for you. Introducing my revolutionary course: “Effortless Game Development Masterclass”! In this course, you’ll learn the ancient secrets of game creation without any pesky coding skills or effort required. You’ll be churning out awards winning games in no time, all while lounging on your couch and eating Cheetos. 😎😎👊 Dm me if you want more info for the affiliate link

recursive_recursion ,
@recursive_recursion@programming.dev avatar

that’s real cringe dude

might I suggest adding /s at the end,

  • not sure if that would help as reading that was painful
yetAnotherUser ,

You have to put /s in the end, because people in this day and age can no longer recognize sarcasm, probably because we all spend way too much time on the Internet.

manefraim ,
wahming ,

That’s not sarcasm, that’s satire

yetAnotherUser ,

Is it? Didn’t know about it until now…

AVincentInSpace ,

buys masterclass

Okay so step one is you’re gonna download Scratch

MonkeMischief ,

You absolutely nailed it LOL. Those flashy courses with absurd prices and “funnel techniques” prey on idea-people who are scared of code like whale sharks on plankton.

refalo , in Any Volunteers

I actually wish this mentally kindof existed for hobby projects (although it doesn’t seem to, but please prove me wrong), like “looking for a programmer for X project to do Y” type posts where us programmers can more easily find projects to participate in (and they can find good people too) that we have a great interest for, rather than hunting sites like up-for-grabs for single feature requests to fulfill or starting completely new projects on our own.

I_am_10_squirrels ,

I tried setting up something like that, back in the half life mod days. Had lots of people submitting help , never got anyone with help offered.

refalo ,

perhaps things might be different this time around? wouldn’t hurt to try.

cammoblammo ,

Isn’t that how the open-source community operates?

Actionschnils , in Any Volunteers

I once read an article about a guy, whos just doing this. He is selling gaming ideas to studios. But to be fair, he did develop some indie game by him self. He just realized, that he is not good in developing and the hates the whole programming and design part. He only has good ideas.

DABDA , in Any Volunteers

The Chicken and the Pig

The fable of the Chicken and the Pig is used to illustrate the differing levels of commitment from project stakeholders involved in a project. The basic fable runs:

A Pig and a Chicken are walking down the road.
The Chicken says: “Hey Pig, I was thinking we should open a restaurant!”
Pig replies: “Hm, maybe, what would we call it?”
The Chicken responds: “How about ‘ham-n-eggs’?”
The Pig thinks for a moment and says: “No thanks. I’d be committed, but you’d only be involved.”

xmunk ,

Damn, that’s a lot fucking darker than I’d thought it’d get on reading the title of the fable.

chr ,
@chr@lemmy.ca avatar

I think it’d be rarer to find a fable that wasn’t dark.

JackGreenEarth ,

Tortoise and the hare isn’t particularly dark.

Rhynoplaz ,

You obviously didn’t read the version where the hare gets eaten.

darelik ,

Tortoise kills hare in horrifying video. More at 6.

Edit: it was a seabird

DABDA ,

I heard of it from a Reddit comment about an easter egg location in Diablo 3 called “The Fowl Lair.” It’s filled with chickens and a single Greasy Pig.

abbadon420 ,

It was actually in my management textbook XD

deweydecibel ,

I know it’s not the point, but I love the completely arbitrary bit where they’re walking down a road together, and has absolutely no bearing on anything the happens.

Hexarei ,
@Hexarei@programming.dev avatar

It has one bearing: it puts them in the same location together

makuus ,

Substitute “walking down a road” with: “having dinner at a conference”, “chatting over lattes at the local coffee shop”, or “at a neighborhood cookout” as makes sense.

SkyezOpen ,

So this pig is fucking a chicken, and the chicken says…

RagnarokOnline ,

…stop cluckin around back here! We’ve got customers to serve.

EmoDuck , in Any Volunteers

There are probably a ton of incredible banger games out there that don’t exist because the person who thought of it just doesn’t know how to code

moog ,

“games out there that don’t exist” how high r u rn

Grandwolf319 ,

Yeah man, didn’t you know. We have thousands of cheap and effective treatments for cancer that don’t exist.

Kolanaki ,
@Kolanaki@yiffit.net avatar

I can code but I can’t do art. I can make a game, but it will look ugly as fuck.

xmunk ,

Build a MUD.

Kolanaki ,
@Kolanaki@yiffit.net avatar

I do want to make a sci-fi Dwarf Fortress clone with just ASCII representation.

xmunk ,

Do it dude - if you’re passionate about building a rich simulation game then there’s a good chance you’ll create something awesome. We’ve seen huge successes with Dwarf Fortress and Rimworld - those sort of complex simulations can be both fun and dazzlingly interesting in terms of their emergent game play.

It’s relatively simple to get started, just simulate one thing or render one simple 10x10 grid, and work your way up. Remember that video games take a lot of effort and set reasonable goals and milestones to recognize your progress… DF originally played on an, essentially, fixed map with no z-plane - wildlife was non-existent and sieges were just pre-planned events.

If you have an idea in your soul go for it!

space ,

Same boat… But I had some success with low poly 3D models which I found are pretty easy to make. Learning a bit about color theory, how to match colors, as well as learning a bit about level design goes a long way. You can make a great looking game this way.

But my dream game is 2D pixel art, and I really suck at it.

AeonFelis ,

But I had some success with low poly 3D models which I found are pretty easy to make.

Same. I find that for non-artists 3D is easier than 2D because:

  1. You get things like depth and shadowing for free.
  2. Animations are easier. Or, at least, it’s easier to keep them consistent and to control their pace.
  3. 3D software has much more tools that non-artists can somewhat grasp.

Of course, my 3D models still look like crap - but it’s better looking crap than my 2D sprites…

space ,

And also, you can sort of brute force things to look good it with shaders.

Potatos_are_not_friends ,

This is why AI has been a boon to creators.

I’ve generated some great pixel art that required a tiny bit of Photoshop to get it in a good state.

Landless2029 ,

Especially if you just need placeholder art you can use AI to drop in general ideas and later replace the art by a partner or contractor.

If you get a demo off the ground with “alpha” graphics and look decent you can market it better and maybe build a team.

I think a big benefit for this is also motivation. You no longer have a blocker due to missing art or issues with an artist.

Uhh… need a character design for the mayor. <<AI art placeholder>> ok now text… <<AI first draft dialog >> ok now code…

No more excuses!

I_Has_A_Hat ,

You mean like an MMO where different maps are arranged in an infinite hexagonal pattern that’s randomly/procedurally generated based on different biomes, that also keeps track of how many players have entered/completed each hex and begins scaling down the difficulty in said hex and evolving it into a more peaceful zone, that way the higher traffic areas eventually form safe zones/towns for low level characters while low traffic areas encourage high level characters to visit and explore, with the highest level characters able to survive unexplored areas and expand the map for all players, all while having developer tools to specifically add unique dungeons/events/items directly to tiles so that the game doesnt feel a mile wide and an inch deep but instead as if the whole world map is alive and constantly changing?

Yea… That’d be cool.

EmoDuck ,

Definitely some cool ideas there but how do you deal with the long term effect of the map becoming too big?

The bigger the map the more the defs would need to stretch their resources to adding cool stuff.

Also, at some point, the inner hexes will be essential all complete cleared and new players will have to wander for a while as soon as they level up a bit.

Unlocking a new hex would be fun at the beginning but how fun will it be after 100+ have been unlocked and any more just will inevitably just feel same-y because even the best defs will eventually run out of ideas

thews ,

You have found the Wayne’s World dungeon.

Welcome to Wayne’s World: The Game You find yourself in Aurora, Illinois, the hometown of Wayne and Garth. You’re on a mission to help them prepare for their biggest public access TV show yet. Scene 1: The Basement You’re in Wayne’s basement, surrounded by music gear, posters, and a comfy couch. Wayne and Garth are brainstorming ideas for their show, but they’re stuck. They need your help to come up with a killer opening segment. Do you: A) Suggest a musical number with Wayne and Garth performing a duet of “Bohemian Rhapsody” B) Recommend a comedy sketch parodying a popular movie or TV show C) Propose a special guest appearance by a local celebrity D) Suggest a “Top 10 List” segment, à la David Letterman Choose your response:

You have found the Encino Man Dungeon.

Encino Man: The Adventure Begins You are Brendan Fraser’s character, Link, a caveman who has been thawed out and is trying to navigate modern life in Encino, California. Your goal is to make it through each scene without getting into too much trouble. Scene 1: The Thaw You wake up in a block of ice in a backyard. You’re confused, hungry, and thirsty. You see a garden hose nearby. Do you: A) Drink from the hose B) Try to break out of the ice C) Look around for food D) Take a nap Choose your response:

LLM to generate ideas, history to check uniqueness

vzq ,

(X) DOUBT

RealFknNito ,
@RealFknNito@lemmy.world avatar

I had a cool idea that I completely gave up on because I tried to learn how to do it and realized what I was asking was so insanely complicated and time consuming that I couldn’t do it. I play a lot of games, I know what would make a good one, there’s just a gaping chasm between knowing and creating.

Ephera ,

The problem is that this complexity isn’t just a one-off thing you need to get through. There’s a ton of details which matter, which you will not have thought through as part of your idea.

Many of these details, you will encounter as you write code. As in, you’ve just worked for three weeks on a feature and then realize a glaring problem in one of the details. Then you spend another week trying to find a solution. And worst-case that solution is to rip out that month of work and start fresh.

This has been my biggest learning from dabbling in gamedev for a while: Make a stupid paper model first.

Even if you spend a week glueing sheets of paper, and you don’t really even get that close to your actual idea, the more of these details you think of upfront, the higher your chance of getting anywhere (or scrapping your idea without wasting months trying to put it into code).

Well, and the other big learning was: Holy crap, gamedev is hard.

I know how to “code”. I’m a senior developer and have worked on multiple large-scale software projects.
The scope of the game I was trying to create, was laughable in comparison. As in shitty 2D, tile-based, turn-based.

I encountered performance problems like I’ve never had to deal with in my career, because it turns out the whole games industry is fueled by smokes and mirrors.
Know how ray-traced lighting is the craziest new technology? Yeah, that’s literally just a matter of hardware being strong enough that we can simulate lighting in the way it actually works. It’s conceptually simpler than the ever more sophisticated bullshitting we did beforehand.

fosho ,

have you ever smoked weed? ideas are cheap - even ones that seem good. ACTUAL good ideas are only proven good when they are implemented AND become successful.

Potatos_are_not_friends ,

Nah.

That’s like saying a lot of banger songs could exist but the person doesn’t know how to write music.

Absolute delusional bullshit.

Verifying the idea is good is also part of the process. Play testing, making hard decisions, smoothing out jank, juicing up the experience… The whole implementation can make or break a game.

floofloof ,

It’s like saying there are so many great novels out there that we have never seen because the authors can’t write for shit.

prowling4973 ,

Not “great novels” but great “great world building”. I’ve seen some absolute bangers out there where the concepts, characters and even the overall plot blew my mind away. However, the authors couldn’t write decent dialogues or a coherent chapter of their life depended on it. So, most people wouldn’t be exposed to their ideas.

ZILtoid1991 ,

I had to learn that the hard way, but with a comic/manga idea I used to have.

Long story short: I worked way too long on an idea (almost 10 years), all while my taste etc. changed. It would have been way too hard to get it working after a while without a complete revamp of the whole idea, so I ditched it completely, maybe reuse elements and character concepts in other things, including video games (yes, they’re easier to make, unless your comic’s artstyle is stickmen figures).

Aceticon ,

The inability to detail the idea all the way down to the level were something concrete can be made from it kills it well before the lack of coding skills.

It’s like what separates having an idea for a book and writting an actual book that is enjoyable to read: there is no “knowing how to code” barrier in there and yet most people can’t actually pull it off when they try or it ends up shallow and uninteresting.

phx ,

This is actually one thing I’ve been thinking AI and deepfake tech can potentially do good. Let’s say you have an idea and can code… You have an idea for music but no instrumental talent, so the best you can do is hum it. You can’t afford voice actors or other professionals.

Or maybe you’re artist with an idea who can storyboard but not code. Maybe you can make 2d designs but not 3D models, or aren’t great at animate.

But… there is software that can take what you say and change it to a different voice. It can animate a model to match the words. Similarly, software that could generate instrumental sounds from humming is possible. An AI can generate interactive dialog. It could also provide assistance in the generation of music, debugging of code, and eventually more advanced 3D modeling.

A lot of game design software is much more a GUI to an environment/model and triggers etc than stuff like writing hardcore backend C++ code etc. AI could take that even further.

Then add VR. Drop somebody into a blank-slate where they can create a whole world with a word, a gesture, and a great idea.

One day, that might be a reality.

Potatos_are_not_friends ,

The creator still needs to know “what” to ask and how the pieces fit.

As a coder, I’m constantly taking whatever AI gives me and rewriting it. AI is just a better lorem Ipsum generator.

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