Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
> Just parsing a simple xslx
i've worked enough with excel-files (too much, tbh) so i can tell you: it's _never_ simple.
if it were simple, csv would have sufficed. the fact that xlsx was chosen shows that there's at least some arcane magic inside. and/or that the person requesting this feature is an idiot. usually both. -
@tosensei The only thing is that it does is:
- read names
- read primary number
- read secondary number
- check if it is valid phone number & check if there are duplicate records in the file & existing phonebook.
I think that should be pretty simple to make it in a week or 2 max. but they over engineered it and it breaks constantly :D -
DotGreen501yIt might not be straight forward but it wouldn’t take 9 months. Unless it’s some obscure backend framework then it’s a week at most.
From scratch in .net, a half decent dev could do that in a day. -
@wojtek322 well, "valid phone number" is a problem that still hasn't been fully solved. it's not as bad as "valid email address", but it's full of pitfalls and edge cases.
also: i am _very_ certain that excel has no scruples messing up phone numbers in numerous ways.
and you don't even know what $PeopleWhoCreatedTheFile did to $TheFile -
@DotGreen "in a day" - in theory, yes. but in my experience, it's not very pessimistic to multiply every estimate involving "excel" in any way by ten at least.
-
DotGreen501y@tosensei the basic upload and checking can be done in a day. As long as all the rules around checking are defined and there’s nothing else additional that needs to happen other than just rejecting a badly formatted file. I’ve done similar.
My guess is that it’s badly defined, the requirements are flaky and it’s a project that no one wants to touch. It would take a monumentally shit dev team to be incapable of coding that in 9 months. -
@tosensei We are using the google/libphonenumbers library to validate it. This covers nearly all use cases.
The excel is rejected if the spreadsheet format is slightly off. It is just 3 columns and we offer a template that the user has to use. I fail to see why it takes that long; we are not covering all use cases that can happen.
Related Rants
the back-end now has spend 9 months to be able to upload phonebooks .... and it still doesn't work :'D
How... It's not even a complex feature. Just parsing a simple xslx file. I don't know how incompetent a senior developer can be.
rant