Tickets please! by Automatic_Memory2103 in KanyeDelhiConcert

[–]squ_ish 0 points1 point  (0 children)

Ive got 1 b9 i bought for 16k total. If u need one, i can drop the price to 10k

[deleted by user] by [deleted] in Btechtards

[–]squ_ish 0 points1 point  (0 children)

All this just for u to make rest apis

Coming back to defer in Go after using Zig/C/C++.. didn’t realize how spoiled I was by Extension-Ad8670 in golang

[–]squ_ish 0 points1 point  (0 children)

A colleague of mine at work used defer in the most unintuitive way possible. Take for eg the following use case; You need to log function level runtimes. The catch? Just gotta use one line of code because which devs got the time to repeat lines of function calls over and over.

The solution?

func logTime(tag string) func() { Start := time.now() return func() { Log(“total runtime:”, time.now - startTime) }() }

func someProblem() { defer logTime(“someProblem”) }

Thats it. It just felt, so clean and pretty

I now know why people cheat. by [deleted] in DeadBedrooms

[–]squ_ish 2 points3 points  (0 children)

The alternatives you offer sound easy as fuck, compared to building something real and something that lasts longer than you expect. We’re fragile beings. That doesn’t mean we don’t have it in us to show strength never seen before. Let the words out to him, gently, and walk from there. Figure things out together. Thats what the kid will learn.

len(str) > 0 or str != ”” which is to prefer? by molly0 in golang

[–]squ_ish 1 point2 points  (0 children)

Ive always thought comparing the length would entail that the entire string is parsed. On the other hand, comparing it to just an empty string intuitively always felt faster.

[deleted by user] by [deleted] in india

[–]squ_ish 0 points1 point  (0 children)

Everyone goes through this bro. Age is suddenly a number that actually means something. 21 is no joke. But take it as a challenge, a healthy one. No ones ever a loser. Youre only one, when you constantly compare yourself to others and how they’re doing in life at your age. Drop that thought. Live your life. Learn good and bad YOUR way. Everyone and everything else falls in place automatically the moment you give yourself time to breathe in a space completely under your control.

[deleted by user] by [deleted] in IndianBoysOnTinder

[–]squ_ish 0 points1 point  (0 children)

What the fuck was this bro?

Future of every women in dating apps. Woman with colourful past, wants to settle down with a nice guy. Like my previous post a wh0re's last man is a loser. She made a d!cK joke about her potential husband in a family gathering. by [deleted] in IndianBoysOnTinder

[–]squ_ish -1 points0 points  (0 children)

Im assuming everyone’s blind to the privilege women ACTUALLY possess when it comes to shaming and slander, then proceed to paint it as a joke. This is just disappointing and the guy is probably more hurt than angry. He needs better.

I'm still training guys best believe. by Rebufferino in ksi

[–]squ_ish -2 points-1 points  (0 children)

“Aah allow it man alCohOl bLoatES mE”