All good; thanks for the reply.
Mark Whybird
Posts
-
Phishing anyone? -
Phishing anyone?This is not snark, but genuine curiosity: can you try it on Safari?
-
Expression bodies vs Good Old Fashioned FunctionsYou got some kind of issue with
integerToCountFromOneToOneHundredInForLoopInIfMyValueIsTrueBranckOfMethodFooOfObjectBarInClassBas
? I suppose you think it should have been calledi
or something, you Philistine! -
Have you ever come up with a programming idea so bizarre...Haven't seen Macromedia / Adobe Authorware mentioned yet. It was (is?) a somewhat useful (for some purposes) version of what you're proposing. The screen looked like this. It was an interpreted language without strong types, and kinda verbose and scripty and encouraging of poor practices, but the flowcharting was actually quite well designed. These observations come from 20 years ago, mind.
-
LINQ "let"Nice.
-
LINQ "let"I actually thought about a nasty Linq-with-side-effect version with something like
.Select(vowelWord => Console.WriteLine($"\"{vowelWord}\" starts with a vowel"))
but of course you can't, because Console.WriteLine() returns Void. No doubt it would be possible to force something like this, but that'd be silly; it's actually quite neat that C# protects us from such folly. For one thing, it won't evaluate until the IEnumerable is enumerated, so you don't really know when that is just from that line of code.
-
LINQ "let"Console.WriteLine(
string.Join(
"\n",
strings.SelectMany(sentence => sentence.Split(' '))
.Where(word => Array.IndexOf(vowels, char.ToLower(word[0])) != -1)
.Select(vowelWord => $"\"{vowelWord}\" starts with a vowel")))
;;)
-
Names of PeopleYeah - the issue is not that either your language or your code or your database don't understand the difference between "Null" and NULL - they do - but do you have actual full control over every single line of code in your stack? Really? You use no libraries at all, for anything, including transport? See this stackoverflow question for one example.
-
Names of Peoplejschell wrote:
- Name must exist.
Why? (see originally linked article.)
-
A new technique makes GPS accurate to an inchI think this is awesome, and they are very developer friendly: what3words makes the entire earth addressable down to 3mx3m squares in 3 words. It's loads easier to say, as a human, "scenes.shed.booth" than either "Just near the north-west corner of the main lake of the Royal Botanic Gardens, Sydney, Australia" or "Lat/long -33.863523, 151.217154" And it works in uninhabited/unmapped places, too.
-
Is this the worst code in the world?Could be worse... Did you see the time that testing made a fake best-seller? http://thedailywtf.com/articles/Ive-Got-The-Monkey-Now[^]
-
Is this the worst code in the world?LOL!!!
-
Are all programmers sarcastic?Those who read this quote are doomed to repeat it. - me
-
Are all programmers sarcastic? -
Reading between the lines...questions from non-IT peopleAlso "Computer" when they mean "Monitor".
-
Does anyone code with LISP?This guy did real stuff with it: http://www.paulgraham.com/avg.html[^] It helped him make money, too.
-
What bugtracker to use?We use physical red cards stuck with blu-tac to a physical wall. Works a treat. And yes, this is enterprise software in a company with about 30 developers (each team/project has their own wall).
-
When did Programmers become Developers?You're right about software dev itself being more like both structural and, even more so, mechanical engineering than most devs think, but it is also much LESS like physical engineering in terms of Project Management than some PMs and managers are led to think. I have a really good friend who trained as a CE and is now in software and we often tease each other about the differences, but in truth there really are similarities. Its really the (project) management that is the issue in terms of falsely perceived similarities. p.s; off topic: your note about anti-gravity houses reminds me... In this part of the world, houses were traditionally (i.e. more than say 60 years ago) usually built up high on sturdy pillars to allow air circulation underneath. Often these days, that underneath space is enclosed for more living space. I was talking once to a builder about costs of having excess posts removed underneath. He said "$300 per post, regardless." I asked what he meant by regardless, and he said that there was always a way to remove any post, and his charge would be $300 per post. I wasn't perfectly serious when I immediately asked him to remove every single one, but if he could have made the house float for that price, it would have been totally worth it :)
-
When did Programmers become Developers?Build is what the compiler does. The command is even called that. Programmers/Developers/Coders/Stylists just make really, really detailed blueprints so the stupid, literal builder (it's just a computer program, remember) can do the building. StackOverflow: What's wrong with the analogy between software and building construction?[^] My answer to Stackoverflow:Throwaway Prototypes vs Evolutionary - Justifying their use to the business, and preventing their misuse[^]
-
Electronic Consciousness?See also pretty much everything by Greg Egan. Love his books. Myself... I'm not sure.