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.

Bipta , in Isn't it ironic, don't you think?

Before I do anything "risky" with forms I copy the text AND paste it somewhere else to confirm I really copied it. Only then do I take the next action, and still I get burned all the time by crap like this one way or another.

docAvid ,

I usually just start from typing it up in emacs, then copy paste it to the fussy little form. Anything over six words, it probably saves me time, even if nothing was going to go wrong. And then… Just as you said.

squirrel , in Isn't it ironic, don't you think?
@squirrel@discuss.tchncs.de avatar

It’s like raiiiiiiin

eric ,

On your wedding day

nogooduser , in Isn't it ironic, don't you think?

I recently had a complaint form refuse my complaint because it was too rude!

There wasn’t any bad language in it at all. I removed the sentence "It’s now more than two months since the accident and I would have expected the repairs to have been completed by now” and that let it through - sensitive or what?

dustyData ,

I once had the opposite experience. Calmly and amiably complained about an employee misbehaving, but got asked aside by the manager to talk. She asked me to put the complaint in writing through their system and, looking directly at my eyes, added “Please feel free to be as explicit and emotionally expressive as you want. Don’t refrain from expletives, rudeness and bad words. We would really, really want to understand the extent of your upset over this situation, you know what I mean?” That’s when I realized that she wanted to fire this employee guilt free and was asking me to give her the ammo for the firing squad in front of HR.

Ambiorickx , in I know, I know, but this revision compiles

“Documentation”

Spoken like someone who never came close to SAP

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

<span style="color:#323232;">ifelse 
</span><span style="color:#323232;">    eatme 
</span>
princess , in I love all my statements equally. (I don't care for GOTO)
profoundlynerdy ,

Perl has entered the chat.

WhiskyTangoFoxtrot ,

No, that’s just some random line noise.

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

“This would be better if it were covered in rust”

bob_wiley ,
@bob_wiley@lemmy.world avatar

deleted_by_author

  • Loading...
  • TheYear2525 ,

    Gee whiz, that pun was basic!

    yum13241 ,

    Maybe too BASIC.

    entropicdrift ,
    @entropicdrift@lemmy.sdf.org avatar

    They can’t all be perls before swine

    nogrub ,

    i C what you did there

    nieceandtows ,

    They’ve played us for absolute fools!

    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>
    
    QuazarOmega , in I love all my statements equally. (I don't care for GOTO)

    This engine is not the best practice

    andrew OP ,
    @andrew@lemmy.stuart.fun avatar

    This engine is an antipattern.

    QuazarOmega ,

    We’re dissing Unity here right?

    MJBrune ,

    Godot follows the same pattern though… oh no.

    QuazarOmega ,

    Not gonna lie, I just threw a random joke in there, I never even touched Unity

    MJBrune ,

    I mean, you aren’t wrong in your joke. Godot’s pattern is slightly but not much better. Unreal is far more structured and realistic but still lacking in a lot of ways.

    QuazarOmega ,

    Oh lucky shot then XD

    Metriximor ,

    I don’t know a lot of game dev, care to educate me on the rights and wrongs of each of the engines?

    MJBrune ,

    Unreal is what I have the most experience in. It’s very strict and structured. Everything in Unreal is a UObject. There are Actors and Actor Components. Every feature has a requirement, such as, some of the AI features require you to have your AI as Pawns which are Actors that can have a Controller (an actor that manages the connection to a player) which then there is a PlayerController and an AI Controller which can hold a behavior tree to tell the AI how to control their pawn.

    In Godot, things are far less structured. Godot has everything based on Nodes like Unreal but it expects you to build out whatever you want. So it doesn’t come with Behavior Trees or the concept of a player. It expects you to build these things. Mainly because it’s a budding engine that hasn’t had the maturity or time put into it like Unreal.

    Unity is a mix of both. Unity has a huge freeform nature to it. Again Unity starts with a class, everything in Unity is an Object. It has the concepts of Components that attach to a GameObject (which GameObject and Object are different). There is no Actor class, and no defined way to move an actor across a floor, a controller object in Unity is seen as the place where all the logic to control the actor is. So Unity has its own structure but it’s also less built out like Godot. As such the AssetStore in Unity has taken the task of providing whatever the developer needs. So a Behavior Tree system on Unity differs from project to project from whatever they made or bought off of the store. Unreal allows you to, of course, use something else for behavior trees but no one does because their base implementation works and works well. It’s standardized.

    So overall, Unreal is standardized, strict, and gives you a ton of features. Unity is less strict, provides less standardized features, and forces developers to make their own things. Godot furthermore is less strict, has very little built-out, and the standardization it’s attempted to create gets changed in the next major update because it’s very new.

    Metriximor ,

    Oh mate thanks for the detailed write up, it makes sense with my very little experience too.

    andrew OP ,
    @andrew@lemmy.stuart.fun avatar

    Could also be your least favorite container engine. Or rules engine. Man, we really like to call things engines don’t we?

    Knusper ,

    This engine is not idiomatic.

    technom , in Its not wrong though

    Source available

    Cwilliams , in Openheimer in programming

    I love how they’re smiling

    cephus , in Haskell researchers announce new discovery

    My company’s entire backend is in Haskell, and boy are all these devs super enthusiastic for the language. It is rare tho in my experience.

    hehehe ,

    Nice try, you almost had me there.

    ComradeKhoumrag ,
    @ComradeKhoumrag@infosec.pub avatar

    …which company? asking for a friend

    Pipoca ,

    There’s a bunch of companies that use Haskell.

    Off the top of my head, Mercury is an online bank built on Haskell, Tsuru capitol is a hedge fund built on it, Standard Chartered bank has a big Haskell team in Singapore, and Facebook’s automated rule-based spam detection software is built in Haskell.

    There’s also cardano, in the crypto space.

    And various other companies might have a project or two written in Haskell by a small team.

    leviosa ,
    @leviosa@programming.dev avatar

    Are there precisely 37 developers in that team??

    Kodemystic , in Haskell researchers announce new discovery
    @Kodemystic@lemmy.kodemystic.dev avatar

    Noob here. What’s wrong with Haskell and why doesn’t it get used more often?

    asdfasdfasdf ,

    It’s extremely heavy on functional programming terminology and patterns which are notoriously not approachable by normal people.

    Kodemystic ,
    @Kodemystic@lemmy.kodemystic.dev avatar

    You mean Haskell is a language more for mathematical gurus? I can add, subtract multiply and divide. Would this be enough?

    bdesk ,

    A monad is a monoid in the category of endofunctors

    oce ,
    @oce@jlai.lu avatar

    I read about those about once every two years and forget what it means a week later.

    Kamek_pf ,

    They never tried to push the language and make it mainstream, but this is somewhat changing since the Haskell Foundation started a couple years ago.

    Also, if you only know C or Java, then it looks a bit alien.

    I’ve been using it exclusively at work for about 4 years and it makes writing correct code and maintaining it much easier than anything else I’ve tried so far.

    uniqueid198x ,

    haskell is one of the mathematically founded functional languages, which is a whole family of loosely related languages that have seen lower uptake over the years. Other examples include ML and variants, and F#.

    There are a few reasons why adoption has been slow:

    • poor outreach by language founders
    • less focus on commercial use
    • novel syntax
    • core abstractions that differ from mainstream

    Many of these are seeing some change. Haskell is getting better at outreach and comercial focus, and Rescript (ml for the web) has a lot of syntactical similarity to ja|ascript.

    starman OP ,
    @starman@programming.dev avatar

    Yeah, I wish F# was used more often. I actually learned it for fun, and it would be great to work with it. Unfortunately I haven’t heard of any F# job in my country yet.

    nintendiator ,

    So… they don’t give a F#?

    (I wonder if the F# people have tried doing outreach via F# memes, should work IMO, good names that also fit slang abbreviations are a very contested and already expended word space)

    herbert ,

    Rust stole its koolaid.

    floofloof ,

    Functional programming requires quite a shift in how you think about designing and debugging code. If you’ve spent your whole programming life thinking procedurally and approaching debugging by stepping through, it’s not an easy mental reset to make. And many languages these days can give you a taste of the functional style without taking away so much that is familiar, giving you some of the advantages of functional programming, such as clean code that’s thread safe and free of side effects. People under time pressure are likely to stop there.

    magic_lobster_party ,

    It’s a cool language. Main problem is that it’s difficult to recruit for. Not many developers know Haskell well enough.

    Haskell also makes many huge sacrifices for purity. Accessing the file system is quite wonky. Basic stuff like maps aren’t easy to implement either. In the end, it’s a language great for toy examples, but turns into a massive hassle once you want to do real practical stuff.

    I think everybody should at least learn it. You’ll learn some cool stuff that will be of use in other languages.

    Pipoca ,

    Basic stuff like maps aren’t easy to implement either.

    This is mostly due to a preference for immutable data structures. That said, the standard library has a balanced tree-based map that’s not too complex.

    If you want a good immutable data structure with O(1) find and update, you’re unfortunately looking at something like a hash array mapped trie, but that’s the same in e.g. clojure or Scala.

    Pipoca ,

    Haskell started out as an academic language.

    The problem Haskell was trying to solve was that in the late 80s, there was a bunch of interest in lazy functional programming but all the research groups had to write their own lazy language before writing a paper on whatever new feature they were interested in. So they banded together to create Haskell as a common research program that they could collectively use.

    It’s been remarkably successful for a research language, and has become more practical over the years in many ways. But it’s always had the motto “avoid (success at all costs)”.

    Haus , in Haskell researchers announce new discovery
    @Haus@kbin.social avatar

    In related news, Mrs. Cleaver is looking particularly lovely today.

    AllNewTypeFace , in Haskell researchers announce new discovery
    @AllNewTypeFace@leminal.space avatar

    IIRC, the majority of Haskell enthusiasts’ day jobs are coding in Java, and things like monad transformer stacks and applicatives are things they daydream about as a coping mechanism against the tedium. Which is probably why Scala exists.

    mobyduck648 ,
    @mobyduck648@beehaw.org avatar

    Can confirm, I write Scala at my current workplace and spend my days over the moon about the fact I’m not writing Java.

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