10
Zer0day
42d

What’s one thing (big or small) you still don’t know or understand in software development and still don’t give a fuck.

Mine: Bitwise operation

Comments
  • 3
    Buffered Readers/Writers in Java
  • 7
    What's difficult about bitwise operations? It's just elementary boolean algebra that doesn't even need a computer - mechanical switches and a light bulb work as well, at least for demonstrating the principle.
  • 2
    Why I can't fuck the DevOps guys in the earlobe using my tongue when I really want to get shit done fast.
  • 1
    @Fast-Nop seems many people struggle with it, i know a few, too. Dunno how they got their bachlors tbh.
  • 0
    @Fast-Nop did you read that I give a fuck?
  • 0
    @Zer0day I also read that you don't understand it, and I'm wondering what on earth there even is not to understand in the first place - no matter how few fucks given.
  • 0
    Js event loop. If you’re making a simple app and not another frontend framework from scratch and you have problems with event loop, your code is a hacky trash
  • 0
    @nitwhiz I mean, pointers and recursion are another matter - but AND/OR/XOR/NOT is some shit that I built up when I was 8 or so, using a battery, switches, and a light bulb.
  • 2
    @Fast-Nop Yup, still don’t give a fuck.
  • 1
    @Fast-Nop

    well. to be honest. i also dont give much fucks about bitwise things.

    its just.. not many ppl fuck around on this level. same to pointers.

    yeah i know how they work, and i can use it but still would never voluntarily fuck around with that..
    and would probably tell my team to stop it, would they start fucking around with that.

    its not maintainable, badly readably, it stinks.
    well i lost my train of thoughts here..

    recursions on the other hand are a common thing..
  • 2
    Wordpress.

    Whenever I hear people list the pros and cons of Wordpress I just zone out completely.
  • 4
    CSS preprocessors. I've dabbled in Sass, but i just don't see the point. Just seems unnecessary and bloated
  • 0
    @10Dev I like SCSS but I would agree. It's for pretty specific use-cases.
  • 1
    @unclesam To be fair, hardware guys tend to grasp bitwise easier. At the chip level you have to understand this. If you want to learn it then start playing with microcontrollers. You can even visualize it with leds if you want.

    I have a passive aggressive relationship with Functional programming. I use a lot of its concepts, but don't really care about purity. Most of the work I do is using existing non-functional code so a lot of the time it just doesn't fit.

    I have a few books on algorithms that I know I should read. Haven't sat down and done it yet. No fucks given.
  • 0
    @unclesam "A |= B also equals to A = A + B"

    No, it doesn't. 3 + 3 = 6 while 3 | 3 = 3.

    And no, there isn't more to it, it's just understanding how binary digits work, which is the very basics of computing. There's nothing complex to it.
  • 0
    MVCC

    In theory - yes.

    But visualizing the actual processing in my mind, especially regarding transaction levels and the locking models... Plus the parallelism.

    Brain goes POOOF.
  • 0
    Html/CSS, it's full of weird "tricks" to make something, super annoying, fuck it with hot sand.
  • 0
    @devnulli What? Unreadable? I deal with that regularly because I have to set/reset/query individual bit pattern masks in registers.

    Another great thing is that you can do a whole bunch of parallel operations on boolean variables in just one instruction.

    Or you can check whether any flags of an aggregate status variable are set just by comparing it to 0, which is also a fast instruction.
  • 1
    @Fast-Nop

    you are right, but im sure that I NEVER had the intention to do what you call a bunch of parallel operations on fucking booleans in one instruction.

    i do enterprise software. maybe thats why i never did that kind of stuff much

    if one of my team does tell me he does a bunch of parallel operations on fucking booleans in one instruction, in my well tested, well shift-lefted software, ill throw my stress ball after him.

    but im curious.. can you post a code sample, that sounds like cool code!
  • 1
    @devnulli Well unfortunately, posting code isn't possible, but of course a prerequisite is that you have a bunch of logical states that basically mean the same but for different items. I guess that doesn't happen often in business code.

    But e.g. if you have let's say a dozen control outputs with activation feedback as inputs, then you don't need a dozen if clauses if you just want to know whether any of the commanded units doesn't have the commanded state.

    And let's assume these units are grouped somehow, like area 1/2/3, with a light going on if any of the units in the corresponding area is on, then you don't need a couple of or'ed conditions in an if - using bitwise AND with the appropriate bit mask shows it.

    If you add another unit or move a unit from area 1 to 3, all you have to do is changing the global bitmap defines - not dozens of individual if clauses. That prevents bugs and is more readable.
Add Comment