I don’t think this operator is a real feature, tbh 😅
Rust dev, I enjoy reading and playing games, I also usually like to spend time with friends.
You can reach me on mastodon @sukhmel@mastodon.online or telegram @sukhmel@tg
- 0 Posts
- 131 Comments
I couldn’t agree more with the latter part, I know a lot of backend engineers who consider frontend simple without ever trying what it really takes. This is not a healthy way to view someone else’s work, and it usually produces friction between back and front end teams
I was toldo the other day that in ten years there will be no testers because developers will do all the testing.
I’ve seen how it works out in practice: there’s not enough time for testing and for developing, too, developers are going to burn and the product is going to be shit done and shit tested. Maybe it works if your company is willing to spend extra for less results by someone doing all the stuff less efficient than what they could, but that’s a rare occurrence.
Almost nowhere but America exists /s
lad@programming.devto Programmer Humor@programming.dev•This software does not existEnglish10·6 months agoOh, that explains it. Well, I imagine a license that also forbids people to imagine it. Fuck you and your imagination
lad@programming.devto Programmer Humor@programming.dev•This software does not existEnglish451·6 months agoThe screenshot seems to violate the licence it contains.
lad@programming.devto Programmer Humor@programming.dev•Asking the real questionsEnglish4·6 months agoReasonable and viable ≠ RFC compliant
This quote summarises my views:
There is some danger that common usage and widespread sloppy coding will establish a de facto standard for e-mail addresses that is more restrictive than the recorded formal standard.
lad@programming.devto Programmer Humor@programming.dev•Asking the real questionsEnglish4·6 months agoThis is the ideal rendition, I would say. On a related note, I just love it when there are backspaces in my filenames
lad@programming.devto Programmer Humor@programming.dev•Asking the real questionsEnglish4·6 months agoThere are many regexes that validate email, and they usually aren’t compliant with the RFC, there are some details in the very old answer on SO. So, better not validate and just send a confirmation, than restrict and lock people out, imo
lad@programming.devto Programmer Humor@programming.dev•TIFU by not using objects in my object-oriented programming courseworkEnglish1·6 months agoand which of these two you are going to get paid more for
the secret answer to this is
neither :(
lad@programming.devto Programmer Humor@programming.dev•TIFU by not using objects in my object-oriented programming courseworkEnglish1·6 months agoIt looks like exactly 4 characters are missing, so
public
andstatic
would fit, but I never sawstatic
instead ofpublic static
, so I think you’re right. On the other hand, I don’t use Java anymore and couldn’t be bothered about such details
lad@programming.devto Programmer Humor@programming.dev•TIFU by not using objects in my object-oriented programming courseworkEnglish1·6 months agoDepends on what was the course about. If it’s about computation, then sure. If it’s about OOP or architecture design (this one I wouldn’t expect, unfortunately, but would be nice if it was taught somewhere), then the point is not just to run something.
lad@programming.devto Programmer Humor@programming.dev•TIFU by not using objects in my object-oriented programming courseworkEnglish1·6 months agoI mostly come to prefer composition, this approach apparently even has a wiki page. But that’s in part because I use Rust that forbids inheritance, and don’t have such bullshit (from delegation wiki page):
class A { void foo() { // "this" also known under the names "current", "me" and "self" in other languages this.bar(); } void bar() { print("a.bar"); } } class B { private delegate A a; // delegation link public B(A a) { this.a = a; } void foo() { a.foo(); // call foo() on the a-instance } void bar() { print("b.bar"); } } a = new A(); b = new B(a); // establish delegation between two objects
Calling b.foo() will result in b.bar being printed, since this refers to the original receiver object, b, within the context of a. The resulting ambiguity of this is referred to as object schizophrenia
Translating the implicit this into an explicit parameter, the call (in B, with a a delegate) a.foo() translates to A.foo(b), using the type of a for method resolution, but the delegating object b for the this argument.
Why would one substitute
b
asthis
when called fromb.a
is beyond me, seriously.
Even if it is not their fault, what people see is that they provide bad quality service. Very low percentage ofthem will care to read details when Netflix publishes a post-mortem of an issue, assuming they even do.
lad@programming.devto Programmer Humor@programming.dev•Yes Google, 2/3 is TOTALLY the same as 1/2English3·6 months agoI feel like ‘a half is one-third more than a third’ is ambiguous and same as in ‘X is N% more than Y’ one may use X or Y as 100%
I’m sure that one interpretation is more common, but I don’t think that it is exclusively correct
lad@programming.devto Programmer Humor@programming.dev•You seen the jank? I live in it.. molded by it...English2·6 months agoEarly returns improve readability in that they make it simpler to read, but I also find them decreasing readability in that you may miss an early return and wonder why is execution not hitting the line you expect it to
lad@programming.devto Programmer Humor@programming.dev•An extremely crude comic about programming languagesEnglish3·6 months agoI tried to learn assembly for that, but never did after all
lad@programming.devto Programmer Humor@programming.dev•An extremely crude comic about programming languagesEnglish3·6 months agoI should have added a ‘/s’, but I thought it is somewhat obvious, it really reminds of all the ‘git gud at C instead of doing Rust’
lad@programming.devto Programmer Humor@programming.dev•An extremely crude comic about programming languagesEnglish21·6 months agoIt’s a dig at people who don’t want to switch to memory-safe languages like rust.
Now that’s a stretch, it could be anything (no, it couldn’t, although I think this may have application to some other pairs of languages)
If that’s a joke, it’s a good one. Otherwise, well, there are a lot of “this letter isn’t needed let’s throw it away,” in most cases it will not work as good as you think.