Comments (5)
No, it wasn't helpful. And I wonder why spending your time doing that? :)
'a "perfect" team, that followed all these good design principles and practices' would be code oriented more than business oriented with all the consequences. Feature quality is incomparably much more valuable. Personally I wouldn't suggest anyone to become part of code oriented team. Everything is measured by result. And I consider as good code the one that has created a good feature, not the one that just looks shining.
Do you advertise an automatic code brushing solution or want to help making code better? I am for it. :) I don't mind to have shining code after all, if it doesn't steal feature development time.
Or you JUST pointing out that the code is not perfect, because you could write better? :)
from intelseapi.
No, it wasn't helpful.
It is pity.
And I wonder why spending your time doing that? :)
Just for fun, like watching movies :) and to see what happens outside my own company, where guys (at least my team) are able to produce high quality code, while being more(!) productive in terms of being business oriented.
I consider as good code the one that has created a good feature, not the one that just looks shining.
I believe it is a true statement - the code that produces a good feature is good.
But I do also believe that you should also be confident enough that you do not break another features that exist when you are adding new.
I cannot believe you are confident when you add a really large feature that needs lot of existing code to be changed.
You should have very plain code with a very small cyclomatic complexity metric (so you have 1-2 scenarios to test manually) or you should have plenty of automatic tests (you have no, as I see: https://github.com/01org/IntelSEAPI/search?p=1&q=test&type=&utf8=%E2%9C%93).
You should not feel like adding a new feature is like adding it from the scratch (you should reuse a lot of you existing business model, you should feel like the feature is already there and you need just enable it). The code (that code oriented command produces) helps adding more and cooler features to the product.
Do you advertise an automatic code brushing solution
I do really want to run some C++/Python code analysis tools to take a look at what they say - just for fun (I see you use these languages mostly (Python 42.4%,C 28.6%, C++ 16.9%, ...).
And I think there should exist some automated (or even automatic) C++/Python linters that can do smth for you.
Also as you use C++/Python I think smth similar to ReSharper C++ or PyCharm should help you producing more clean code without thinking about your "spent" time:
https://www.jetbrains.com/resharper/eap/
https://www.jetbrains.com/pycharm/
I'll be back (but with some code metrics of your solution) :)
from intelseapi.
More to add.
DDD - domain driven design - the approach used by many "serious" companies as a way to streamline their development. The idea is to focus on business but reflect it in the code. It gives both of 2 worlds - good and clean code due to its alignment with features business want and fast emission of new features (what business expects) due to the same reason :)
from intelseapi.
Well, great! I see that you are very knowledgeable in code quality area. And I see that you really want to help, not just to ridicule. And since this is open-source project, you can make your contribution! Next time you have a half of hour to spend around this code, please improve a function or two. Please don't forget to run the tests, they are in "test_*.sh/bat"
from intelseapi.
Default pylint config shows the following:
Your code has been rated at 5.86/10
from intelseapi.
Related Issues (20)
- itt_notify.hpp: "ScopeTrack(track)" constructor not marked explicit
- itt_notify.hpp: UNICODE support broken and diverges from Intel ITT API HOT 1
- itt_notify.hpp: does not support disabling library via "INTEL_NO_ITTNOTIFY_API" HOT 1
- test_win.bat strange results? HOT 1
- Provide pkg-config support for Linux
- Align ITT library name between SEAPI and VTune HOT 1
- Build fails on centos 7.5 HOT 2
- Fail to install SEAPI on Linux HOT 8
- Requires 'bin' folder to be present in checket out sources to install HOT 2
- Installation of libraries is made to bin outside of /usr HOT 1
- Compilation does not support the MUSL c library HOT 2
- Does not cleanly cross-compile HOT 2
- Excessive build warnings HOT 2
- `set(CMAKE_OSX_ARCHITECTURES "i386;x86_64")` is too much of an assumption HOT 2
- Static compilation is not supported HOT 3
- PATH_MAX is not declared in <limits.h> on Fedora HOT 1
- ittnotify increment & decrement API seems broken
- Code injection HOT 1
- ECCN for ittnotify
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intelseapi.