Developer - Brain Mentors Skip to content

ES 2020 – Brain Mentors

In this Blog we are going to learn ES 2020 Key Features.ES2020 released on Start of this year. Here we are going to learn some really cool features of ES 2020 Let’s start with Feature 1 : Nullish coalescing Use when the value is missing (undefined or null (It doesn’t work with NaN , ‘’, 0)).The undefined and null are the nullish value , and you want to handle it then we use nullish coalescing operator. Example: In above example ,  country is not there so it does show undefined And I want to print some meaningful result Before ES 2020 we use truthy and falsy It just checks if the first value is true then don’t go to the second value , if first is false (undefined or null ) then go to the second value. Instead of PIPE Now Use Nullish Operator from ES 2020 Feature 2 :

Interface Overview Blender 3D 2.80 – Brain Mentors

Blender is a free to use  and open-source 3D graphics software used for creating animated films, visual effects, 3D printed models, motion graphics, interactive 3D applications, and computer games. WHY BLENDER ? There are many softwares like maya , 3D’s Max but why blender can be a better option? For using 3D’s Max and Maya you have to purchase their tools. But good thing about blender is that it is open source (free to use). INSTALLING BLENDER Go to https://www.blender.org/ Then goto download menu in the topbar Then download a version suitable for your OS (MAC/WINDOWS/LINUX) After Downloading , double click to install Now, Congrats, You have successfully installed Blender. Now ,Lets get your hands dirty with Blender When you open blender for the first time,the UI of it will look like this as shown : Now, lets understand the options and Menus in the Blender The screen showing with

What’s New in Python 3.8? – Python Guide for Beginners

So, python 3.8 has been around a while now, October 14th, 2019 to be accurate. But it is still not used across the board because most people don’t know about the feature-set it brings to the table. Some of the contemporary features are as follows: • The Walrus Operator (:=) It’s called so because the operator symbol resembles a “walrus”.This operator is used to assign and return a value in the same expression. Generally the assignment and retrieval of a value took two statements, but python 3.8 has made it more convenient. Lets look a few examples: Simple Print:- 3.7 3.8 While Loops:- 3.7 3.8 • Simpler use of F strings It is basically used for string replacement as can seen in the given example: New:- In Python 3.8 , you can use assignment operators. New Specifier: Using this specifier , you can print both the text as well as

Difference Between seekg() and seekp() in C++ File-Handling – Brain Mentors

seekg() and seekp() both are functions of File Handling in C++ and they are very important and useful feature of File Handling in C++. In File Handling of C++, we have two pointers one is get pointer and second is put pointer. They both are used to getting/reading the data from a file and putting/writing the data into a file at particularposition/location. How to use Seekg () seekg() function is used to move/sets the get pointer at the desired/particular position to getting/reading data from a file (External file). If seekg() function is used to move/sets the get pointer at the particular location. So then by using tellg() function we easily get the current position of the get pointer from the external file. Syntax: seekg(offset, direction/seekdir); Using this function the stream pointer is changed the position/location i.e. counting pointer position from the beginning of the file. Stream means the flow of

Sign Up and Start Learning