DEV Community

Swastik Baranwal profile picture

Swastik Baranwal

Programmer | Open Source Contributor | V Lang Member | Blogger | DevOps Enthusiastic

Last 250 comments

Kubernetes' minikube uses my Go Lang Project!

Thank you so much!

Python: removeprefix() and removesuffix()

I think I did a typo. My bad, I will update it, thanks!

The pros and cons of being a developer

The only con for me is that you cannot meet and spend time wi...

My Review of 2020

Thank you so much ๐Ÿฅฐ

How to write Godoc?

I refer to this

Hoppscotch Celebrating 25,000 GitHub Stars โœจ

Congratulations ๐Ÿฅณ

Where do you store GitHub assets?

Make separate folder in the main root like img/.

Don't overcomplicate git ๐Ÿ™‡โ€โ™‚๏ธ

I believe its necessary to know how to do it via command line...

Want to move from Ops to DevOps? Here is what you should know.

Its a very well written article! I think this article should ...

What's the deal with indentation sensitivity hate?

I tend to use code formatters to deal with identation.

I wrote 200 articles during lockdown, what did you do? ๐Ÿค”

Its too early to tell just now you know :)

I wrote 200 articles during lockdown, what did you do? ๐Ÿค”

Will be showcasing what all I did at the end of the year.

GitHub Profile as a Portfolio: Your thoughts?

I have used it as a general introduction not portfolio. I thi...

What your GitHub readme look like?


What your GitHub readme look like?

Who's participating in Hacktoberfest 2020?

I will and its my third time.

What OS do you use for development?

Windows 10+ WSL

Best design ๐ŸŽจ resources websites every developer ๐Ÿ’ป should bookmark๐Ÿ”–

Amazing resource!

What was your win this week?

Thought of another project in Modern C++. Will be out soon.

What do you use for video calls?

Zoom because its very common in India

Should You Return Empty or Nil Slices in Go?

Thanks for the clarification! Really helpful

Facade Design Pattern in Modern C++

I don't think stolen is better word here. I prefer using the ...

It's All Aboutย NodeJS

Well explained

What was your win this week?

I was successfully able to differentiate the difference betwe...

Best practices for reversing a string in JavaScript, C++ & Python

What compiler have you used? I think you should read this sta...

Best practices for reversing a string in JavaScript, C++ & Python

Do not use #include<bits/stdc++.h>, it only works for U...

My Top 5 Reasons to Write as a Programmer

I agree with all your reasons! Beginners should absolutely re...

Growing up, what were the most influential pieces of sci-fi media for you?

Yes you are way older than me

Growing up, what were the most influential pieces of sci-fi media for you?

Manga is very old. Since 2017.

Growing up, what were the most influential pieces of sci-fi media for you?

Dr Stone

Get Waifu on terminal


MLH Fellowship: My story

Thanks for telling your experience. I am sure that I will als...

What was your win this week?

Wrote my first Deno Library. Its gonna be public soon.

What programming concept did you struggle the most with?

Tree, Graph, Async, Recursion (sometimes), Decorators, Virtua...

Are you a "confident" developer?

Depends. Most of the time I have confident in myself but due ...

What is your current job title and what do you aspire to be?

I aspire to be DevOps

What terminal do you use?


What terminal do you use?

Windows Terminal

How To Master A Programming Language Really Fast ๐Ÿ”ฅ

Competitive Programming doesn't really help with using it in ...

What are the new technology you want to know before the year ends?


What are the new technology you want to know before the year ends?

For me, it would be TypeScript, Go, Docker and Kubernetes as ...

Share your Github Profile Readme

Here's mine I took 2-3 days to make it

Programming is not easy, here is the secret to mastering programming.

I absolutely agree with all these points! Thanks for sharing

What is the difference between 1 year and 10 years of experience programming?

1 year of programmers are quite new and google most of things...

August 21st, 2020: What did you learn this week?

Learned basic TypeScript

Why I should use Typescript other than 'type safety' advantage?

No need to write ugly Java Script Code :)

5 tools no developer needs

Amazing lol!

How NOT to follow your passion ๐Ÿ˜ฌ

Yes, I do. You can see my profile.

How NOT to follow your passion ๐Ÿ˜ฌ

This was a great read! Thanks

I created a site where you can search for the cheapest PC Games offers. ๐Ÿค—

Very Nice! Will useful be in future

What was your win this week?

75+ followers on GitHub

How do you deal with imposter syndrome?

I feel this like every month. I just give myself time with ot...

Gopher Gold #5 - Wed Aug 19 2020

Hope my package will get popular soon.

Add License Action

Wow nice work

Countdown to Hacktoberfest 2020 has started!

Of Course, I will. I had a lot of fun last year. I had done 2...

Announcing the GitHub Actions Hackathon on DEV!

Alright thanks

How powerful are the regular expressions for faster coding


16GB or 32GB RAM for Web Development?

128 GB of RAM

As recruiters, what do you want to see on a GitHub profile readme ?

I think its their open source activity and projects.

What is the best text editor between VSCode, Sublime text and Bracket ? ๐Ÿค”

VSCode always

Spell Check Commits & PRs

Oh hey! I am from V Community and we are using this! Thanks f...

How to Stand Out With Your GitHub Profile

You got it!

How to reduce having incomplete projects as software developer

Take out time. I generally prefer small projects as time is l...

Build a VSCode Theme


Tell me your Instagram handle Here's mine

Make Your GitHub Profile Great Again!

Sure you can use it. Its a template after all

Make Your GitHub Profile Great Again!

Here's mine

5 DevOps tools to boost your open source project


Weekend Tip: Microsoft Node.js Docs

Thanks for the link

Announcing the GitHub Actions Hackathon on DEV!

Please answer anyone

Announcing the GitHub Actions Hackathon on DEV!

We can also make a workflow with pre-existing Actions right?

GitHub Actions Hackathon Help Thread

Can we parallelize the work in Actions?

Announcing the GitHub Actions Hackathon on DEV!

Is it by team or individual?

What would you do if you had a Time Machine?

Well, it cannot be done now. There are very few youngsters wh...

What are some examples of open-source projects with great READMEs?

I have spent a lot of time on this one. I hope you can give f...

Top 10 Mistakes You Are Doing That Can Cost You a Job Offer

Also mention that you should never show your school marks

Where do you cross-post?

I don't do anywhere else.

What was your win this week?

70 followers on GitHub!

What makes a good resume

Those things to be honest are just to fill spaces so that it ...

What makes a good resume

Nice resume but I don't think that OOP and Microsoft Office a...

I'm offered a job in Google without a good degree, you can too!

What do you mean by a good degree? It means you don't have a ...

Pimp Your GitHub Profile

Thanks man and for following me!

Pimp Your GitHub Profile

Here's mine

Self-containing lists...?!?


Creating a smart alternative to 'cd' command

Thanks for this!

Which coffee do you drink? โ˜•๏ธ ๐Ÿง

I don't drink coffee

Look mom, I'm a GitHub Action Hero


Is "C Programming language" Still Worth Learning in 2021?

Of course, C is worth learning and it always will. It teaches...

How to Manage Imposter Syndrome ๐ŸŽญ

Thanks for writing this!

Is being a software developer fun?


Benefits of SVG

Probably a tutorial for making SVG icons? Nice tutorial btw

Launching Portfolio ๐Ÿฅณ ๐ŸŽŠ ๐ŸŽ‰

Really nice!

Emoji Encoding, Unicode, and Internationalization with Naomi Meyer

JS uses UTF-18? TIL

Which Language do you Find the hardest ?

Haskell, Objective-C and Brainf*ck

What new hobbies have you picked up lately?

Reading at least 5 articles a day Doing home chores

What was your win this week?


What was your win this week?

60+ followers on GitHub

Are you in the GitHub Arctic Code Vault?

Yes ...

Rate my GitHub Profile README

Ok Thanks!

Rate my GitHub Profile README


Rate my GitHub Profile README

From where?

Golang tutorial - 9 Concurrency using goroutine

Amazing tutorial!

Rate my GitHub Profile README


Rate my GitHub Profile README

It will make it lengthy thats why I haven't done that. They c...

Rate my GitHub Profile README


What was your win this week?


Hey DEVs! How ๐Ÿง  AI is going to disrupt our lives as a coder?

I doubt its gonna disrupt our lives!

Is C still a high level language?

Definitely! I really agree with you. I hope Dev deletes/chang...

๐Ÿค“ What's on your GitHub Profile README

Thanks! don't forget to credit me though ;p jk

Is C still a high level language?

I get what you mean but people complain that they have to use...

๐Ÿค“ What's on your GitHub Profile README

It is much better and shortened now.

๐Ÿค“ What's on your GitHub Profile README

I know you from the discord server!

๐Ÿค“ What's on your GitHub Profile README

Here is mine. I know its pretty long and it is a prototype. A...

Is C still a high level language?

I never said that C has no pointers. I meant C++ std::string....

Apparently Go actually can filter?

This shouldn't be used because it has outdated code plus it w...

Is C still a high level language?

C was made earlier than Python so they never thought of using...

Print coloured text in python

Nice post but colorama is better than this one.

500+ Contributions on GitHub

Thanks Manish!

How do you create your code snippets?

I am using

Running Go in the Browser With Web Assembly (WASM)

I think you should include all import modules.

Programming is easy!

You need to have the mindset to learn new things daily on reg...

Explain what a programmer does. Wrong answers only

Programmers will use Cygwin on Linux to compile your C program

What are the benefits of dynamic typing?

Dynamic Typing is useful when you have to work with Maths and...

Send a screenshot of your Code Editor ๐Ÿ“ธ

Theme: Fall Theme Icon Theme: VSCode Icons

How DEV has helped you?

I learned how to write articles and met a lot of people plus ...

thoughts on GitHub design updates?

The new UI looks good but I didn't like that they removed the...



5 Tips for Writing Articles People Will Want to Read

It was a good read. Thanks for sharing!

What was the first programming language you learned?

I learned C.

Box CLI Maker ๐Ÿ“ฆ: Highly Customized Terminal Box Creator

The main post has been updated with more information and feat...

Modern C++: An Introduction

Heads up! I have updated the main post and I will continue my...

What is DevOps?

I know Go and learning more in depth and I was just asking. T...

What is DevOps?

Thanks for the link!

What is DevOps?

Thanks but nowadays Go language is used as well right?

What keeps you motivated ??

Hey! What you have done in these 6 years aren't in vain. You ...

I made a data analyzer for

This is pretty neat and good! Good luck to this project!

Python vs Java

When Python and Java married then Kotlin was born which is be...

Why Should Developers Blog?

This is so true! I completely agree with you!

Sorting in Go โ€“ Donโ€™t Reinvent This Wheel

Yeah, I agree with you!

What is your favourite programming language and what do you like the most of it?

It depends upon the work for me.

May 22nd, 2020: What did you learn this week?

It is really small so I don't think it's worth an article.

May 22nd, 2020: What did you learn this week?

Yeah but it's really weird and confusing imo.

May 22nd, 2020: What did you learn this week?

I got to know that the following program is a valid C code ...

What Did You Learn This Week --May 22?


What Did You Learn This Week --May 22?

I learned how to optimize my code well

Senior front end dev here, ask me anything!

How do I learn to make UX/UI Designs?

My First Startup Company (E-commerce Website)

I wanna see but it's down

Calling the Class of 2020: Join DEV + GitHub for Graduation

Done! Thanks for this event!!

Modern C++: Lambdas

It passes all objects by value.

Introducing our first original podcast: DevDiscuss

Amazing! Looking forward for more!

Deno 1.0 is out!

Hmm guess I will try Deno instead of Node js now

Are you starting to forget everything?

Thanks! Much appreciated!

Are you starting to forget everything?

Thanks! Really helpful! Community Discord

I know but I am just suggesting.

50+ free tools and resources to create awesome user interfaces


Job rejection depression

Man, don't be sad. It happens with everyone. I hope you get a...

Do students know this?

I think I was lucky that I had researched everything and knew...

Should devs code in their free time?

Yes, it's fair

Announcing: The Twilio Hackathon Winners!

Congrats to all winners! I will join next year as corona took...

Why YOU Should Contribute To Open-Source

A lot means A LOT!!

Why do people like their own post?

lol yeah

Why do people like their own post?


Finally built a portfolio/personal website. Can I get a review?

It looks really simple and lightweight which is great!

I Built a Python WhatsApp Bot to Keep Me Sane During Quarantine

Nice post! It is really informative!

What does Full Stack mean to you?

Full Stack Developers are basically jack of all trades who kn...

Did my Computer Science degree help me?

What Degree teaches can also be learned on your own tbh.

What Editor are YOU Using for Go Programming??

I am using VS Code.

๐Ÿ’ก 10 VS Code extensions I can't code without

Thanks for listing these, I am sure now my productivity will ...

5 Way to Append Item to Array in JavaScript

Nice article!

Free Programming Books (Updated)

Are you the author of these books? Thanks btw

Python: Merging and Updating Dicts the New Way

I don't know what to say. It's opinionated.

One year writing on DEV

What an amazing record for one year!

What languages, frameworks, and libraries would you put on a front-end developer's 2020 "must learn" list?

Gatsby, React, JS and TS, Node for Web Dev Go, Rust, WASM fo...

Code in Windows, run in Linux!

Most people like WIndows GUI

A cool new progress bar for python!

This looks very good! Well done!

How has programming changed you for better or worse in your life?

I am now self isolated, more introverted, dedication increase...

Pokedex: Gotta Search'em All

Wow nice!

Python: __init__() is not the only constructor

Yes, its right and I had changed it a long time back!

๐Ÿ”ญ Git Stalker: Stalk GitHub users without leaving your terminal!

Nice tool!

Have you ever thought about different types of for loops? โžฐ

Javascript has so many of them! Thanks for making this post!

Seems like GitHub is down

It's happening a lot these days seems like I will spend my ti...

Tell me about your first email address

I was 9 at that time. It was Yahoo. I don't remember. It ...

Are newer developers pushed too exclusively towards web development?

Generally Web Dev is easy to learn and get a hang of it. Yo...

Wanna learn a new language? Why not C++?

I hope you know that you will learn C in C++ first.

How do *you* pronounce sudo?


Tech Career AMA!!

This is fine but they should also look out for people who h...

Tech Career AMA!!

Why do big companies generally hire people who have degree ...

Why TypeScript enums suck

For this situation C++ has enum class for disallowing other...

defe - All your Tech Updates at one place

This is really good! I always wanted something like this!

Are you coding more in your spare time due to COVIDโ€”19?

Yes, more time and easiness to code.

Why did you Decide to Learn Programming?

It's not from scratch. Most things are already done for us,...

Announcing the Twilio Hackathon on DEV

How many members can be there in one group?

Why did you Decide to Learn Programming?

I learned how to program for making my Pokemon GBA game in ...

I spent a week offline here is how I stayed productive

Amazing! Nice way to be productive offline! I usually do al...

Celebrating 10,000+ followers ๐ŸŽ‰ - Thank you DEV: #AMA ๐ŸŒผ

Wow, Congratulations for 10k followers! ๐Ÿ˜ฎ๐Ÿ‘ Postwoman is rea...

NextJS + Typescript + Storybook guide 2020

I couldn't see any of the images.

My reflections on Golang

It now has.

What is Golang? Why use the Go? Pros & Cons

Go package system is most centralized and maintained.

Modern C++: Temp Vars in If/Switch

Thanks! More coming soon :) Also my Code for my Articles s...

At what age and in what language did you write your first line of code?

I wrote at the age of 13.

What was your first computer?

Self assembled PC with Windows Vista as OS.

Want a Free Gatsby Theme for your Blog? Use and Modify My Personal Theme

Thanks for this!

Predict the Output

Yeah correct but --> works because the lexer ignores whi...

Predict the Output

Great! Can you also tell why --> works?

How do you come up with new side projects?

When I am bored I look for projects to make and see somethi...

How YOU can learn Node.js I/O, files and paths

Amazing explanation! I was looking for this the other day.

Celebrating 13K+ Followers on DEV


Celebrating 13K+ Followers on DEV

Wow, 13k Followers ๐Ÿ˜ฎ๐Ÿ‘

How To Be More Productive Than Most Programmers

Eliminate and Stay Positive

How To Be More Productive Than Most Programmers

Agreed with all points!

DEV.TO writers, what MD tools do you use?

I just write on directly

Handle money with JS

Nice work!

What weekend coding are you doing these days?

Working on my Boxx module which will be released soon. Just...

Java is NOT EASY to learn. But still worth :)

It's because they are used to newer languages which cleans ...

How I Developed the Nintendo Switch Game Store UI using CSS Grid


Comparing C++ RAII and Python Context Managers

Amazing explaination!

Java is NOT EASY to learn. But still worth :)

Agreed but if you understood all these concepts then you wi...

Let's talk about Linux

Kawai Comic!

Free weekend at Vue Mastery starting on 13th of March!

I see thanks

Free weekend at Vue Mastery starting on 13th of March!

Will this be free only for a while? Is there no way that I ...

Modern C++ Isn't Scary

Amazing post! I also wanted people to know that Modern C++ ...

What's the best charts library with a small bundle size?

I think Canvas JS can fit though it's big in size but provi...

Wouldn't it be cool if DEV could render LaTeX?

OMG! Fabulous!



Changelog: Suggested follows on onboarding!

That explains it!

Are most of my followers bot?

Sorry. You are great! ๐Ÿ˜

How to copy a list in Python

Yeah but I meant my how my example works. ๐Ÿ˜…

How to copy a list in Python

copy is a module where copy is a function not a method.

How to copy a list in Python

You can also use copy.copy() and copy.deepcopy().

Help with logo and icon making

I see thanks

Python input and output (basics)

Nice tutorial but probably you should also to close the fil...

Fellow Developers, What Should Our Last Name Be?

I liked how you and your husband changed your last name to ...

Which licence do you use for your open source projects?

MIT most of the time or BSD if I want credit when needed.

Im trying to learn golang. there some good refrence to learn golang?

There are plenty of tutorials, blogs and books already. Rea...

How did YOU learn Ruby?

If you have tried dynamic and scripting languages then this...

How did YOU learn Ruby?

If you want to understand OOP then C++ is for you and Ruby ...

How to approach solving a challenge during a coding interview

Amazing! Thanks for sharing!

What Does C++ Do That Rust Doesn't?

It's like saying that we don't and shouldn't use C but it i... Widget v1.2.0๐ŸŽ‰: GUI to create widget, new theme, data-sortby attribute and more!

OMG! Amazing!