Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I heard about 10.000 lines of code in one function at a job interview. I did not accept that job offer and I am quite happy that I don't have to maintain this... This is a serious lack of craftsmanship! A little bit of Clean Code for every programmer please... But I am drifting a bit off topic now.


Have you looked into any of SAP ABAP legacy repos, by any chance? What is your take on that?


How is this possible...what language/framework/tool was this in or for?


I've found this pretty frequently at every corporate workplace I've come into. Pretty much every job I've had involved heavy refactoring of the code base for the first month or two. The worst I have ever seen was at my current where I discovered that for every new function the old dev added, he had copied and pasted the entire code from the previous function and then added his new stuff at the end. The last function was over 20k lines if I remember correctly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: