Anonymous
A virus is virus!
It was a gift , I didn’t buy it , I just use it
Ибраги́м
#BoyCotApple
Ибраги́м
Sorry, wrong gift! We don't use that in hare!
Jussi
What a nice and mature admin
Dima
mfw I code on a mac
Ибраги́м
Pretty much
That's pretty unique. Why ?
Kat
Dunno
Ибраги́м
Dunno
You do but...
Ибраги́м
What a nice and mature admin
U want a kick in the butt ?
Jussi
U want a kick in the butt ?
it just tells something about you and this group as a whole if you do so
Ибраги́м
So what’s up
Paste into Pastebin
Jussi
be free to, never got any help from here
Ибраги́м
Friendliness
Ибраги́м
be free to, never got any help from here
Kick for expressing a sincere opinion ?
Ибраги́м
You must;ve confused me with sm1 else
Jussi
dunno but admins in this group act like 15 year olds
Anonymous
Paste into Pastebin
https://pastebin.com/BzQcef5S
Jussi
Some are
this is why I prefer asking for help from groups that have actually some experienced programmers in them
Ибраги́м
be free to, never got any help from here
> never got any help from here You've asked for help ? Well, it's been a while tho
Kat
heh
Ибраги́м
heh
If u were in my team, I'd make a meme outta ya
Kat
im already a meme
Ибраги́м
im already a meme
Meme are supposed to be funny not gross.
Kat
Ибраги́м
Ew
Ибраги́м
https://pastebin.com/BzQcef5S
Sleep mode activated!
Anonymous
Sleep mode activated!
Thanks for the help man
Ибраги́м
std::hibernate() ! Don't try this @ home
Ибраги́м
be free to, never got any help from here
You seem to be a little bit angry/disappointed ?
Ибраги́м
Wanna talk to the prosecutor?
Dima
lol
Jussi
You seem to be a little bit angry/disappointed ?
take it easy, you've replied to this now 2 or 3 times
Johan Liebert
Can someone tell me the logic of bubble sort??
Rakshit
Can someone tell me the logic of bubble sort??
https://www.geeksforgeeks.org/bubble-sort/ This is a great link.
Rizky Khapidsyah
Hii..
Anonymous
hi
Liam
An interviewee of C++ engineer was not able to answer my question and then snapped my pen in two...
Liam
WTF...
Anonymous
nicely done😅
Anonymous
Can you give me the best answer that I could use for interview? What does Software engineers/ programmers do?
olli
be free to, never got any help from here
We had this discussion previously. In most cases answering actually involves asking multiple times for more information to be able to reproduce the issue. I always try to answer valid and serious questions in here. Also there are quite some people with a lot of experience.
Liam
Can you give me the best answer that I could use for interview? What does Software engineers/ programmers do?
Software engineers build softwares and maintain them. In my point of view, building and maintaining software is a continual process of solving problems. Thus, the following capabilities are attached importance to: * mastring some tools for solving problems in software project. * analysing what kind of tools could be applied to solve specific problems. * transfering exist knowledge to new-comming problems. * actually solving the problem. Rolling back to your original question, as an engineer, there is no "best answers", in two aspects: * You'll always find a better solution in future; * You'll always tradeoff between engineering complexity, engineering quality, and time/resource limitation. So I cannot give you a "best answer" in your interview. It's case specifical. However I could tell you to keep curiosity to the programming world and keep solving puzzles to practice your skills. Your curiosity and skills are shield and sward in your career.
Liam
must be an infuriating question (
Of course not... It's simple and easy... Find max sum of subarraies of a given integer array, using C++.
S.
Then it seemed that guy didn't prepare anything at all...😂
Anonymous
🍓🍓🍓
Liam
Of course not... It's simple and easy... Find max sum of subarraies of a given integer array, using C++.
#include <iostream> #include <vector> bool findMaxSumOFSubarray(const std::vector<int>& source, int* res) { if (source.empty()) { return false; } else /* left blank intentionally */; int tmp = source[0]; *res = tmp; for (size_t i = 1; i != source.size(); ++i) { tmp = std::max(tmp + source[i], source[i]); *res = std::max(*res, tmp); } return true; } int main() { const std::vector<int> source = {1, -1, 2, 4, -10, 8, 3, -2, -7, 0}; int res; if (findMaxSumOFSubarray(source, &res)) { std::cout << "Result: " << res << "." << std::endl; } else /* left blank intentionally */; return 0; }
S.
} else /* left blank intentionally */; I never see this style before...
S.
What's the benefit anyway?
Liam
What's the benefit anyway?
To make sure you didn't forget any logic branch to handle.
Liam
For me, every if clause should be ended by an else clause.
S.
😅 It looks like an overkill to my eyes
Liam
😅 It looks like an overkill to my eyes
Along with the growing of your project, this kind of skills save your life of debugging.
Liam
Trust me.
Liam
Trust engineering experience.
olli
I would consider this rather bad practice though ¯\_(ツ)_/¯ This is asking for trouble
S.
OK different companies keep different style books.
olli
OK different companies keep different style books.
depending on the company or industry you work in, your code will be different
S.
Hmm i believe so
S.
😂 it's just my first time to see the "block completeness" philosophy...
S.
wondered if there's try...catch...finally too
Liam
😂 it's just my first time to see the "block completeness" philosophy...
And you can expect the first time you are being saved by it.
Liam
wondered if there's try...catch...finally too
No... We do not use try cache and throw
S.
And you can expect the first time you are being saved by it.
I guess my colleagues may refrain from using it ... but I do agree in switch we need default always.
FOSTER
S.
🤔?????
BinaryByter
For me, every if clause should be ended by an else clause.
UMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM no
BinaryByter
Its just a waste of eye-parse-time
MᏫᎻᎯᎷᎷᎬᎠ
UMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM no
destructors usually need a single if clause