Programology – Telegram
Programology
7.29K subscribers
1.94K photos
771 videos
6 files
2.08K links
Pro·​gram | \ ˈPrō-ˌgram , -grəm \
:A Sequence Of Coded Instructions That Can Be Inserted Into A Mechanism (Such As A Computer)

Who We Are : https://msha.ke/programmerjokesofficial
Download Telegram
Few Untold Tips...😮👀
🔥3👏1
Answer: c
Explanation: Compilers implementing C90 do not allow this, but compilers implementing C99 allow it.
Output:
$ cc pgm4.c
pgm4.c: In function ‘main’:
pgm4.c:4: error: ‘for’ loop initial declarations are only allowed in C99 mode
pgm4.c:4: note: use option -std=c99 or -std=gnu99 to compile your code
👍1😁1
Comment Output
Options
Anonymous Quiz
39%
A
23%
B
28%
C
10%
D
🥰1
I know people hate redux for adding too much boilerplate and generally being applicable to medium/large projects.

And of course mobx or even recoil are a bit nicer (my subjective opinion).

But what's the hype with zustand? Looks good, but any of you actually tried it on large projects?

https://github.com/pmndrs/zustand
👍1
Output:

Compiler Error
The value of nontype parameters must be constant as they are used at compile time to create instance of classes/functions. In the above program, templated fun() receives a nontype parameter and tries to modify it which is not possible. Therefore, compiler error.
😁11
Comment Output
👍1
Options
Anonymous Quiz
23%
A
69%
B
5%
C
3%
D
👍1
Vim 9.0 Released

https://vim.org/vim90.php

Happy upgrades!
👍2👏2
10 Useful CSS Tricks for Front-end Developers

These CSS tips and tricks showcase nifty CSS tricks that are useful for both developers as well as designers and highlight the potential of not needing JavaScript for certain design features. And, the nice thing is that you can implement these tricks in practically any design! - http://amp.gs/jBeLc
👍3
Comment Output
👍1
Options
Anonymous Quiz
35%
A
21%
B
23%
C
20%
D
🥰4👍1
The Lost Art of Structure Packing
http://www.catb.org/esr/structure-packing/
#learn

The guy behind Tao of React released an article about going through React's source code.

An interesting read worth your 23 mins. Also as an extension to what you've seen in other articles shared here.

https://alexkondov.com/readint-source-code-react/
Output:

51
Explanation : In the above program we are creating a member variable having name ‘life’ by adding it directly to the dictionary of the object ‘manager’ of class ‘Geeks’. Total numbers of items in the dictionary is 2, the variables ‘life’ and ‘id’. Therefore the size or the length of the dictionary is 2 and the variable ‘life’ is assigned a value ’49’. So the sum of the variable ‘life’ and the size of the dictionary is 49 + 2 = 51.