[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: null.jpg (16 KB, 500x500)
16 KB
16 KB JPG
Why is everyone suddenly so afraid of null?
>>
>>106766182
null is fine because it's properly serializable, undefined is the real problem because most junior frontend people are professional Figma users, not developers. Now our backend has a nice feature that scans for "undefined" in each request params and body to deliver a HTTP 400 on a positive match. Not my problem anymore.
>>
>>106766182
annoying shit in java
have to emulate default values instead of giving error
>>
>>106766265
Figma nuts?
>>
you mean (void*)0
thankfully C23 added nullptr
>>
>>106766277
>thankfully C23 added nullptr
which is defined as (nullptr_t)0 i.e. exactly the same thing as (void *)0
>>
File: 1654282619042712.png (908 KB, 740x900)
908 KB
908 KB PNG
>>106766182
the all-consuming void is scary
>>
>>106766270
yeah well java is old and garbage
>>
>>106766265
Terrible fix when you could just educate people jfc
>>
>>106766182
null should of been the zero width type and void should of been the pointer value to nothing
>>
>>106766422
Not paid enough to run a coding bootcamp within my company for people who don't want to learn, I'd rather automate education using strict checks and browse /g/ on company time.
>>
File: 1757817140145237.mp4 (943 KB, 1366x768)
943 KB
943 KB MP4
>>106766265
>professional Figma users
What's Figma?
>>
>>106766182
don't dereference it at 3 am



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.