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.

jenny_ball , in ===
@jenny_ball@lemmy.world avatar

it depends on what your definition of is is

gandalf_der_12te ,

it depends on what your definition of is is

callyral , in ===
@callyral@pawb.social avatar

1+1====2!dreamberd developer

gandalf_der_12te ,
ICastFist , in ===
@ICastFist@programming.dev avatar

Don’t forget that _.isFinite(‘1’) returns true ;)

sik0fewl , in Good&Evil is a classic altrock album by Tally Hall, and now, for something completely different, JSON

Obviously I would be using XML if I was doing evil.

Blackmist , in ===

JS devs should have a font that turns == into ≈.

majestic , in ===

As a backend developer i still dont know a shit what that means

UndercoverUlrikHD ,

In javascript, === does not perform type coercion when checking for equality

blackn1ght ,

Because in JS:


<span style="color:#323232;">1 == "1" // true
</span><span style="color:#323232;">1 === "1" // false
</span>
ichmagrum , in Good&Evil is a classic altrock album by Tally Hall, and now, for something completely different, JSON

Would be pretty bad if that was actually enforced, TBF. Way too subjective.

thericcer , in ===

Any Verilog devs?

aberrate_junior_beatnik , in Good&Evil is a classic altrock album by Tally Hall, and now, for something completely different, JSON

I had really hoped that by time we would finally have got beyond good & evil.

Aatube OP ,
@Aatube@kbin.social avatar

At least we have a miracle

abbadon420 ,

We have. Evil won.

BleatingZombie , in Good&Evil is a classic altrock album by Tally Hall, and now, for something completely different, JSON

I’m trying to figure out what the hidden message in bold means

hosaka ,

It’s a reader assistance, some paid for tool that highlights parts of a word, can’t recall what it’s called…

Vishram1123 ,
Aatube OP ,
@Aatube@kbin.social avatar

The Cooler Bionic Reader

Maven ,
@Maven@lemmy.sdf.org avatar

It’s also not necessarily paid for, Jiffy Reader is a free browser addon

fenndev ,
@fenndev@leminal.space avatar

This reminded me that I wanted to look into open source alternatives to Bionic Reader…

Aatube OP ,
@Aatube@kbin.social avatar

All extensions are technically open source because they “compile” to JavaScript. Most, including the one I use, don’t bother obfuscating

LinuxSBC ,

Open source is a license. What you’re referring to is “source-available.” You can’t legally fork, redistribute, or contribute to it.

maxmalrichtig ,
@maxmalrichtig@discuss.tchncs.de avatar

I think you got that one wrong.

Open source is not a license. Open source literally just means that the source is openly available. It does not include the right for you to reuse or change any of the source.

That’s why most of the time, people are talking about “Free Open Source Software” (FOSS) when they think of openly licensed source code.

That’s why you can publish your project on e.g. Github (= open source) but if you don’t add a license statement, your work is still protected by an “all rights reserved copyright”. (= not free)

Anyhow, I would not necessarily deem a project OSS, just because the used language is readable by default. To me, OSS needs at least the developers intention to make it openly available.

aberrate_junior_beatnik ,

Open-source software (OSS) is computer software that is released under a license in which the copyright holder grants users the rights to use, study, change, and distribute the software and its source code to anyone and for any purpose.

en.wikipedia.org/wiki/Open-source_software

maxmalrichtig ,
@maxmalrichtig@discuss.tchncs.de avatar

Well put me in a dress and call me Sheryl. Never knew that the “accepted definitions” were really that close. Thanks!

I knew that some definitions of OSS were really basic (as in “as long as there is source at some point”) but I didn’t know that the OSI definition was so close to the idea of “free software”.

I found the read about the history and similarities & differences quite interesting: web.archive.org/…/open-source-misses-the-point.ht…

Aatube OP ,
@Aatube@kbin.social avatar

put me in a dress and call me Sheryl

That's a colorful expression if I've ever seen one

MinekPo1 ,
@MinekPo1@lemmygrad.ml avatar

While I agree with you , the Open Software Initiative doesn’t :

Open source doesn’t just mean access to the source code.

So according to the OSI’s definition of open source , a project being public on github , but with out a license or with a license which does not comply with the requirements set out by the OSI

Aatube OP ,
@Aatube@kbin.social avatar

I use a Firefox thing which has additional features and is free

Aatube OP ,
@Aatube@kbin.social avatar

That’s what everyone says

freakrho , in Bug Fixing
@freakrho@programming.dev avatar

on xcode i would say it has a 50% chance of working

No_Ones_Slick_Like_Gaston , in Sleep() at home

Sudo sleep

Buttons , in ===
@Buttons@programming.dev avatar
BaardFigur ,

deleted_by_author

  • Loading...
  • darcy ,
    @darcy@sh.itjust.works avatar

    almost forced to for web front end. why you would use it anywhere else, however, i will never know

    Turun ,

    The same reason people drive their car to buy groceries.

    You bought it for something where it was the only option, driving 30km to work everyday. But ever since you got it, the trip to the super market is kinda too hot in the summer and too cold in the winter and what if you spontaneously need to buy more than expected?

    People learn it for front end dev, and then they use what they know for back end too.

    FooBarrington ,

    Typescript :)

    ByteJunk ,
    @ByteJunk@lemmy.world avatar

    Yep. It’s the only reason I’m still somewhat sane.

    fidodo ,

    I got by without it for years, but not that I have it I have no idea how I did it back then.

    schnurrito ,

    by not ever using == and !=, but only === and !==

    FrostKing ,

    Ikr? English is hard /s

    blackn1ght ,

    Because in reality you’re not doing stupid stuff like that in the image. And using Typescript definitely helps.

    However I’m always annoyed that the month parameter when constructing a date object is 0 based. So 1st of Jan is

    
    <span style="color:#323232;">new Date(2024, 0, 1)
    </span>
    
    JaddedFauceet ,

    Looks confusing at first, but I found it nice for accessing a month array.

    
    <span style="color:#323232;">const months = ["Jan", "Feb", ...];
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">months[0] === "Jan";
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">const label = months[date.getMonth()];
    </span>
    
    JaddedFauceet ,

    By banishing the bad part of the language with linter.

    For instance, standard eslint preset has rules that enforce usage of ===, eslint.org/docs/latest/rules/eqeqeq

    These rules often come with project starter template

    fidodo ,

    And typescript is basically just a linter on steroids

    sooper_dooper_roofer , in ===

    eight equals equals equals equals equals equals equals equals equals capital d tilde tilde

    Fridgeratr , in Bug Fixing

    I only do it because it works!

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