|
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)
|
# ? Jul 17, 2018 21:13 |
|
|
# ? Oct 11, 2024 06:18 |
|
no you must always preserve the space, all the way to objective-c return types - (NSString *)name forever
|
# ? Jul 17, 2018 21:15 |
|
Deep Dish Fuckfest posted:always put the * next to the base type, not the variable name! it's part of the type!
|
# ? Jul 17, 2018 21:30 |
|
JawnV6 posted:int* ptr1, ptr2; this always bugged me enough that i would never declare 2 variables on the same line because of it.
|
# ? Jul 17, 2018 21:36 |
|
as you drat well should
|
# ? Jul 17, 2018 21:41 |
|
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.
|
# ? Jul 17, 2018 21:47 |
|
ratbert90 posted:char *foo looks better than char* foo
|
# ? Jul 17, 2018 21:50 |
|
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
|
# ? Jul 17, 2018 21:52 |
|
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"
|
# ? Jul 17, 2018 22:00 |
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
|
|
# ? Jul 17, 2018 22:03 |
|
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.
|
# ? Jul 17, 2018 22:11 |
|
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
|
# ? Jul 17, 2018 22:17 |
Soricidus posted:is where i stopped reading enjoy platform-agnostic python deployment planning i guess
|
|
# ? Jul 17, 2018 22:19 |
|
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
|
# ? Jul 17, 2018 22:21 |
|
hey its me the most terrible of all programmers, writing javascript is the highlight of my day
|
# ? Jul 17, 2018 22:29 |
|
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
|
# ? Jul 17, 2018 22:37 |
|
ratbert90 posted:char *foo looks better than char* foo char * foo; the equitable arrangement
|
# ? Jul 17, 2018 22:50 |
|
josh04 posted:char * foo; the equitable arrangement congrats, now both sides see you as a filthy collaborator
|
# ? Jul 17, 2018 23:14 |
|
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
|
# ? Jul 17, 2018 23:17 |
|
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
|
# ? Jul 17, 2018 23:26 |
|
javascript is the worst thing there is. gently caress everyone who thinks it was ever a good idea.
|
# ? Jul 17, 2018 23:29 |
|
Person who is not even good enough to call himself a bad programmer, checking in.
|
# ? Jul 17, 2018 23:41 |
|
JavaScript is fine.
|
# ? Jul 17, 2018 23:53 |
|
'javascript' < 'the worst thing there is'
|
# ? Jul 17, 2018 23:56 |
|
that either returns true, false, nan, null or undefined in js. of that i am reasonably certain
|
# ? Jul 17, 2018 23:58 |
|
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
|
# ? Jul 18, 2018 00:19 |
|
Shaggar posted:javascript is the worst thing there is. gently caress everyone who thinks it was ever a good idea. shaggar was RIGHT
|
# ? Jul 18, 2018 00:23 |
|
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,
|
# ? Jul 18, 2018 00:38 |
|
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
|
# ? Jul 18, 2018 00:42 |
|
ruby is worse too
|
# ? Jul 18, 2018 00:42 |
|
basically any language used to write medical software has to be garbage. I think there is some kind of rule
|
# ? Jul 18, 2018 00:47 |
|
Sapozhnik posted:Nope, this is where you hosed up. yup i befuckled it course fun, so what
|
# ? Jul 18, 2018 00:53 |
|
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
|
# ? Jul 18, 2018 01:02 |
|
niles no!
|
# ? Jul 18, 2018 01:07 |
|
my bitter bi rival posted:niles no!
|
# ? Jul 18, 2018 01:17 |
|
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 |
# ? Jul 18, 2018 01:31 |
|
Blinkz0rz posted:nah php is way worse nope. php is definitely better than javascript.
|
# ? Jul 18, 2018 01:44 |
|
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.
|
# ? Jul 18, 2018 01:45 |
|
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
|
# ? Jul 18, 2018 01:48 |
|
|
# ? Oct 11, 2024 06:18 |
|
in 15 years javascript will still be around and it will still be the worst thing.
|
# ? Jul 18, 2018 01:50 |