DEV Community

Discussion on: 5 things that might surprise a JavaScript beginner/ OO Developer

Collapse
 
sqlrob profile image
Robert Myers
This is not really surprising if you come from a C/C++ background. You are then used to referencing counting, if some part of the code is no longer referencing something it is garbage collected.

You might want to replace C/C++ with C#. Neither C nor C++ have native reference counting or garbage collection.

Collapse
 
softchris profile image
Chris Noring

fair.. I must have been thinking about Objective-c..

Some comments have been hidden by the post's author - find out more