As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've seen a lot of developers who move across VS almost quicker than you can see. A lot of it seems to be short cut keys. I'm a terrible hunt and find it in the menu. Is there a tried and test way of getting your speed up to dome of the VS masters? Is it just memorizing all those short cut keys. Maybe removing the menus so that you can ONLY use the shortcuts? How have others done it? Are there other techniques?
EDIT
I've seen a lot of the key-binding and key code lists. But its actually going about putting in practice so that its second nature.
This isn't my forte but... print out a spreadsheet, if you will, of all the shortcuts you think you might like to use.
Plaster it to your desk. Whenever you would like to reach for a menu, force yourself to go over this spreadsheet.
Slower at first, faster in the end.
(See the link below for a list of spreadsheets from Microsoft, though you may want to reformat the data there.)
Good luck sir.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am tryingt o convert a code from Mathematica to Maxima. The code is around 300 lines, I did not write it and the person who did was not good with comments. I was wondering if anyone know of a program that does converting like this?
I tried one from source forge called mixima but I could not get it to run.
Best,
Ben
Converting from Mathematica syntax to Maxima is pretty straightforward. Somewhere out on the Interwebs there is a "Rosetta Stone" of programming languages that might help. (Found this [1] which seems helpful, although I seem to recall something more extensive. Can't find anything else at the moment.)
However, the difficult part is that there might be functions which work differently in one system or the other. In particular, I think Mathematica's function for solving equations is more powerful than Maxima's. So whether or not you can translate the code depends on more than just converting the syntax. My advice is to post the code to the Maxima mailing list (maxima#math.utexas.edu) and ask whether it can be translated.
[1] http://www.axiom-developer.org/axiom-website/rosetta.html
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
My manager never did refactoring. I once read Martin Fowler's book Refactoring and apply its tips on a module. So he want me to make a plan on refactoring existing project.The project has no unit-test and my teammates not know much refactoring. He insist me to make a schedule on the process, as to modify which file, how long it take, the final outcome, how many methods will be extracted...
I have recommend him the tips in how-do-you-refactor, but he wants a detailed plan.
Without unit tests, you can't really refactor with confidence. So start there. Don't set out to "unit test everything" or "refactor everything." Just quietly start wherever you are.
Eventually, the code you work on should be noticeably cleaner, which means it will be easier (cheaper) have fewer bugs and be cheaper to maintain & reuse. Those are the things your manager cares about.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
In my opinion treeviews are overused, therefore I don't really care for them. Sometimes they're necessary but I can imagine that one could always find a good alternative to the standard treeview.
What are some other innovative ways to display hierarchical information that convey the same information without the drab of a treeview? Which one(s) are the best? Should I just be happy with the treeview because that's what everyone knows how to use?
Take a look at Quince for some UI (they call it UX) inspiration. Search for hierarchical.
Examples include patterns such as Cascading Lists and TreeMap.
From those, you can click the "related" button to see even more ideas.
UPDATE: 2014-Sep-21, Sad news from Infragistics: "Quince Pro - We are officially retiring this product." More on their blog under "Product Status Change Notifications". I hope they retain it for a while as reference!
First off - I don't necessarily agree that TreeView's suck. TreeView is a fairly clean, standard, understandable way for people to work with a hierarchy of items.
That being said, there are many other alteratives. You can have multiple lists, with a way to go up/down in the tree. You can have something like Vista's file browsing, where you have an address area with a list under, and can drill down. There are many other options.
TreeViews end up being used in many cases, though, because it's one of the more concise ways of displaying a hierarchy, and it's obvious that you're looking at hierarchical data.
What I find works well is a combination of more advanced controls and tree views combined together. For example, take Outlooks explorer bar setup. I think that works well.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm still trying to learn LINQ, though it's going more smoothly now that I've started to use it daily at work. I still don't feel good at it, though. Does anyone have any challenging practice exercises or puzzles I can use as a code-kata to improve my skills?
I'll leave this as community wiki, so maybe it can grow to a community list.
If you have not discovered http://www.linqpad.net/ it lets you practice linq in a lightweight way, as well as having some inbuilt examples from C# 5.0 in a nutshell and C# in Depth books.
101 Linq Samples is a good one for reference. Not a puzzle though
I know the 1st 2 questions at Project Euler is 'LINQ' friendly, I never did any more, but it should be fun either way :)
Puzzle:
Do a full outer join in LINQ.
I've been finding "foreach's" in existing code and attempting to linq'ify them. Many times things have been different enough for me to learn new concepts or at least if they're similar I get to feel more confident that my Linq skills are getting better.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I enjoy programming, usually. Tedious stuff is easy to get done as quickly and correctly as possible so I can get through it and not have to see it again.
But a lot of my coding is fun and when I get in the 'zone' I just really enjoy myself.
Which is where I make the mistake of spending too much time, perhaps adding features, perhaps writing it in a cool or elegant manner, or just doing neat prototypes.
How do you recognize this is happening before it exceeds your time frame?
What do you do before starting a potentially fun piece of code, or during, to get back on track?
When is it ok to let yourself go "hog wild" and just enjoy it without worrying about consequences?
-Adam
Keep a detailed prioritized feature list/bug list. review it often then balance the fun work with bugs/features that need to get done.
Give yourself a hard deadline--even for your own projects. Otherwise, you'll just keep tweaking and adding features ad infinitum.
Always have a working release (snapshot) ready. Treat it like the way SQL server implement snapshot isolation. :)
Continue adding new cool stuffs to a separate copy of the project. Once it is stable, overwrite your release folder and that is your new snapshot. Whenever somebody ask for a demo or release, that way you can always switch to the stable application and will have something to show anytime.
With a backlog. That way you'll always have in mind what needs to be done before you can start doing what you want to do.
Justify any "fun" features you insert by regarding them as marketable eye-candy.
Unless, of course, they're not visible ;)