|
Is it April 1 already? Wait. This isn't a joke?
|
|
|
|
|
I do actually find myself trying to stick to 80 lines, but some expressions just end up longer than that, with LINQ and so on - and in some cases, splitting the line makes it less readable.
It's like this guy in a bar - the bartender bet him he couldn't drink the contents of the spittoon, so off he went, gagging and choking and turning blue, and kept going long after the bartender told him he could stop - and finally made it - and the bartender said, "Why didn't you stop?" and he replied, "I couldn't: it was all in one solid lump!"
|
|
|
|
|
Dan Sutton wrote: end up longer than that, with LINQ and so on
LINQ itself lends (pretty much requires) longer lines but they can certainly be formatted.
This is similar to formatting SQL in C#, Java, C++, etc when it is a string. The first try always starts out as one long string until one understands that it can be formatted in a way that makes it readable.
Dan Sutton wrote: and in some cases, splitting the line makes it less readable.
Not sure I believe that. But one can certainly reformat a long line in a way that makes it confusing. But that is a formatting problem rather than that the technique itself is flawed.
A long line pretty much starts out being difficult to read/understand regardless of how it is formatted.
Long lines will have 'parts'. So for example LINQ for a db has a data object, clauses, etc. SQL as a string has the same thing. If you write SQL in a stored proc it can be formatted in the same way.
Keep in mind of course that for C#/Java/C++ line breaks are not required. So one can write a method (and even a class) on few or even one line. But very few would claim that is a good idea.
|
|
|
|
|
Yes - I understand how to program. But sometimes, it just doesn't make sense to split the line. Often, it does. But not always.
|
|
|
|
|
|
Here's a better video than that article that debunks Agile:
Agile & Scrum Don't Work | Allen Holub In The Engineering Room Ep. 9 - YouTube[^]
These guys make a lot of sense -- and they explain that Scrum is a alteration of Agile to make it fit companies and ruins the original heart of Agile. And, that SaFE is just totally wrong.
The only thing in Agile that really matters are the principles from the original manifesto, the rest is people trying to make money off it.
|
|
|
|
|
Reminds me of a bus conversation i overheard more than 10 years ago (bus full of developers going for work)
Person 1: What development methodology does your team follow?
Person 2: Waterfallish agile.
Learnt a new buzzword on that day.
|
|
|
|
|
Boss: We're switching to Agile.
Team: We've been agile all along.
Boss: But now we'll use Scrum.
Team: Scrum won't work for our project and it will actually slow us down.
Any system for working with a large backlog of work to perform, by definition requires a large backlog of work to perform. Many managers tend not to understand that. The Agile and Scrum folk don't seem to mention the circumstances in which their systems may help.
|
|
|
|
|
After lengthy meetings, I often see people doing sprints to the coffee machine, to be first in line.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
|
Ah the simple joys of childhood, having a dog and a sense of wonder at the simplest of things. How I miss them.
|
|
|
|
|
"This dog keeps sneaking into our yard to use the trampoline I always let him have his fun”
He would be a big meanie otherwise.
I'm betting the trampoline gets more use from the dog than from his own kids.
|
|
|
|
|
It seems like there's an interesting back story of how the dog found its way on to the trampoline in the first place.
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown
|
|
|
|
|
greetings and kind regards
this is to suggest to those who are expert in AI what seems to me a useful application of the technology . id est a method of recommending career choice to those who are otherwise uncertain . assume a collection of personality profiles financial profiles intellectual profiles physical profiles etc. etc. etc. of a great many individuals happy and successful in their careers . our thus trained AI assistant can then be inquired upon by providing one's own such profiles and voila bingo presto uncertain no longer .
|
|
|
|
|
Anyone who relies on a machine to make their choices for them deserves everything they get.
|
|
|
|
|
I use this device for making critical decisions:
Magic 8 Ball - Wikipedia[^]
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I use an even simpler and cheaper device - an old 1p coin.
Heads or tails?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Daniel Pfeffer wrote: Heads or tails?
So if it lands on its edge then that is the same as the 8 ball 'Cannot predict now'?
|
|
|
|
|
jschell wrote: So if it lands on its edge
It's never happened to me yet...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
heads you write great code . tails you write greater code .
|
|
|
|
|
Maybe then, this career-recommending AI should also be accountable, and help the person in performing superlatively well in that job.
Wait ... would it mean that the AI will itself execute all tasks in that job?
|
|
|
|
|
I hope this news report is accessible internationally: Agder nedsnødd: Klarer ikke åpne skolene[^] ("Agder snowed down: Cannot open schools").
The text is in Norwegian, but you don't need to read the article to enjoy the video clip in the first image.
(If the web page is inaccessible: One guy is shoveling snow down from a roof - the snow goes significantly above his head. The third image shows the news reporter climbing through a window to get out of the house - the door cannot be opened. [They update the story now and then, and have replaced this photo with another one])
This is from Norway's southernmost county, Agder - a district where most winters bring at most a couple inches of snow to the costal towns. They were not at all prepared for this.
Religious freedom is the freedom to say that two plus two make five.
modified 3-Jan-24 8:43am.
|
|
|
|
|
Just a little snow there . Also, google kindly translated the text for me.
|
|
|
|
|
|
15 centimeters of snow - 6 inches for those of us in the US. This isn't much snow. However, the wind makes it a lot worse by creating huge drifts.
|
|
|
|