Visual Studio 2008, the watch features is no longer use nowadays...coz you can check directly by placing your mouse cursor to your variable. All of the inherited objects are displayed.
Visual Studio 2008, the watch features is no longer use nowadays...coz you can check directly by placing your mouse cursor to your variable. All of the inherited objects are displayed.
the watch features is no longer use nowadays? murag i find that to be unlikely bro.. if mao na ang case, gi-obsolete na ta na nila..
and i just tested that ternary operator in the watch window sa visual C# 2008 express edition, it evaluates just fine..
and i doubt na tanan expressions madala ug mouse over, mao na gamit sa watch window..
nganong e remove man jud kung no longer use? you still don't get itsooner or later you will know why it is not use often. for the meantime,research about optimization options, and how it affects the watch window, its one of our reasons, and there is this famous cheap plugin for visual studio, that used by many HP, Intel, Compaq, IBM and more...
Anyway try to use it often nalang... so you will not miss the chance of knowing those side effects.
example:
This expression causes side effects and will not be evaluated.... or does not exist in the current context, or symbol XXX not found...things like that...
I really hope that you tested![]()
ug kung dili na gamiton, ngano i-implement pa man na useless naman kaha? logic ra man tingale na bro.. ngano gi-implement man na ang ternary operator kung wala jud diay na siya use? simple logic ra jud na..
i am aware of your side effects sa watch expressions.. but that only happens when you are assigning values sa watch window.. its not enough justification for its unusability..
i-share daw na imong research na claiming na dili recommended ang watch window, kay wa pa jud ko kadungog ana.. sige lng ka storya na "corporate standards" pero wa jud tay nadunggan ana na credible..
HP, Intel, IBM, Compaq.. pfftt..![]()
no offense bro, but what is the name of the company you're working for gani?
I didn't mentioned or wrote anything about ternary na useless or wala siya use![]()
I'm not telling you either that watch window is not recommended or the usefulness has already been declined… I’m just sharing that it has some limitations and side effects.
Perhaps you don’t get what I mean about corporate standards, why they ban the usage of ternary operator… I already explained to you why… a corporate standard, as the name implies it differs from every company…
I came from AVEVA - Engineering technology and been deployed at DDW Southeast Asia Singapore.

Introducing checkstyle.
checkstyle is a tool to help Java programmer to adhere the best coding standard
Cool things about checkstyle
-- you can automate the checking with Ant so it's very nice to integrate with hudson or cruisecontrol build servers
-- generates xml or html formats
-- cutomizable configuration - you can define your own standard and best practice
-- it's also a framework/api that you can add or extend the 'check' tasks
-- can be used as IDE plugins such as in eclipse
See more about it at: Checkstyle - Checkstyle 5.0
I think there's .Net/C#/microsoft similar to this.
you still don't get itsooner or later you will know why it is not use often. for the meantime,research about optimization options, and how it affects the watch window, its one of our reasons, and there is this famous cheap plugin for visual studio, that used by many HP, Intel, Compaq, IBM and more...
when you say corporate standard, that means its a standard being adopted by corporations, not just one corporation..
if you generalize, mao na siya.. but if you specify that its your company's standard (maybe because ikaw ang gabuhat sa inyong standard), then please do say na its the coding standard inside your company only.. lahi man gud if you generalize, because that goes without saying that it is being adopted in other companies as well.. its obvious na in-love kaau ka sa imong company, pero yaw lng pud ingna na parehas tanan sa imong company.. ingon gud ka na research kung ngano less used na sa uban.. why don't u just post your research here.. because as far as i've heard, i've never heard of such "corporate" standards..
you have different practices that are not applicable to the majority, that's because imo na personal preference.. its not because its a general corporate standard..
i'm sorry, i left the corporate world some time ago already..

im not sure if tidy-ing you mentioned automatically modify or proposed you the code format.
but in checkstyle it usually give warnings and reports. It also it also check not just the code formats. it also check if you have javadoc, class structure (example: it has checks that suggests implement hashCode() if you implement equals()), whole checking of the code is possible.
Similar Threads |
|