News for hackers. Stuff that matters.

zeedude

Re:Why do so few people major in computer science? on Saturday July 15, 2023 @12:15PM (#36738232)
> Trying to raise a software engineering discipline to the standard of the real engineers would leave you with an employee too expensive to do what his professional ethics wouldn't allow him to.

Nah. The vast majority of software projects are of the lower echelon variety e.g., the slapdash shopping cart web apps. Considering JavaScript is still the language of choice in that realm, engineering rigors can’t exactly be of any real consideration.

No, it’s not the expense keeping real engineering away, it’s the culture.

Manifold provides this feature and supports IntelliJ IDEA and Android Studio.

https://github.com/manifold-systems/manifold/tree/master/man...

Manifold already provides this feature:

https://github.com/manifold-systems/manifold/tree/master/man...

With an article having the same name as your post:

https://github.com/manifold-systems/manifold/blob/master/doc...

Re:C++23: The Next C++ Standard on Tuesday July 11, 2023 @03:33PM (#36686162)
Re:Fluent: Static Extension Methods for Java on Monday July 03, 2023 @11:08AM (#36573984)
They mostly have to do with design decisions / implementation details, not issues with extension methods in general.
Re:Fluent: Static Extension Methods for Java on Monday July 03, 2023 @10:10AM (#36573110)
Ding!
Re:Fluent: Static Extension Methods for Java on Monday July 03, 2023 @09:57AM (#36572934)
Re:Fluent: Static Extension Methods for Java on Monday July 03, 2023 @09:24AM (#36572532)
There are good reasons. When you begin writing IDE support you will discover that:

1. Without annotations you’ll be forced to index all static methods based on the first argument, globally.

2. Method call code completion will be ridiculous. How many static methods have String, File, List, Object(!) etc. as the first parameter? I don’t think anybody wants their code completion to be invaded like that.

The annotations provide intention. Essentially, adding extension method is not something to be taken lightly, it requires careful consideration, weighing context, frequency, etc.

Re:Fluent: Static Extension Methods for Java on Monday July 03, 2023 @09:08AM (#36572357)
My sentiments exactly. The “API designers should control their APIs” one is my favorite and one of the more ridiculous things I’ve heard him say, which is saying something. It’s beyond humor, though, that all of his reasons are fallacies.
Nice redirection of focus there.
The “truth”
Re:CodeCompose: Meta’s AI Coding Assistant on Saturday June 03, 2023 @12:30PM (#36178027)
Limit training to stackoverflow input and wham! we have automated modern programming ;)
Re:Nuances of Overloading and Overriding in Java on Thursday May 18, 2023 @10:26PM (#35997065)
They are good about supporting latest JDK release and all LTS releases, going back to 8.

It’s Oracle’s saber rattling lately concerning plugins like Lombok and Manifold that make me more disappointed than nervous.

Re:America Faces a Debt Nightmare on Thursday May 04, 2023 @12:39PM (#35818209)
The West has been importing its population for decades, full gas since 1965. Not only is this strategy failing, it is a significant contributor to the West’s current decline. The core problem is more centered on the dynamics of the 20th century that led to mass immigration.
Re:The Glorious Return of a Humble Car Feature on Wednesday April 26, 2023 @09:14PM (#35722045)
It’s all about the bottom line. Touch screens consolidate a ton of otherwise expensive switch gear. Going back to physical knobs and buttons means going back to paying for engineering, assembling, testing, etc.
Re:Gradle Still Sucks on Wednesday April 26, 2023 @12:20AM (#35709597)
A general purpose language as the basis for a build tool always felt like a sledgehammer/nail situation to me. Personally, I prefer less concise, less flexible build config tooling.
Here we are in the current year and we still i/o source as raw form text. Personally, I’ve always hoped for standardized AST formats with comprehensive tooling, including source control. Many more problems vanish than are created with source as AST. For instance, this discussion.
Re:My OS/2 barf bag story on Wednesday April 19, 2023 @07:45PM (#35634703)
>The OS/2 API was, IMO, more logically designed and documented than anything else since.

Absolutely. I was disappointed when I began writing Windows apps after having used Presentation Manager etc. Windows APIs felt like children’s toys.

Re:Constraint Programming (2020) on Monday April 17, 2023 @08:57AM (#35599958)
I recall learning Prolog for a CS class back in the late 80s to model problems using its backtracking (chaining) algorithm with facts. Sometime later Rete-based rules languages became popular, but I always thought Prolog’s language approach was more suitable.
The manifold project integrates code gen directly into the compiler. The GraphQL[1] module is amazing.

The JSON[2] module for REST looks similarly impressive, but I haven’t personally used it.

1. https://github.com/manifold-systems/manifold/tree/master/man...

2. https://github.com/manifold-systems/manifold/tree/master/man...

Re:OOP: A practical alternative to Inheritance on Thursday March 09, 2023 @10:11AM (#35081987)
Not sure what you’re getting at, sharing here does for you exactly what you would do with explicit composition.
Re:Microfeatures I'd like to see in more languages on Saturday January 07, 2023 @07:05PM (#34294497)
There’s a Java compiler plugin, manifold, that makes this type of syntax easy. There’s an example covering the date “literal” case…

https://github.com/manifold-systems/manifold/tree/master/man...