|
Deep Dish Fuckfest posted:always put the * next to the base type, not the variable name! it's part of the type! hi i'm a half-forgotten book from 1997 with an important announcement about asterisks gently caress them and malloc too (thanks i was kinda wondering about that)
|
![]() |
|
![]()
|
# ? Jun 7, 2023 12:50 |
|
no you must always preserve the space, all the way to objective-c return types - (NSString *)name forever
|
![]() |
|
Deep Dish Fuckfest posted:always put the * next to the base type, not the variable name! it's part of the type!
|
![]() |
|
JawnV6 posted:int* ptr1, ptr2; this always bugged me enough that i would never declare 2 variables on the same line because of it.
|
![]() |
|
as you drat well should
|
![]() |
|
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. ![]()
|
![]() |
|
ratbert90 posted:char *foo looks better than char* foo ![]()
|
![]() |
|
gonadic io posted:so that the compass knows which way it's pointing, and then (along with its gps coords and those obtained from goog maps) can turn the arrow to point the right direction. in theory. oh of course, you need the actual one to do the offset i had it in my head that it was a stopping point before building the full thing, dunno why i whiffed that my spare time fantasy project is wiring up a SPI thermal imaging module to a ESP8266, like it _should_ be possible but I'm reluctant to go digging thru data sheets in my off hours
|
![]() |
|
Another terrible programmer checking in. I'm so sick of JavaScript frameworks that I fantasise about embedded C programming (following SHOEGAZE's posts vicariously ITT) and everyone I've ever worked with professionally thinks TDD "isn't worth it" which seems to be code for "I don't understand it and don't intend to"
|
![]() |
Share Bear posted:i really like python ive found it very easy to work with and get stuff done in as long as i never ever have to deploy it outside one specific environment if you dep to windows the conda env is an option, otherwise (and maybe in general) check out pipenv, it’s the new hotness
|
|
![]() |
|
Lately I'm entering a curious new phase of terribleness where all my functions look bug free but nothing works. Not until debugging/linting do I see / remember that I once again have forgotten to write any return statements. 9 times out of 10 this is my only problem, it's been happening for about a week and my brain is of no help when I'm actually writing out the function. Logic done? Then I'm done, who cares about returning values, the fact that they were ever computed should be enough.
|
![]() |
|
cinci zoo sniper posted:if you dep to windows the conda env is an option, otherwise (and maybe in general) check out pipenv, it’s the new hotness quote:Pipenv is a dependency manager for Python projects. If you’re familiar with Node.js’ npm is where i stopped reading
|
![]() |
Soricidus posted:is where i stopped reading enjoy platform-agnostic python deployment planning i guess
|
|
![]() |
|
flakeloaf posted:hi i'm a half-forgotten book from 1997 with an important announcement about asterisks It’s pointer arithmetic and reinterpret_casts all the way down
|
![]() |
|
hey its me the most terrible of all programmers, writing javascript is the highlight of my day
|
![]() |
|
jabascript is becoming a dangerous reality for us because we would like to use gce's functions where js (and ts) are the only options. i dunno if we'd care enough to use wasm or scalajs or make a native module that the js calls
|
![]() |
|
ratbert90 posted:char *foo looks better than char* foo char * foo; the equitable arrangement
|
![]() |
|
josh04 posted:char * foo; the equitable arrangement congrats, now both sides see you as a filthy collaborator
|
![]() |
|
terrible manager that sometimes programs checking in i write python and java when i get the chance but mostly i tell other teams how they should write their code
|
![]() |
|
flakeloaf posted:char *anArray = new char[100]; Nope, this is where you hosed up. &anArray is a pointer to a pointer to your 100 chars. That being said where did you get that other pointer, like from (&anArray)[1] or something? Also nice 32 bit dev machine for a clown to use at etc etc
|
![]() |
|
javascript is the worst thing there is. gently caress everyone who thinks it was ever a good idea.
|
![]() |
|
Person who is not even good enough to call himself a bad programmer, checking in.
|
![]() |
|
JavaScript is fine.
|
![]() |
|
'javascript' < 'the worst thing there is'
|
![]() |
|
that either returns true, false, nan, null or undefined in js. of that i am reasonably certain
|
![]() |
|
Share Bear posted:i really like python ive found it very easy to work with and get stuff done in as long as i never ever have to deploy it outside one specific environment pyinstaller? idk
|
![]() |
|
Shaggar posted:javascript is the worst thing there is. gently caress everyone who thinks it was ever a good idea. shaggar was RIGHT
|
![]() |
|
Kilometres Davis posted:I'm so sick of JavaScript frameworks I saw this on Twitter, I think it applies to any JS thing not just React, ![]()
|
![]() |
|
Shaggar posted:javascript is the worst thing there is. gently caress everyone who thinks it was ever a good idea. nah php is way worse
|
![]() |
|
ruby is worse too
|
![]() |
|
basically any language used to write medical software has to be garbage. I think there is some kind of rule
|
![]() |
|
Sapozhnik posted:Nope, this is where you hosed up. yup i befuckled it course fun, so what
|
![]() |
|
Blinkz0rz posted:nah php is way worse until recently i would have agreed with you, but consider the following counterpoint: php code runs on computers belonging to the company that created or purchased that garbage. javascript code runs on your computer
|
![]() |
|
niles no!
|
![]() |
|
my bitter bi rival posted:niles no! ![]()
|
![]() |
|
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 01:33 on Jul 18, 2018 |
![]() |
|
Blinkz0rz posted:nah php is way worse nope. php is definitely better than javascript.
|
![]() |
|
DELETE CASCADE posted:until recently i would have agreed with you, but consider the following counterpoint: php code runs on computers belonging to the company that created or purchased that garbage. javascript code runs on your computer this plus php is a better language in general.
|
![]() |
|
i predict that in 15 years we'll have run out of shitlangs and we will be forced into mocking a larger variety of poo poo things
|
![]() |
|
![]()
|
# ? Jun 7, 2023 12:50 |
|
in 15 years javascript will still be around and it will still be the worst thing.
|
![]() |