Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment Re:say what? (Score 2) 109

Depending on how old the Java code was it could have had:

A lot of boiler plate interface / factory / etc patterns.

Collection modifiers run as for loops instead of single line functions like apply / map / etc.

Much more concise when it comes to import statements.

Swift has named parameters, so maybe the Java code used a parameter object as arguments for readability.

Swift lets you write extensions for pre-existing classes which can neaten up a lot of code (granted you can do this in Java with some interesting annotations, I've been out of the Java world too long to know the current support level for this).

Obviously the point still stands on if they re-wrote this in optimised Java how much savings would they get with lines and performance, but I do feel Swift does have a big advantage of being quite a bit more modern than Java.

Comment Re:Funny how taxes work for people (Score 1) 178

Well I also pointed out how the upper tax bracket used to pay a lot more % in taxes, and now they earn more and pay less tax.

Ahh yes the market, manipulated by the richest to give them even more of the pie, but dare not let a body that was elected by the common people put any adjustment on that at all, that's only a job for billionares. Reminds me of something... royalty I think.

If the market decides it's willing to have CEOs get paid 1,000 times more than the average worker while the average worker has to skip meals, I wonder if you'll still be singing its praises and calling anybody who disagrees a cry baby.

Comment Re:Funny how taxes work for people (Score 1) 178

It was more of a hypothetical, do you think CEOs in the 1960s were being horribly underpaid when they only got 20 times what their average worker got? Or in the 60 years since then, did CEOs start working 20 times harder again when they were already working 20 times harder than the average worker?

Meanwhile the workers are having trouble getting enough money to eat
https://www.cbsnews.com/news/a...

It is the simple concept of : a person doesn't *earn* that much more than their workers, they take that much more because they're the ones who control how much goes to them and how much goes to the workers. They've moved those levers too far, and many of us would like them moved back in the other direction a chunk. Maybe even back to 1980s levels - as long as 1980 America wasn't too communist for you?

Comment Re:i don't understand the death threats (Score 1) 212

I'm surprised by - who is so invested in the Assasins Creed franchise that they would get this worked up about it? I mean, they're fine games and they were super inovative ages ago, but they're nothing to be obsessed about.

One would guess they're Anti-Woke-Warriors who have so much anger they just need to outlet it.

(Also I have played this game and when you get to unlock Yauke and start kicking enemies halfway across the castle... that moment is a chef's kiss)

Comment Re:Funny how taxes work for people (Score 1) 178

In 1965 a typical CEO would earn 20 times what a typical worker does, and the top tax rate was 77%
In 2021 a typical CEO would earn 400 times what a typical worker does, and the top tax rate was 37% (plus many tax loopholes to bring that way down).

I would summise that there is already stealing going on, just not in the direction which you claim.

Comment Re:More BS from the regime (Score 3, Insightful) 491

Trump violates the consitution for government spending - often gets confused and lies about it aka condoms for Gaza, has to rehire the majority people he fired due to legal reasons or because the people are national security, asks judges who maintain the constitution to be impeached, threaten peaceful countries such as Greenland, and exporting people to foreign prisons without due process. This doesn't even scratch the surface of the negative disruption caused in his 2nd term so far.

Trumper: Oh so you mean your entire argument is orange man bad?

Comment Re:To be completely fair (Score 4, Insightful) 258

Hey guys, I have a compilation of the 10,000 times Trump lied or was openly corrupt, including claiming immigrants were eating pets, when he kept secret documents in the bathroom, meetings with Putin without a 3rd party present, putting pressure on Ukraine to phony investigations, calling up asking for votes, paying off porn stars, his head of DOJ pick paid underaged girls for sex, claiming that schools perform sex changes on students without parents knowing, Jared Kushner getting billions from Saudi, Trump personally putting all his children in positions of power etc, etc

Well... may I present... the other President's son had a laptop that proved he bought a gun while recently using drugs. No number of lies from our side will count now because some experts though the laptop was fake. Checkmate. Oh the senile president is threatening to invade Canada, Greenland and Panama? Too bad, Joe Biden's son's laptop. Can I interest you in Hillary's unsecure emails?

Comment Re:Tampering with the atmosphere is very dangerous (Score 1) 149

> and in about 10 years, man-caused climate affecting particulates will be lower than any time since the Industrial Revolution began.

Forgive my pesimism, but I don't see a scenario where we currently go from emitting the most greenhouses gases per year since the Industrial Revolution (e.g. right now) to early 1800s levels.

In addition, a big issue with greenhouses gases is they stay in the atmosphere for hundreds of years. So if we stopped all emissions tomorrow we wouldn't get back to having climate affecting particules anywhere near the levels you're suggesting.

Comment Turns out obvious truths are often not (Score 1) 60

https://itwire.com/business-it...

CrowdStrike Statement of Response:

The suggestion that CrowdStrike ‘had no proof’ of the data being exfiltrated is incorrect. Shawn Henry clearly said in his testimony that CrowdStrike had indicators of exfiltration ( page 32 of the testimony) and circumstantial evidence (page 75) that indicated the data had been exfiltrated. Also, please note that the Senate Intelligence Committee in April 2020 issued a report (https://www.intelligence.senate.gov/sites/default/files/documents/Report_Volume4.pdf/) validating the previous conclusions of the Intelligence community that Russia was behind the DNC data breach.

Comment Try reading the article (Score 1) 184

I'll grant you it should have put the word "net" in the title to avoid confusion, but a cursory glance at the article makes it's obvious that:

It's clearly talking about forest, plants and soil CO2 absorbtion vs forest, plants and soil output.
As in we added more CO2 last year, and plant and forrest life produced as much CO2 as it absorbed (Due to forst, plants, and soil expelling CO2 due to drought/fire/deforestation) etc.

So we add it... nothing takes it away.

Comment So codier than thou (Score 1) 62

> Rust shills or people who've only ever written in hand holding scripting languages.
Those are two completely different parts of the coding spectrum IMO:
* Rust forces structure, typing, a lot of compilation checks
* Scripting languages generally do duck typing and just let you do what you want - though obviously internals are abstracted away.

I personally like to dabble in Swift which has very strict typing, mutatability, etc - which achieve the following:
* Great code completion
* Effecient compile time optimisations, because the compiler can be much more sure exactly what you are and aren't doing
* Code that not only is memory safe, but just generally runs free of many other kinds of errors.

A bunch of people on Slashdot seem to be offended at the thought of a language that makes you use an abstraction layer that then allows the compiler to test for safety as well as provide other efficiencies in coding and runtime, where it seems to turn into some bizzare ideology about personal responsibility.

Meanwhile, I'm happy to use a language that wasn't invented 50 years ago, but learnt a bunch of lessons from them, and for a bit of upfront structure in my code makes my general coding experience faster, as well as producing a highly efficient executable.

Slashdot Top Deals

"Aww, if you make me cry anymore, you'll fog up my helmet." -- "Visionaries" cartoon

Working...