Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Articles related to "programming"


Coding practices your future self will love you for

  • It is a good idea to copy-paste the same function a minimum two times in the codebase.
  • Practice debugging code on your local machine via logs instead of a debugger.
  • Debugging on your local machine ensures that logs are added at the right place.
  • Premature optimization, especially micro-optimization, is not a good idea because you don’t know whether you are working on removing a performance bottle-neck or not.
  • Adding unnecessary features makes the code harder to read & debug.
  • The common assumption is that CI/CD pipelines are important only in teams that are pushing a lot of code into production every day.
  • In my experience, CI/CD pipelines are even more important for codebases that are rarely touched because you won’t remember how & where the code was deployed.

save | comments | report | share on


#discussWhat was your first programming language and why?

  • I use JS a lot these days but it's not the first one I learned (it was the second).
  • My first foray into programming was a combination of C++ and GameMaker Language.
  • I wanted to make games when I grew up and I remember reading everywhere that C++ was the language to learn.
  • I was also using GameMaker a lot after school to hack together terrible prototypes which, at the time, used GameMaker Language.
  • After reading through hundreds of pages of a introduction to C++ book, I still never really got the hang of C++ but some of that knowledge stuck around and helped out with JS and Python.
  • Today I haven't written any C++ or GameMaker Language in years but I'm sure they helped me get to where I am now.
  • What was the first programming language you learned and why did you learn it?

save | comments | report | share on


The Benefits of Mentorship for Developers

  • Mentoring is when one person helps another learn, and grow over, a period of time.
  • A mentor can be a formal relationship, like hiring a senior or architect-level person to help level-up the team.
  • There’s no steadfast rule — after all, some people really enjoy helping others — but generally, keep in mind that informal mentorship doesn’t mean your mentor will help you debug your code every day, or even every week.
  • Mentors should ideally have far more experience in a particular domain than their mentee, but this requires some important nuance: two developers can be very experienced in completely different domains, so just because two developers have the same number of years programming, it’s common for them to have non-overlapping experience.
  • The pull request model also gives developers an opportunity to catch bugs, suggest more ideal or idiomatic implementations, and generally share knowledge.

save | comments | report | share on


20+ basic Algorithms Problems from Coding Interviews

  • I have blogged a lot about what you can find helpful articles in this blog but to recap let me tell you that apart from data structure questions, System Design Questions, and Programming language specific questions like Java, C++, or Scala, most of the programming job interviews also ask algorithm based questions.
  • Btw, if you have trouble understanding recursive algorithm or converting a recursive one to iterative one then I suggest you go through a good online course like Algorithms and Data Structures --- Part 1 andPart 2 in Pluralsight to learn fundamentals better.
  • These common coding, data structure, and algorithms questions are the ones you need to know to successfully interview with any company, big or small, for any level of programming job.

save | comments | report | share on


20+ basic Algorithms Problems from Coding Interviews

  • I have blogged a lot about what you can find helpful articles in this blog but to recap let me tell you that apart from data structure questions, System Design Questions, and Programming language specific questions like Java, C++, or Scala, most of the programming job interviews also ask algorithm based questions.
  • Btw, if you have trouble understanding recursive algorithm or converting a recursive one to iterative one then I suggest you go through a good online course like Algorithms and Data Structures --- Part 1 andPart 2 in Pluralsight to learn fundamentals better.
  • These common coding, data structure, and algorithms questions are the ones you need to know to successfully interview with any company, big or small, for any level of programming job.

save | comments | report | share on


Didn't Major in Computer Science? This $40 Training Can Get You up to Speed

  • You still have time to get educated and capitalize on the already staggering demand for tech-savvy professionals with the training from The Complete Computer Science Master Class Bundle.
  • This massive 11-course package, an almost $2,800 value, is available for a limited time for only $39 from TNW Deals.
  • In addition to exposure to a handful of popular programming languages from Python and C# to JavaScript and Google Go, you’ll also learn algorithms and other frameworks for proper data structuring.
  • Other courses tackle creating apps for Amazon Alexa and Internet of Things (IoT), sound software testing techniques and even how to ace the interview for that perfect computer science job.
  • Thankfully, you’ll have a lifetime of access to the whole collection.
  • Check out Vault — you’ll get four premium tools, including NordVPN and Dashlane, to supercharge your online security.

save | comments | report | share on


Pushing Left, Like a Boss — Part 5.13 — HTTPS only

  • Now that encryption is fast, and free, and we know the risks of not using it, there is literally no excuse not to use HTTPS only for every application on the Internet.
  • Literally every application, even for static pages that contain no sensitive information.
  • For everyone (there is no class of user that does not need protection on the internet).
  • Every public website and web application (including APIs) should force the use of HTTPS (and disallow connections using HTTP).
  • This can be done using security headers in your code or forced on the server.
  • DEV is sort of like Medium, but it's open source and 100% focused on developers.
  • Now reaching over 3 million visitors per month, it's the fastest growing software development community in the world.
  • It's free, devoted to the open web, and will never have popups or a pay wall.

save | comments | report | share on


The 7 Most Popular DEV Posts from the Past Week

  • Courtland provides helpful tips for beginners looking to make some cash from a side project or business.
  • Mustapha offers a detailed walkthrough of the basics of CSS grid properties — illustrations included.
  • In this detailed step-by-step tutorial, Elena shows us how to write good unit tests.
  • Need help with your job search?
  • Nicole's tips apply to beginners looking for a career in web dev, but should be applicable to most everyone else as well!
  • Yaser shares their recent experience of applying for a new job which had particularly unrealistic expectations of its applicants.
  • Ever wonder about the different approaches to pair programming?
  • Bob walks us through these patterns to reveal different perks for each and good all-around tips for pairing.
  • Keep an eye on dev.to this week for daily content and discussions...and if you miss anything, we'll be sure to recap it next Monday!

save | comments | report | share on


The 7 Most Popular DEV Posts from the Past Week

  • Courtland provides helpful tips for beginners looking to make some cash from a side project or business.
  • Mustapha offers a detailed walkthrough of the basics of CSS grid properties — illustrations included.
  • In this detailed step-by-step tutorial, Elena shows us how to write good unit tests.
  • Need help with your job search?
  • Nicole's tips apply to beginners looking for a career in web dev, but should be applicable to most everyone else as well!
  • Yaser shares their recent experience of applying for a new job which had particularly unrealistic expectations of its applicants.
  • Ever wonder about the different approaches to pair programming?
  • Bob walks us through these patterns to reveal different perks for each and good all-around tips for pairing.
  • Keep an eye on dev.to this week for daily content and discussions...and if you miss anything, we'll be sure to recap it next Monday!

save | comments | report | share on


10 Reasons to use NodeJS for ecommerce

  • With the help of coding, the Nodejs developers can simplify choosing the products, process of viewing product features and payment options, etc.
  • Apart from decreasing the cost of overall eCommerce development for businesses, it offers some much-needed benefits.
  • This is one of those reasons that concludes Nodejs as the best framework for e-commerce development.
  • In the case of deploying the Nodejs framework for your eCommerce development project, you will not require to hire separate developers for both ends of the development.
  • The second reason is that Nodejs is an opensource javascript framework which makes it available to all without any cost.
  • Undoubtedly, these features and benefits of the Javascript framework- Nodejs are extremely advantageous to e-commerce businesses.
  • Especially SMEs and e-commerce startups must include Nodejs in their tech stack to get a secure, scalable and cost-effective e-commerce development.

save | comments | report | share on