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.

BaardFigur , in Well....well...well...

deleted_by_author

  • Loading...
  • Ziglin ,

    GCC uses both C and C++ so maybe you’re partially correct. Which others?

    ornery_chemist , in Functional bros be like

    you mean let.

    and then letting Hindley-Milner do the rest

    Magnetar ,

    let there = “light”

    Omega_Haxors , (edited ) in Functional bros be like

    Why even use variables in the first place? Just place the values directly into your code. If you need to change a value, that’s just bad planning. Hell, why even use values either? Just run a loop on the INC instruction until you get the value you need. It’s just efficient programming.

    Ephera , in True Story

    Gotta love the

    short loop = 0; // loop counter

    and then just:

    short amt;

    What the hell is “amt” supposed to abbreviate?

    RecluseRamble ,

    “amount” maybe?

    Ephera ,

    Ew.

    I mean, I was gonna respond with that, no matter what it might mean, but that’s such an unnecessary abbreviation.

    MonsiuerPatEBrown , in CSS

    I remember before CSS was released it was supposed to be such a panacea. And then everyone said that CSS 3 was going to fix everything.

    And now we are here saying the human created system isn’t the problem it is the humans that are the problem.

    Semiconductors are the aliens. They are ruling us now.

    fidodo ,

    How do you remember those days and not think things are way better now? CSS can still have weird behavior, but it’s nothing compared to doing everything through one off html attributes and trying to position things with float hacks and dealing with browser specific bugs. Despite its problems, as someone who has made websites through every Internet era, things have gotten better and better.

    Strawberry ,

    with CSS grid, and now subgrid (finally, chrome), layout with CSS has never been more pleasant

    Hammerheart , in CSS

    I am struggling with using flex for the first time and holy cow do i feel this

    LinearArray , in Functional bros be like
    @LinearArray@programming.dev avatar

    Me irl

    klisurovi4 , in As someone not in tech, I have no idea how to refer to my tech friends' jobs

    I am partial to “code monkey”

    On a serious note, I usually refer to myself as a developer or a software engineer when I wanna sound a bit more important.

    SuperSpruce , in CSS

    Out of the 3 main web languages I use to develop my games (HTML, CSS, and JavaScript), CSS is definitely my least favorite.

    HTML is relatively simple and understandable such that bugs rarely get introduced into my HTML code.

    JavaScript, while janky and not known for good performance, will work without too much trouble compared to other languages (I’m looking at you, C++). No segfaults, effortless type casting, intuitive syntax, and debugging is fairly easy. Worst part is editing HTML and styles with JavaScript, it just feels clunky, to both the programmer and the CPU.

    And then there’s CSS. Despite being a language dedicated to making things look pretty, it’s just an unintuitive list of properties on HTML classes. So many times it takes way too long to do a simple thing like center text in a div when there is other text that is meant to not be centered. But I guess I’m not using it to its fullest potential, as I recently came across an article that listed many pretty graphics, often animated, that was purely made using CSS.

    GroteStreet ,

    Me in the late 90s: CSS is not a language!

    Today: Holy crap, it’s now Turing-complete.

    SuperSpruce ,

    When did CSS become Turing complete?

    Cwilliams ,
    phoenixz , (edited )

    Some guy has too much free time if you ask me

    I mean it’s awesome, but seriously, too much free time…

    csm10495 ,
    @csm10495@sh.itjust.works avatar

    … effortless casting could be a negative depending on who ya ask.

    SuperSpruce ,

    I’m of the opinion that it’s a positive. Often I use “string” + number to access HTML elements and it just works. I can even use it to concatenate arrays.

    Meanwhile, when I try to debug in C++ with cout statements, half the time it doesn’t even do anything even though I use std::to_string().

    SaltyIceteaMaker , in True Story
    @SaltyIceteaMaker@iusearchlinux.fyi avatar

    I decide to learn C++ and suddenly everything and everyone mentions C++… Is that a sign?

    Scoopta ,
    @Scoopta@programming.dev avatar

    That you should turn and run like hell? Probably lol…

    SaltyIceteaMaker ,
    @SaltyIceteaMaker@iusearchlinux.fyi avatar

    Well i don’t really have a choice as i want to code some stuff for my smartwatch (pine time) and also wanted to take a look at the code of the hyprland window manager (wich is written in C++ afaik)

    Scoopta ,
    @Scoopta@programming.dev avatar

    Ah…well fair enough. I personally prefer plain C but I know nothing about the pine time or what languages are available and even then Hypr and Hyprland are C++ so you are trapped there…sway ftw lol. Also my pedantic side dictates I must say this even though it’s irrelevant…but technically Hyprland is a Wayland compositor and while they do manage windows a window manager is an X term…

    onlinepersona , in True Story

    Do other languages separate definition from implementation? 🤔 Is there another way to distribute libraries with a binary component and a public component?

    CC BY-NC-SA 4.0

    0x0 ,

    I believe Ada does.

    marcos ,

    Some do, most don’t.

    Anyway, you don’t need to separate them in your source code to have a legible component on your distributable. C is the only language that insists you must have part of the source code before you can use the very public perfectly clear interface that is written all over shared libraries.

    Also, you can distribute proprietary libraries by source perfectly well. And it’s the standard except on very few cases where a corporation can coerce most of the world on accepting any shit.

    RogueBanana , in True Story

    They ran so we could walk… Or something like that I can’t English

    marcos , in True Story

    There are not even templates there to justify it.

    mark , in CSS
    @mark@programming.dev avatar

    Yeah, because anything that isn’t a big new JavaScript framework is just way too complicated

    jaemo ,

    Somehow I doubt a lot of these opinions are steeped in the experience of building an HTML layout using tables, transparent gifs and inline width attributes. Shit was wild before CSS.

    cupcakezealot , in CSS
    @cupcakezealot@lemmy.blahaj.zone avatar

    i hate that i understand this

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