|
I really like the short notation.
When I need to know what type the variable is, I hover the mouse cursor over it and it will show the actual type.
And so long as I am not paid by the character, I will use the shortest notation I can use.
|
|
|
|
|
Resharper encourages var use for whatever reason. However, it does show what the actual type is.
|
|
|
|
|
There is no advantage. If you just write a scribble, then always using var is Ok. But if you write production-level code, var is sloppy style and thus an absolute no-go. Before IntelliSense was able to automatically convert the var's in your source code to the correct type, var was even an evidence of a programmer not knowing what type they're using.
Only exception: Use var to avoid writing the same type twice in the same line.
Bad
List<string> list = new List<string>();
Good
var list = new List<string>();
Because then, when you want to change the type, let's say from List to HashSet, you only have to change it once. IntelliSense also suggests this, at least in VS 2017.
|
|
|
|
|
|
centre of all is the letter l. As to the rest, a bit obscure.
|
|
|
|
|
|
Randor wrote: Deal with it. Already done.
|
|
|
|
|
Hi all,
After finishing my time tracker application, I've done a small page that shows the amount of hours worked in function of the filters selected.
I would like to plot that data to make it easier to understand...
I have:
office hours
remote hours
telephone time
travel hours
...
And I want to have it represented through time...
Line, bars, stacked bars... what do you think would be the best to represent this?
As always thank you in advance!
|
|
|
|
|
I like stacked bars for this - it really does depend on why you're comparing the data
|
|
|
|
|
If there is only one user being displayed then I would say a pie or column chart (or maybe both), if you have multiple users being displayed then probably a stacked column would be best.
I am curious though, what is "telephone time" that isn't a subset of office/remote time?
|
|
|
|
|
I bill for several different concepts:
- office programming time.
- customer office/workshop programming time.
- consulting.
- phone support. <= phone time... (which usually I don't bill).
- travel hours.
- training hours.
- km.
- restaurant tiquets.
- tolls.
- ...
Those are quantified in my summary/report view and I want to have them depicted into that graph.
|
|
|
|
|
Employees in office bathrooms is where the telephone time kicks in.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
A Pie chart.
I like pie ...
And if you are looking for proportion-of-time-spent, it really is the best iype.
Otherwise, I prefer line charts if there is a lot of data, preferably with 10-day and 30-day moving average lines shown as well.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: I like pie
I bet you do.
|
|
|
|
|
OriginalGriff wrote: with 10-day and 30-day moving average lines shown as well Bullish if the 10-day crosses above the 30-day!
I don't think I've ever seen moving averages outside of technical analysis charts. I must have led a sheltered life.
|
|
|
|
|
They are handy for spotting short-time-frame trends, so you can do something about it before it becomes a problem.
For example, if you monitored read errors on an HDD, then a moving average can show clearly that there is a problem, and you should be backing up today ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
What do you mean, "backing up"? I have an SSD, and everyone knows they are infallible!
|
|
|
|
|
<zombie voice>PIEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE!</zombie voice>
|
|
|
|
|
I was taught that line graphs should only be used for continuously varying data, whereas bars should be used for discrete values. In this instance the time spent per day is a discrete measure (unless maybe you're working a 24-hour day) so bar is "correct". Whether pie or bar depends on whether it's the ratios of the different types or their absolute sizes you want to illustrate; though it's possible to show both in a pie chart by having different sized pies, of course.
|
|
|
|
|
Everybody wants to view a graph differently, so instead of picking one, I'd give the user an option to select from several different flavors, no pun intended.
|
|
|
|
|
Yes,
Options are available. Always. And they can be counted. And they can be numbered. And the user can choose them by their number. And it shall be good.
Easy pill to swallow, options.
Thank-you Dr. Nefario!
[EDIT]
Oh, and I forgot something. Each interface shall have it's own help tome associated with it's use. And that extensive collection of non-video tutorial pages shall have images upon which one shall be able to hover with one's mouse and receive more information in contextual text message. And clicking upon sub-image locations one shall be directed to pertinent and whole help pages where related images reside and they shall be contextual as well. And there shall be no advertisement. And then the most good shall come in the final help file link where searching might be done in non-indexed suggestive search-in-search returns so that it shall be possible to find that one words meaning so that it shall rule all meanings.
[EDITS END]
modified 23-Jun-20 15:10pm.
|
|
|
|
|
Would need "world knowledge" of your app, and its UI's, to say respond, but best wishes on your project, which I hope you'll publish here.
cheers, Bill
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Thanks Bill!
I'll think about it.
|
|
|
|
|
In Germany, whatever electronics good you buy has in general a 2 year guarantee. How is it different from Warranty?
On a side note, If I buy an apple product and it messes up in 2 years, Will apple do a free of charge repair or replace here?
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
2 years?
It'll be obsolete in six months, and you'll have to replace it then or watch it slow to a crawl ... in the name of battery saving, of course.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|