AboutWeb and Software Developer
Skillsjs, ts, php, rust, c#, aws services
Joined devRant on 9/24/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
What would happen when your friend goes overboard with rubber ducks. 😁
We received legacy project for support and fixing.. it had few issues:
1. There was a controller called MainController. This guy was the soul of the project 10k+ lines, heavily dependent on the data from the database.
2. We didnt get the data. Just the database structure (we couldnt run the app at all)
3. At the very end of that controller there was a "simple" eval($_SESSION['somevariable'])
4. We had no documentation and had to guess how it works...
Someone really had fun screwing up this project. Needless to say we got rid of it quickly. :)
Well... best thing you could do is not limit yourself to one language and one area of programming. Experience and being better comes from exposing yourself to variety of programming areas and seeing how things are done there. :)
Hmm best part of being a Dev? I guess it is the fact that you can know how things actually work in inside something instead of looking at it and saying "Its Magic!". It kinda ruins playing some games, since you figure them out pretty quickly.
Other than that, I like the feeling that I know enough about computers and performance and how things work that I can choose the best Desktop/Laptop and stay away from marketing bull. :)1
Love all lambda functions from c#, oh and extension methods. They make life way easier in c#.
From PHP: file_get_contents/file_put_contents. It does a simple job but allows many-many sources and protocols (like HTTP) to be used as sources.
Other than that - monkey patching in Ruby, wish every language had that, because there are a lot of closed-for-extension scripts out there, and when you need to override a specific thing in the code you cant.
How many of you are here which truly care about code and don't like that there are standard 9-to-5-devs out there?4
We once had to make another wordpress multilanguage site on a different domain but it should use the whole footer from previous site full with its images and sitemaps. The client said "just make it look like a copy of a footer". This would require us to copy the whole footer for 4 different languages every time somebody makes a change in the original site.
So the workaround we did in the end was to make a specific page in original wordpress site which only returns the footer.
In the new wordpress site we made a code which scrapes that whole page and puts its contents on the footer of the new wordpress site.
It worked perfectly and we never needed to copy the whole footer again because it was "dynamic".