Comments (6)
I think the fopen can add error code handling, but the malloc I feel not very necessary.
Because the malloc failure is very rare.
from mojoc.
I suggest to avoid ignorance of return values a bit more.
Would you like to detect every error situation as early as possible?
from mojoc.
Not now, unless there is a related bug.
from mojoc.
- Are you interested to apply aspect-oriented software development?
- How do you think about to encapsulate error detection and corresponding exception handling as a reusable aspect in your software?
from mojoc.
I wrote 3 years j2ee that use java with Spring framework, and use AOP to handle exceptions and database transactions.
I felt the power and benefits of AOP, but I think it‘s not suitable for game and game engine, also small software.
Because AOP is too complicated and may have performance issues.
from mojoc.
I felt the power and benefits of AOP,
This is nice.
but I think it‘s not suitable for game and game engine,
I wonder about such a view.
also small software.
Will your development evolve in ways where source code sizes will be significant?
How many design patterns are you going to apply here?
Because AOP is too complicated
Aspect-oriented programming triggers specific development challenges.
and may have performance issues.
Can this concern be adjusted so that further progress could be achieved?
from mojoc.
Related Issues (13)
- android手机上运行闪退了 HOT 2
- ios build error HOT 2
- Wiki Improvements HOT 3
- Feature Request: mojoc for Ubuntu or Windows HOT 2
- RE: some questions HOT 2
- Super Little Red crash on splash screen
- About the logo. HOT 1
- I'm excited about your publish HOT 1
- gradle configuration error HOT 1
- fatal error: 'Engine/Toolkit/Head/UserData.h' file not found HOT 1
- 如果不使用NativeActivity该怎么使用这个库? HOT 2
- Please consider Gravity for Game script language. HOT 1
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 mojoc.