cybirdman,

Master Thief const { Max: max } = Math;

wethegreenpeople,

Engineer I guess… Thief is the objectively better enterprise programmer option but I don’t know why I always forget about it and just write a ternary ¯⁠\⁠⁠(⁠ツ⁠)⁠⁠/⁠¯

mindbleach,

JS instills distrust. Rely on built-in sort? It’s alphanumeric. Rely on built-in reverse? It modifies your array. Copy an array? No you didn’t.

Yeah no kidding we bang out a kata in a dozen characters. I don’t even believe in order of operations at this point. I’ve been routinely betrayed.

bstix, (edited )

And then your customer changes their mind. Instead of two numbers, they will now input three numbers. How easy will it be for you to change your code?

And then the customer changes their mind. Instead of three numbers, they will now input any series of numbers. How easy will it be for you to change your code? And why didn’t you already do this is the previous step?

And then the customer changes their mind. Instead of any set of numbers, they will now input numbers and text. How easy will it be to change your code?

And then the customer changes their mind. They now have no idea of what they’re sending you or if they’re even sending you anything. Nevermind the code now, you already did that in the previous step, right? How easy will it be to explain what you’re invoicing them for?

Natanael,

How easy will it be to explain what you’re invoicing them for?

By the hour I presume

bstix,

If only you’d done the most bloated and well documented function first, you could have saved yourself the time and your client for the money.

I mean this is the kind of shit my boss would argue about. Why pay for the first attempts that didn’t work… blabla bla. He always ends up paying but it’s always such a hassle.

Fungah,

Reminded of how truly little I know about programming despite the time have spent doing it

Ugh. I’ll never be any good.

Theharpyeagle,

Listen, in industry programming (and for personal projects if you want to get them done), the thief is the way to go. By all means, challenge yourself to understand each of these functions, but 99% of day to day development will not look like this.

pomodoro_longbreak,
@pomodoro_longbreak@sh.itjust.works avatar

How much time have you spent doing it? What part didn’t you understand? If it’s the bit shifting stuff, don’t worry about it - hardly anyone actually knows how that works unless they look it up.

Fungah,

About a year with varying levels of commitment and intensity.

I kind of just threw myself into the deep end. Which was a rewarding but frustrating experience. My first project was one hot encoding 400gb of reddit porn to try and teach stylegan3 how to make porn. And then turning the function on in stylegan3. And then there was validating the images and ditching the ones that erroted. Resizing the whole datasets. Using ffmpeg to extract stills from the gifs and mp3s

I found stable diffusion existed like 5 days into actually training it which was bitter sweet. I mean. No way it would have produced actual porn but I was really looking forward to the horror.

I taught myself as I went along which is a great way to learn but it’s super disheartening when I see the math that’s second nature to anyone whose studied this stuff academically… I don’t like math. In fact I hate it, and no matter how skilled (or not) a coder I become I’ll never learn calculus sometimes makes it all feel like a fools errand.

pomodoro_longbreak,
@pomodoro_longbreak@sh.itjust.works avatar

I also hate math, and am jealous of people who are good at it. I get anxiety just doing simple multiplications, and have to look everything up. That said, I’m a senior platform developer, and earn more than anyone else in my family, so like… math helps a lot, but you don’t neeed it to be a real dev. Certainly not to be a hobbyist/hacker, like yourself.

DumbAceDragon,
@DumbAceDragon@sh.itjust.works avatar

Either engineer or bit hacker, depending on whether or not I’m trying to avoid branching.

whaleross,
@whaleross@lemmy.world avatar

One, two and nine. Depending on the project, depending on the requirements.

PeriodicallyPedantic, (edited )

If thief is actually an option, then thief.

Otherwise probably procreator or engineer 😅😬

Edit: errrrr that was supposed to say “procrastinator” 😬dyac

maegul,
@maegul@lemmy.ml avatar

https://lemmy.ml/pictrs/image/ad47683b-e2d7-4607-97ec-7f83d468f11a.jpeg

Otherwise, realistically, I’m prob the worst of all worlds … the procrastinator waiting/hoping to be the pair programmer that has hopefully remembered to just be the thief.

drew_belloc,
@drew_belloc@programming.dev avatar

I’m the first and the last, it depends on my mood

Moxvallix,
@Moxvallix@sopuli.xyz avatar

I’m number 11.

kromem,

max6(1, 2, 3)

Man that’s going to cause some headaches…

peyotecosmico,

I’m in this post and I’m offended.

writeblankspace,

Thief, or Procrastinator.

cpw,

Max11 is all my code. Why doesn’t it work???🤔

13,
@13@masto.bg avatar

@coja I am the engineer because I forget about Math.max existence

Tolookah,

Engineer likely ends up with the smallest code. Though the hit to execution time for a branch sucks. (Pipelines and such)

Bit hacker will take the least execution time because of pipelines, but it needs more comments. Maybe something like // trust me, this works.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines