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
-
gitlog57636y@N3vR send links to learn using debugger....
I know only basic usage of debugger and no more....
Been searching since 2 months but failed to learn more -
20: Don't be afraid to dive into lower level languages like C or any Assembly. That knowledge will prove very useful later on!
-
kalex3386y23. If you don't find solution, it's not the end of the world, use StackOverFlow, and make it work!
24. Code hard, don't hardcode!
@akashvartak, @kkdev do you want add anything? -
@htlr @kkdev @kalex
25. Unable to solve an issue or bug and getting frustrated? Be patient, take a break for the code, relax and then back to your issue, more often than not you'll now find a good solution to your issue. Basically start with a fresh mind.
26. Get a fresh perspective on things. If possible, talk to team mates and get suggestions and different ideas.
27. Dont code for hours a stretch, you are unknowingly draining your brain to the limit. This is unhealthy in the long run.
28. Every 30-40 minutes, get up and walk around, stretch a bit. Sitting for a while can harm your shoulder muscles and lower back. Learnt it the hard way. 😞 -
29. Write automated tests for unit and integration testing, at least after the fact.
30. Try to apply best practises like design prinsiples. DRY (don't repeat yourself), IoC (inversion of control, with dependency injection the big one), at least some SOLID (look it up 😉).
31. Program against interfaces or contracts, even in JavaScript. Makes your code a hell of a lot easier to change later (i.e. changing from MySQL to DynamoDB or AirTable only affects that specific module, not the rest of the app)
32. Give back to the community. Help people on StackOverflow (and be nice about it 😉). Found a bug in some documentation or plugin you use? Raise an issue, fork, fix and PR if you are able. The world runs on open source these days.
33. SSL all the things. Certificates are free, use Let's encrypt if you don't have money.
34. Hash the damn passwords with a salt. -
2erXre524956y36. Do proper estimations: Take the ideal estimation, sum that value up with the worst scenario estimation and triple the resulting value for getting a proper estimation (which in fact has a 50% chance to be correct 😉)
-
vhoyer13316y40. if your problem seems too complex and hard, get yourself a pen and a sheet o' paper and start laying down your ideias. it actually helps a lot. I find it better to do with lots of drawings and not lots of writing.
Tips for people new to programming
1. Start counting from zero
2. Trees are upside down, root's probably at the top
3. Warnings are usual, go rogue!
What more? 😂
rant