|
Deep Dish Fuckfest posted:always put the * next to the base type, not the variable name! it's part of the type! char *foo looks better than char* foo Fight me. ![]()
|
![]() |
|
![]()
|
# ¿ Apr 2, 2023 06:00 |
|
quote:Corporation, a leader in emergency communication, is looking for a Senior Embedded Software Engineer to join its design team in our offices in Michigan. The design team is focused on building and maintaining company’s suite of products, and provides engineers with a well-rounded experience that will not compartmentalize them to one project, system or process. The Senior Embedded Software Engineer will be responsible for: They basically took what I told them my old job responsibilities were and dumped it into a job description . No salary listed, but my ex coworker said they won’t go above 90k ![]() FlapYoJacks fucked around with this message at 00:33 on Jul 18, 2018 |
![]() |
|
Kilometres Davis posted:I like the space either side. The asterix can hang. Powerful Two-Hander posted:extremely correct. what other possible way of doing it is there? code:
![]()
|
![]() |
|
SardonicTyrant posted:I am a good programmer because I admit I am a terrible programmer. re: terrible programmers: I am a good programmer because I admit I am a terrible programmer.
|
![]() |
|
Shaggar posted:mongo isn't a database, its a heap don’t choose mongo or you will be in a heap of trouble.
|
![]() |
|
The last 3 code reviews I have done have been denied. Step 1) Pull the branch Step 2) Load into IDE Step 3) Look at all the warnings and clang-tidy issues that have been introduced. Step 4) Deny pull request with a shitload of comments about the warnings and other clang-tidy issues. How many times will I have to do this before the developers get it through their head that at a bare minimum, your code shouldn't introduce more warnings in the god drat code? Edit* Also, if I see any god drat char *'s or char arrays that aren't 100% absolutely necessary, I will flip my poo poo. We spent several weeks cleaning out the "Treat C++ like C with classes" code to update it to modern C++17, I will not be throwing C poo poo back in there. FlapYoJacks fucked around with this message at 16:31 on Jul 25, 2018 |
![]() |
|
Peeny Cheez posted:
code:
|
![]() |
|
Finster Dexter posted:I think the CEO is willing to take feedback https://www.youtube.com/watch?v=FopyRHHlt3M&hd=1 Edit* This is why I WFH (among many many other things.)
|
![]() |
|
comedyblissoption posted:your ceo is saying instead of your workplace being a cool place to hang out and keep morale high with happy workers, your workplace should instead be: The guy yelling at them is having the most fun. The CEO wants to be that guy.
|
![]() |
|
Boiled Water posted:My manager who is also the CTO told me to put on a more happy demeanor so my colleagues would come to me with their tech issues. They felt I was scary. I was reprimanded at my old job because I didn't want to participate in the holiday party after working 60+ hour weeks for months on end. Also, there wasn't a single god damned vegetarian dish at the entire party. I had never once eaten meat the entire time I was there.
|
![]() |
|
Bloody posted:i go to the company holiday party and get plastered on free booze There was no free booze.
|
![]() |
|
Beamed posted:that's not a party that's misery, what the gently caress Yes. EDIT: Found a new posting for them titled "Junior Embedded Software Engineer" According to my ex-coworker, they will not pay more than 60k for this position. quote:"Company", a leader in $field, is looking for a Junior Embedded Software Engineer to join its design team in our offices in West, Michigan. The design team is focused on building and maintaining company’s suite of products, and provides engineers with a well-rounded experience that will not compartmentalize them to one project, system or process. The Junior Embedded Software Engineer will be responsible for: I left the spelling mistakes and all the formatting the same, minus the company name. ![]() FlapYoJacks fucked around with this message at 22:50 on Jul 30, 2018 |
![]() |
|
I am in the throws of bringing up a 50,000+ line of code C++ project to modern C++ standards. Anybody who is trying to modernize a C++ project should be using CLion, it has clang-tidy and ClangD built in, making the transition wayyyyyyy smoother. C++17 is cool and good. It makes C++ drat near a higher level language.
|
![]() |
|
I used Buildroot to create a container for a gigantic pile of poo poo python2 application our company has that uses a combination of: - QT4 - MongoDB - Socat - 52 separate libraries, most of which are just "backport this to python2" It took me 3 days to get it running on CentOS7. It took me another week to clean out all the PEP8 warnings. It took me another week to get it going in BuildRoot. Why Buildroot? Because I don't want that poo poo spread out on my system. This is the first time I have used BuildRoot + Docker, and it works pretty well!
|
![]() |
|
Tankakern posted:why the hell did you use a loving week on pep8, who cares When you open a python file and it’s a sea of goddamn yellow all over the place, it’s incredibly loving annoying. And yeah, of course I auto formatted, but a lot of poo poo needed to be hand fixed as well.
|
![]() |
|
Captain Foo posted:what's a unit test A miserable pile of false passes.
|
![]() |
|
Modern C++ >= 14 is cool and good and makes C++ almost a higher level language. If the C++ is hard to read, it's probably because of either: 1) A garbage programmer who is probably afraid of function pointers and uses threads with callbacks for everything 2) A C programmer who treats C++ as just C with classes and doesn't use it like a modern language. 3) A P-Lang developer who never learned C and tries to treat C++ as a pure P-Lang. You need a C++ guy who knows C and P-Langs, and has embraced C++ as a modern language. Either way, modern C++ is cool and good. FlapYoJacks fucked around with this message at 20:48 on Aug 16, 2018 |
![]() |
|
Sapozhnik posted:counterpoint: no Sorry you don't understand a good programming language. FlapYoJacks fucked around with this message at 22:10 on Aug 16, 2018 |
![]() |
|
tef posted:you know i had sympathy for you once I like modern C++ and think it has it's place. I also really like Python and think it has it's place. PHP can go gently caress right off though. ![]()
|
![]() |
|
Triglav posted:php is fine, fast, and cheap Incorrect and bad.
|
![]() |
|
Sapozhnik posted:this is like the "i listen to everything except rap and country" of programming opinions While country is indeed terrible, I love rap, and I am super white.
|
![]() |
|
Bloody posted:why would you learn modern c++ when you could just learn rust self. self. self. self. self. self.
|
![]() |
|
Beamed posted:it's okay to explicitly state methods vs static functions op self/this is terrible and bad.
|
![]() |
|
Lots of languages get by just fine without needing a self or this syntax.
|
![]() |
|
Powerful Two-Hander posted:vs 2017 (and maybe earlier versions I don't remember) tries to remove "this" from references as being redundant and I hate it because I always want it to be explicitly clear what's being done. like yeah OK intellisense will tell you but I gently caress myself up with this stuff so why make it harder? You're in a class, you don't need "this".
|
![]() |
|
Powerful Two-Hander posted:i know but I like it being there. idk it's like it's making it more explicit or something. also yes you should know you're inside a class but when the application mixes class and static methods at random it's kind of helpful. instead of “this” you could just adopt a case convention.
|
![]() |
|
Powerful Two-Hander posted:i know what you're saying is all correct but let me just wallow in my own filth here ok? Strive to be better. ![]()
|
![]() |
|
Sapozhnik posted:dont do c++ its super bad quote:otoh c is fine for what it is Correct
|
![]() |
|
I was taught this about inheritance from my mentor: Inheritance is cool and good, but can get you into trouble quickly. If you go more than 2 levels of inheritance, you need to take a good long look at your code and probably refactor it.
|
![]() |
|
DONT THREAD ON ME posted:yeah, it's a very different approach. my main worry is ambiguity, it seems like you could easily have two different types that each have a "foo" method with the same input/return types but wildly different semantics. it's like duck typing. You sure can! C langs allow you to easily shoot yourself in the foot, in exchange for low level fuckery and other neat poo poo you can do.
|
![]() |
|
DONT THREAD ON ME posted:yeah i believe that unless you're wrapping some framework class you should generally limit yourself to 1 level of inheritance. Good man. I guess I am a outlier in my programming tranining for sure. I started with C, my first project was board bring-up for a TI processor running on Kernel 2.6.32-17 I was taught by a awesome EE who has been programming mostly in ASM/C/C++ for 30 years and taught me to be incredibly pragmatic. He instilled on me: 1) Be pragmatic. If your code is clever, it's probably not a good thing. 2) It's all just memory. 3) Stick to conventions. 4) All programming languages are tools. Some better than others. (When discussing mainstream languages, poo poo like Brainfuck not-withstanding) He's still a good friend to this day.
|
![]() |
|
Progressive JPEG posted:imo: What the gently caress is this horse poo poo?
|
![]() |
|
Progressive JPEG posted:brb figuring out how to do numerical formatting using streams If you can't figure out how to do a basic simple thing like numerical formatting in streams, you should not be a programmer. ![]()
|
![]() |
|
gonadic io posted:1) Don't do this. Just because somebody has never seen before some code you've done lots of (and so find easy) there's no need to be so condescending about it. This thread is a safe space. Hey, normally I wouldn't be a jerk, but he was a jerk first! ![]()
|
![]() |
|
CRIP EATIN BREAD posted:x86 was a mistake agreed
|
![]() |
|
Janitor Prime posted:It's linear algebra all the way down It's all just register reading and writing all the way down. ![]()
|
![]() |
|
AggressivelyStupid posted:It's a bunch of EEs and poo poo and like they can do C and know how to design and build hardware and whatnot but uh Depending on how "new" it is, it might be based off of Eclipse, at which point you can just download Eclipse and use CW's compilers. It's a MUCH nicer upgrade.
|
![]() |
|
AggressivelyStupid posted:My thought was just cluster the actually useful functions (there are two, I think) and have the rest just fall through Jesus christ. ![]()
|
![]() |
|
AggressivelyStupid posted:this will be hard to do in c why?
|
![]() |
|
![]()
|
# ¿ Apr 2, 2023 06:00 |
|
c has classes. Their called structs.
|
![]() |