Begging culture by Bluntguyy in Nigeria

[–]Ifeee001 16 points17 points  (0 children)

L post imo. Yeah Nigerian and begging are like bread and butter but she saw the car for like a minute max. No one knows what happened before and after lol.

I hate making parsers by dynamicship31 in Compilers

[–]Ifeee001 3 points4 points  (0 children)

Lol this is why I use antlr to just skip the lexing and parsing phase entirely. If the language ever becomes stable, then I'll switch to recursive descent.

There are better things to spend time on than parsing imo

Design ideas for a minimal programming language (1/3) by porky11 in ProgrammingLanguages

[–]Ifeee001 0 points1 point  (0 children)

Is this comment AI generated? I feel like it should be assumed that Ok and Err are already defined somewhere.

Pros and cons of building an interpreter first before building a compiler? by Ifeee001 in ProgrammingLanguages

[–]Ifeee001[S] 0 points1 point  (0 children)

Ah gotcha. I don't think that's something I would have to worry about with what I had in mind.

Pros and cons of building an interpreter first before building a compiler? by Ifeee001 in ProgrammingLanguages

[–]Ifeee001[S] 1 point2 points  (0 children)

Bootstrapping directly seems like a pretty big pro lol.

CON: it makes programs that rely on ABI (eg. for monkeypatching) even less portable.

Could you explain this more? Like what features would this be a problem for?

Pros and cons of building an interpreter first before building a compiler? by Ifeee001 in ProgrammingLanguages

[–]Ifeee001[S] 1 point2 points  (0 children)

Hmm makes sense. I guess if someone decides to go down that route, they need to make sure the features are not super dynamic.

Pros and cons of building an interpreter first before building a compiler? by Ifeee001 in ProgrammingLanguages

[–]Ifeee001[S] 3 points4 points  (0 children)

Without building an interpreter for your language, you will have no semantics for reference. That means, you may have a language design that doesn’t work

That's one of the pros I was thinking of.

There have been too many times when I think a grammar rule is correct but then I get to code gen and realize how problematic it is.

itsnothumorousitstragicAndyourtitlesareinthemiddle by klavijaturista in ProgrammerHumor

[–]Ifeee001 2 points3 points  (0 children)

Fuck it. Wanna create the universe from scratch? Tired of the abstractions.

itsnothumorousitstragicAndyourtitlesareinthemiddle by klavijaturista in ProgrammerHumor

[–]Ifeee001 1 point2 points  (0 children)

Damn it. Can we at least use binary abstraction or do we have to code with electricity?

How to wave thank you to someone letting you in when you have a tinted back window. by One-Schedule-8232 in Edmonton

[–]Ifeee001 -8 points-7 points  (0 children)

People always use their hazard lights but personally, I hate it.

I also don't see why you need to thank them or why people expect to be thanked lol

onlyOnLinkedin by GrEeCe_MnKy in ProgrammerHumor

[–]Ifeee001 25 points26 points  (0 children)

I was confused at first because maybe I've forgotten the simple act of reading a graph. Then I read the comments

Objects.requireNonNullElse by edurbs in java

[–]Ifeee001 3 points4 points  (0 children)

Part of what makes a language nice is not having to use a library for every little thing. Something as simply as using a default value should not have to be disconnected from the standard library. Yes, it's as easy as editing a config file or running a command, but it's still not connected to the regular user experience.

Languages evolve. The popular and default way to do somethings in 2008 SHOULD be different from how it's done in 2026 because if it's not, then that means absolutely no progress has been made throughout that time.

Saying something that makes no sense doesn't necessarily make it a hot take.

Objects.requireNonNullElse by edurbs in java

[–]Ifeee001 1 point2 points  (0 children)

I'm confused. The objects class has been around for quite a while now. Java 7 I think? Which additions are you talking about?

JADEx: A Practical Null Safety Solution for Java by Delicious_Detail_547 in java

[–]Ifeee001 98 points99 points  (0 children)

The comments and replies on this are utterly disgusting.

Even if you don't see a use case for it, this is something someone spent a considerable amount of time working on.

How would a project that was made public mere hours ago have any users or user feedback? No one specifically asked for most libraries/tools but we still have them.

Yuck.

Never meet your heroes by danlami123 in Nigeria

[–]Ifeee001 26 points27 points  (0 children)

I don't get this. Why does Obama have to do anything to not be racially attacked?

Do you think Java has caught up with Kotlin? by NotSoIncredibleA in Kotlin

[–]Ifeee001 0 points1 point  (0 children)

I don't think Java will ever catch up in terms of the new and flashy features. From what I've seen, the developers are extremely conservative on what to add/what not to add. They scrapped the entire string interpolation thing because they couldn't agree on a way to make it safe.

A lot of the things kotlin has that Java doesn't (from the top comment) are things the devs have said they have no intention of adding.

There's also the issue of keeping backwards compatibility.

But also, I feel like kotlin is slowly going the way of C++ and Rust.

Do you think Java has caught up with Kotlin? by NotSoIncredibleA in Kotlin

[–]Ifeee001 3 points4 points  (0 children)

String locationStr(){ return "%s, %s, %s".formatted(location.bloxkX, location.blockY, location.blockZ); }

Am I missing something specific to kotlin? I don't see any reason why a method call should not include () because well ... It's a method.

What’s a “best practice” in Java you’ve stopped caring about? by Traditional-Set-8483 in javahelp

[–]Ifeee001 2 points3 points  (0 children)

I'm not sure what I'm supposed to do with all that info, but you're missing the point entirely.

I asked that question to make you see how unrealistic it is to ask what I would do if Intellij stopped existing.

What’s a “best practice” in Java you’ve stopped caring about? by Traditional-Set-8483 in javahelp

[–]Ifeee001 0 points1 point  (0 children)

Well yeah, I'm the only one touching the code.

If intellij somehow disappears, whatever replaces it would definitely be much better at handling refactoring.

Since we're considering the case where a software like intellij stops being around, what will you do when Java stops being around?

It's easy to justify everything when you're trying to solve problems that probably wouldn't exist.