Details
-
Aboutfullstack web developer.
-
Skillsjava, javascript, react, php, html, css, sql. To old to remember the names of them all..
-
LocationSweden
Joined devRant on 9/25/2021
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
-
@fullstackchris this old man still has a few tricks up his sleeve.
-
I would say the movie "hackers" from 1995. If i remember it correctly they chased a hacker with pacman using a joystick (google joystick if you are under 30).
But i guess no one even remembers that movie, so bad example. -
I think i was a bit unclear. I meant people who works as software testers, not devs who writes tests.
-
Well not exactly true. Laravel is a framework built on top of Symfony wich is a set of very popular components.
Even if you decide to code a project/framework from scratch you still need to install components and at the end you will end up with a piece of Symfony/Laravel.
People coding php today (from scratch) without using composer/existing packages are rare. -
Yes i will never be able to spell "business" even if i get a masters in it.
Have mercy im only Swedish!
Bank cashier im not good enough for since i dont even remember enough to do my own taxes correctly. Maybe i can count peanuts at some factory? -
Also when it comes to tests: make them readable and forget about all oop rules like single responsibility etc etc.
Tests are all about readability and making sure something works as expected. If you have to copy 10 lines of code for each method in your test then do it if it makes them easier to read. -
I like the laravel way of writing test methods: "it_doesnt_allow_a_user_to_sign_up_twice()"
Then there is no need for a comment and if the sentence gets to long when writing integration tests, the test should be a unit test and not integration... -
Man, you cant edit stuff thats too old. Anyway, anyone that feels the age of 40 destroying them can be happy they arent 50...
-
@Wolle maybe we can meet sometime. Give me a ping if you like c6, nintendo 8 bit and bad horror movies ffim the 80s...
-
I dont think its wrong though. This is how it should be!
-
I used to love McDonalds, coding, video games, pringles, pizza and beer!
Then i started loosing weight really fast. At first i was happy because i could eat more pizza without getting fat.
Then i got weaker and weaker, ended up at the emergency with type 1 diabetes...
Now all i have left is coding and video games :(
Not bad but man do i miss pizza and beer... -
You need to learn when to keep things simple and when to use every oop concept you read in a book.
This takes many years, and junior devs coming from Java loves to overcomplicate things by adding interfaces to everything.
BUT junior devs coming from php, python and javascript builds god objects and doesnt use interfaces for anything... -
@asgs yes! Or an elearning standard!
-
Then your girlfriend enters the apartment (she thinks working from home === relaxing from home).
She starts complaining about how you could have done the dishes and how snacks makes you fat.... -
Ok. Well i guess i can find some comfort in the fact that i atleast looked like the basement hacker guy a year ago.
But then i met this girl who forced me to start working out, cut my hair, buy new clothes and take daily showers.
Now i feel more like an imposter than ever before! -
...shouldnt be managers over people who does.
Have you ever seen a manager managing a group of construction engineers who knows nothing of the construction business? -
They are all outdated before printed.
But you can still get some good understanding on the basics of the language if you read a book, just ignore recommendations from the author on when/how to use certain language features. -
When i called the bank tech support (because a javascript error prevented me from downloading an account statement) they told me "clear your cookies"
That was after waiting 1 hour in the phone queue. -
A good manager asks the developer for advice and trust their opinion. I could not work with a manager that doesnt listen to me when i tell him/her the idea they have wont work.
I once quit my job since the manager wouldnt listen to me. Every friday i was pissed because of him instead of happy that weekend was coming. -
In many cases i feel that you can skip unit tests if the feature is not too large and the code you are testing is specific for the that specific feature. Then you can just use feature/integration tests.
If its a really big feature however i feel that the integration test suits becomes way to huge if you are to test every scenario possible from a top layer.
But if you use unit tests i think you should be careful with mocks and shouldnt "mock what you dont own" since you can get a lot of false positives since you are mocking an api that might change. -
@jfgilmore i dont think modern browsers allow you to set a third party cookie anymore.
-
@C0D4 ok here is a little twist: building these things i hate is a part of my job so i cant turn them off.
-
And why inform about cookies and not localstorage etc?
-
When you hit 30, stop living like when were 20 or your body will start breaking down when you are close to 40. (my own experience).
-
I know its impossible to have a programming language where you can only do things in a certain way.
In Python and PHP you can you can use both procedural and OOP styles to write code for example...
But if we are ever going to get to the stage where robots take control of earth, then we need to atleast agree on some basic standards? -
@Crost yeah i understand what you are saying, i just think that it should be something to strive for.
-
Its@darksideofyay because its saturday and i like scottish whiskey. (Dont tell my girlfriend)
-
Real men uses vodka mixed with chewing tobacco instead of toothpaste!
-
@sariel But should you really have to think of every possible security flaw that can happen if devs use your library in a certain way?
-
Soo...if it was in the documentation then the whole issue is that the api should have been more self explaining?