▲ 951 ▼ Died from reading this (lemmy.world) submitted 2 years ago by callmepk@lemmy.world to c/programmerhumor@lemmy.ml 139 comments fedilink hide all child comments
[–] Agent641@lemmy.world 14 points 2 years ago (3 children) Is there a D? permalink fedilink source parent hideshow 6 child comments replies: [–] Rinox@feddit.it 27 points 2 years ago (2 children) Yes, but I'm not sure if we want to open the "programming language can of worms". There's B, C, C++, C#, Objective-C, D, E, F, F#, F* and so many more. Also, they may or may not have anything to do with each other permalink fedilink source parent hideshow 4 child comments replies: [–] Johanno@feddit.de 12 points 2 years ago (2 children) But of course Java and Javascript are related /s permalink fedilink source parent hideshow 4 child comments replies: [–] Rinox@feddit.it 9 points 2 years ago The number of job applications using Java as a shorthand for Javascript..... permalink fedilink source parent [–] jollyrogue@lemmy.ml 3 points 2 years ago I once had a C# dev tell me they couldn’t run JavaScript because they didn’t have Java installed. permalink fedilink source parent [–] jyte@lemmy.world 7 points 2 years ago (1 child) Also I've read that C# is C++++ (like put those + on 2x2 table, which in turns ressemble a #) permalink fedilink source parent hideshow 2 child comments replies: [–] dan@upvote.au 5 points 2 years ago (1 child) Hahaha I've never heard that before. Seems legit. C# was originally "Java: The Good Parts" but but these days it's a much more advanced language and runtime compared to Java. permalink fedilink source parent hideshow 2 child comments replies: [–] Zangoose@lemmy.one 1 point 2 years ago (1 child) As a dev who works on both Java and C# code, modern Java (17+) and C# feel almost exactly the same (not sure if Java has extension methods though). Bonus points for using Kotlin instead tho. I dislike both Java and C# just because they both allow any object to be null and that's usually a headache whenever a null exception shows up. The only thing I like better about C# is the Fixture library for testing. I haven't found any mature libraries like it for Java yet. permalink fedilink source parent hideshow 2 child comments replies: [–] dan@upvote.au 2 points 2 years ago they both allow any object to be null and that's usually a headache whenever a null exception shows up. C# has nullable reference types now: https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references. If you enable it, you have to explicitly make reference types nullable (like ?string) and you'll get build warnings if you try to use a variable that's potentially null. permalink fedilink source parent [–] aksdb@lemmy.world 7 points 2 years ago Of course. Great, another D in programming. permalink fedilink source parent [–] corsicanguppy@lemmy.ca 4 points 2 years ago Yes. D is pretty awesome. permalink fedilink source parent
[–] Rinox@feddit.it 27 points 2 years ago (2 children) Yes, but I'm not sure if we want to open the "programming language can of worms". There's B, C, C++, C#, Objective-C, D, E, F, F#, F* and so many more. Also, they may or may not have anything to do with each other permalink fedilink source parent hideshow 4 child comments replies: [–] Johanno@feddit.de 12 points 2 years ago (2 children) But of course Java and Javascript are related /s permalink fedilink source parent hideshow 4 child comments replies: [–] Rinox@feddit.it 9 points 2 years ago The number of job applications using Java as a shorthand for Javascript..... permalink fedilink source parent [–] jollyrogue@lemmy.ml 3 points 2 years ago I once had a C# dev tell me they couldn’t run JavaScript because they didn’t have Java installed. permalink fedilink source parent [–] jyte@lemmy.world 7 points 2 years ago (1 child) Also I've read that C# is C++++ (like put those + on 2x2 table, which in turns ressemble a #) permalink fedilink source parent hideshow 2 child comments replies: [–] dan@upvote.au 5 points 2 years ago (1 child) Hahaha I've never heard that before. Seems legit. C# was originally "Java: The Good Parts" but but these days it's a much more advanced language and runtime compared to Java. permalink fedilink source parent hideshow 2 child comments replies: [–] Zangoose@lemmy.one 1 point 2 years ago (1 child) As a dev who works on both Java and C# code, modern Java (17+) and C# feel almost exactly the same (not sure if Java has extension methods though). Bonus points for using Kotlin instead tho. I dislike both Java and C# just because they both allow any object to be null and that's usually a headache whenever a null exception shows up. The only thing I like better about C# is the Fixture library for testing. I haven't found any mature libraries like it for Java yet. permalink fedilink source parent hideshow 2 child comments replies: [–] dan@upvote.au 2 points 2 years ago they both allow any object to be null and that's usually a headache whenever a null exception shows up. C# has nullable reference types now: https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references. If you enable it, you have to explicitly make reference types nullable (like ?string) and you'll get build warnings if you try to use a variable that's potentially null. permalink fedilink source parent
[–] Johanno@feddit.de 12 points 2 years ago (2 children) But of course Java and Javascript are related /s permalink fedilink source parent hideshow 4 child comments replies: [–] Rinox@feddit.it 9 points 2 years ago The number of job applications using Java as a shorthand for Javascript..... permalink fedilink source parent [–] jollyrogue@lemmy.ml 3 points 2 years ago I once had a C# dev tell me they couldn’t run JavaScript because they didn’t have Java installed. permalink fedilink source parent
[–] Rinox@feddit.it 9 points 2 years ago The number of job applications using Java as a shorthand for Javascript..... permalink fedilink source parent
[–] jollyrogue@lemmy.ml 3 points 2 years ago I once had a C# dev tell me they couldn’t run JavaScript because they didn’t have Java installed. permalink fedilink source parent
[–] jyte@lemmy.world 7 points 2 years ago (1 child) Also I've read that C# is C++++ (like put those + on 2x2 table, which in turns ressemble a #) permalink fedilink source parent hideshow 2 child comments replies: [–] dan@upvote.au 5 points 2 years ago (1 child) Hahaha I've never heard that before. Seems legit. C# was originally "Java: The Good Parts" but but these days it's a much more advanced language and runtime compared to Java. permalink fedilink source parent hideshow 2 child comments replies: [–] Zangoose@lemmy.one 1 point 2 years ago (1 child) As a dev who works on both Java and C# code, modern Java (17+) and C# feel almost exactly the same (not sure if Java has extension methods though). Bonus points for using Kotlin instead tho. I dislike both Java and C# just because they both allow any object to be null and that's usually a headache whenever a null exception shows up. The only thing I like better about C# is the Fixture library for testing. I haven't found any mature libraries like it for Java yet. permalink fedilink source parent hideshow 2 child comments replies: [–] dan@upvote.au 2 points 2 years ago they both allow any object to be null and that's usually a headache whenever a null exception shows up. C# has nullable reference types now: https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references. If you enable it, you have to explicitly make reference types nullable (like ?string) and you'll get build warnings if you try to use a variable that's potentially null. permalink fedilink source parent
[–] dan@upvote.au 5 points 2 years ago (1 child) Hahaha I've never heard that before. Seems legit. C# was originally "Java: The Good Parts" but but these days it's a much more advanced language and runtime compared to Java. permalink fedilink source parent hideshow 2 child comments replies: [–] Zangoose@lemmy.one 1 point 2 years ago (1 child) As a dev who works on both Java and C# code, modern Java (17+) and C# feel almost exactly the same (not sure if Java has extension methods though). Bonus points for using Kotlin instead tho. I dislike both Java and C# just because they both allow any object to be null and that's usually a headache whenever a null exception shows up. The only thing I like better about C# is the Fixture library for testing. I haven't found any mature libraries like it for Java yet. permalink fedilink source parent hideshow 2 child comments replies: [–] dan@upvote.au 2 points 2 years ago they both allow any object to be null and that's usually a headache whenever a null exception shows up. C# has nullable reference types now: https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references. If you enable it, you have to explicitly make reference types nullable (like ?string) and you'll get build warnings if you try to use a variable that's potentially null. permalink fedilink source parent
[–] Zangoose@lemmy.one 1 point 2 years ago (1 child) As a dev who works on both Java and C# code, modern Java (17+) and C# feel almost exactly the same (not sure if Java has extension methods though). Bonus points for using Kotlin instead tho. I dislike both Java and C# just because they both allow any object to be null and that's usually a headache whenever a null exception shows up. The only thing I like better about C# is the Fixture library for testing. I haven't found any mature libraries like it for Java yet. permalink fedilink source parent hideshow 2 child comments replies: [–] dan@upvote.au 2 points 2 years ago they both allow any object to be null and that's usually a headache whenever a null exception shows up. C# has nullable reference types now: https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references. If you enable it, you have to explicitly make reference types nullable (like ?string) and you'll get build warnings if you try to use a variable that's potentially null. permalink fedilink source parent
[–] dan@upvote.au 2 points 2 years ago they both allow any object to be null and that's usually a headache whenever a null exception shows up. C# has nullable reference types now: https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references. If you enable it, you have to explicitly make reference types nullable (like ?string) and you'll get build warnings if you try to use a variable that's potentially null. permalink fedilink source parent
[–] aksdb@lemmy.world 7 points 2 years ago Of course. Great, another D in programming. permalink fedilink source parent
[–] corsicanguppy@lemmy.ca 4 points 2 years ago Yes. D is pretty awesome. permalink fedilink source parent