How Not To Code

C, C++, C#, Java bad practices: learn how to make a good code by bad example

Skip to content
  • Home
  • Bug of the month
  • How to use PVS-Studio for Free
  • Free resources
  • About
Search

opensource

XNU, the MacOS Kernel

31.03.2021 / hownot2code / Leave a comment

Undefined behavior

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

ILSpy

02.03.2021 / hownot2code / Leave a comment

Replacement That Did Not Work

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Qt 6

02.03.202102.03.2021 / hownot2code / Leave a comment

Error Status Misinterpreted

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

ELKI

31.01.202102.02.2021 / hownot2code / Leave a comment
ELKI Data Mining

Unreachable code

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Espressif IoT Development Framework

31.01.202102.02.2021 / hownot2code / Leave a comment

|| operator instead of &&

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Apache Flink

12.01.2021 / hownot2code / Leave a comment

Expression is always false

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

QuantConnect Lean

12.01.202112.01.2021 / hownot2code / Leave a comment

Expression is always true

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

ONLYOFFICE

12.01.2021 / hownot2code / Leave a comment

Possible null dereference

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Bouncy Castle

30.11.2020 / hownot2code / Leave a comment
The Legion of the Bouncy Castle

Unreachable code

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Open XML SDK

30.11.202030.11.2020 / hownot2code / Leave a comment

Two values of string

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Posts navigation

← Older posts
Follow How Not To Code on WordPress.com

Categories

  • 64-bit issues
  • Development of 64-bit C/C++ applications
  • Bugs in C# projects
  • Bugs in C/C++ projects
  • Java bugs of the month
  • C# bugs of the month
  • C/C++ bugs of the month
  • Quiz
  • Tips and tricks
  • 42 recommendations about coding in C++

Check your program and find bugs

Download PVS-Studio

Recent Posts

  • XNU, the MacOS Kernel
  • ILSpy
  • Qt 6
  • Should We Initialize an Out Parameter Before a Method Returns?
  • ELKI

Tags

64bit Apache array audacity Bug of the month bugs Bugs in C# projects C# C# bugs of the month C++ C++bugs clang c language clanguage code code quality coding compiler coreclr cpp cppbugs cprogramming CryEngine Csharp development development guidelines evil freebsd fun function gamedev games github haiku java Java bugs KDE4 learning libreoffice linux macro memory memset microsoft Miranda Mozilla Thunderbird notepad++ nullptr OpenMP opensource programming programming language PVS-Studio python Quiz ReactOS Roslyn security software SourceSDK space static code analysis static code analyzer structure technology Tips and tricks Tizen TortoiseGIT tutorial type VirtualBox visualstudio xamarin xenko xnu kernel

RSS Feed

  • RSS - Posts
Blog at WordPress.com.
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
Cancel

 
Loading Comments...
Comment
    ×
    %d bloggers like this: