Comments (6)
I feel that changing the return type would be worse than an empty string...
from php-mt940.
The point is that null in indicates a missing value while an empty string
is a valid name.
On Thu, Dec 24, 2015, 19:11 Robin Speekenbrink [email protected]
wrote:
I feel that changing the return type would be worse than an empty
string...—
Reply to this email directly or view it on GitHub
#26 (comment).
from php-mt940.
I know blank is an invalid name, and as a setter it would be invalid, but the official mt940 docs (AFAIK) dont mention that a name has a minimum of characters, thus not switching return type has my preference... One might argue about throwing an exception, but thats a different story ;)
from php-mt940.
If mt940 doc don't have a minimum length then blank is valid.. That is why
we need null. Note that null is not a different type; it is not a type at
all
On Sun, Dec 27, 2015, 19:39 Robin Speekenbrink [email protected]
wrote:
I know blank is an invalid name, and as a setter it would be invalid, but
the official mt940 docs (AFAIK) dont mention that a name has a minimum of
characters, thus not switching return type has my preference... One might
argue about throwing an exception, but thats a different story ;)—
Reply to this email directly or view it on GitHub
#26 (comment).
from php-mt940.
null
is a special type indeed, thats true... Anyone else have an idea of switching return types ?
from php-mt940.
I still stand by my original point of view that returning NULL in this situation is weird? The return type is a string (it might be empty) but it is / should always be a string...
from php-mt940.
Related Issues (20)
- KNAB parser fixes HOT 1
- update the ABN engine to 1.4 HOT 3
- KNAB - New structured file HOT 13
- Registering new Engines doesn't respect priority HOT 5
- Rabobank /PREF handling HOT 5
- Can you modify your code HOT 3
- Can't parse file HOT 2
- Problem parsing ABN Amro mt940 'Dagafschrift' HOT 2
- ABNAMRO Transaction Entry Date parsing bug (using current years instead of booking year) HOT 5
- Statements in different currencies to not have correct Start/End price HOT 2
- price is not correctly parsed HOT 1
- Basic example HOT 1
- getRelativePrice() missing HOT 3
- ING sanitizeDescription update HOT 5
- ING EntryDate fix HOT 4
- Correction to ABNAMRO description + AccountName filtering
- No result and no errors? HOT 7
- Writing MT940 HOT 2
- Knab transactions HOT 3
- [QUESTION] Is this still being maintained? HOT 3
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 php-mt940.