Or Pb2StaticLib... But, oh yeah, the dependenciesUser_Russian wrote: Sun Apr 25, 2021 7:51 pmStatic libraries can be created even now.skywalk wrote: Sun Apr 25, 2021 4:19 pmDo you suggest we collapse our lib's to a dll or can we create static libs in the future?
This is done by the tools TailBite, coffit and etc. But unfortunately they are very dependent on the PB static libraries.
Switching to C won't change anything and the dependencies will remain.
Blog post !
Re: Blog post !
Et cetera is my worst enemy
Re: Blog post !
I didn't know they had names either, but I've been using Gnu style since before I'd heard of either Gnu or open source...NicTheQuick wrote: Fri Apr 23, 2021 1:29 pmNice. I didn't know about the names of these styles. I prefer K&R. It's more compact and also easy to read.skywalk wrote: Fri Apr 23, 2021 1:16 pmI also like the C format you showed. Allman style is by far the easiest to read.
Re: Blog post !
Curly braces only exist for the easy of implementing logical blocks in a compiler. They are simply syntactic fluff, not needed at all as you can clearly see with python. Indent indent until its aldente and ???, WTF is wrong!
Allman is good for my dyslexia.
Allman is good for my dyslexia.
Re: Blog post !
It seems to me that for each person absolutely individual perception of text style. The main thing is that it is convenient to work without going into fruitless discussions about what is better.Tenaja wrote: Mon Apr 26, 2021 3:56 amI didn't know they had names either, but I've been using Gnu style since before I'd heard of either Gnu or open source...NicTheQuick wrote: Fri Apr 23, 2021 1:29 pmNice. I didn't know about the names of these styles. I prefer K&R. It's more compact and also easy to read.skywalk wrote: Fri Apr 23, 2021 1:16 pmI also like the C format you showed. Allman style is by far the easiest to read.
Re: Blog post !
I'm a Linksträger! Now you, guys...KayBur wrote: Mon Apr 26, 2021 1:07 pmIt seems to me that for each person absolutely individual perception of text style. The main thing is that it is convenient to work without going into fruitless discussions about what is better.Tenaja wrote: Mon Apr 26, 2021 3:56 amI didn't know they had names either, but I've been using Gnu style since before I'd heard of either Gnu or open source...NicTheQuick wrote: Fri Apr 23, 2021 1:29 pmNice. I didn't know about the names of these styles. I prefer K&R. It's more compact and also easy to read.skywalk wrote: Fri Apr 23, 2021 1:16 pmI also like the C format you showed. Allman style is by far the easiest to read.
Et cetera is my worst enemy
Re: Blog post !
haha! The topic that can never die. Allman all the way baby! 
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Blog post !
This ^ is the reason I shared my style, and also why I didn't say it was the best way.KayBur wrote: Mon Apr 26, 2021 1:07 pm It seems to me that for each person absolutely individual perception of text style. The main thing is that it is convenient to work without going into fruitless discussions about what is better.
- the.weavster
- Addict

- Posts: 1581
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: Blog post !
Allman is what they advocate at Harvard 
Re: Blog post !
I'm Dyslexic so you can shove all your styles as long as it compiles. It looks the same to me from any angle! 
Allman
Allman
Re: Blog post !
I agree with your position. Sharing your point of view is good, but imposing it on others is bad. It's good that you don't impose anything on anyone. I am for healthy communication and healthy exchange of experience.Tenaja wrote: Mon Apr 26, 2021 11:13 pmThis ^ is the reason I shared my style, and also why I didn't say it was the best way.KayBur wrote: Mon Apr 26, 2021 1:07 pm It seems to me that for each person absolutely individual perception of text style. The main thing is that it is convenient to work without going into fruitless discussions about what is better.
Re: Blog post !
Same for me, Slight dislexia, I have learned to deal with it.idle wrote: Tue Apr 27, 2021 11:11 pm I'm Dyslexic so you can shove all your styles as long as it compiles.
And for now, I don't know enough to go behind the box, as long as it compiles.
I am more concerned about the compilation speed which must remain one of the strong points.
Re: Blog post !
I'd expect it to be up to ~2.5 times slower at the most. guess we will just have to wait and see.ChrisR wrote: Wed Apr 28, 2021 1:30 pm I am more concerned about the compilation speed which must remain one of the strong points.
Re: Blog post !
Clang-Format solves all that noise. Each company has its own style guidelines and each developer can just write code in their own personal style of choice but before commiting code to repository, run it through clang-format. There is a clang-format plugin for every popular code editor to make this conversion as easy as possible with a single button click inside code editor.skywalk wrote: Fri Apr 23, 2021 1:33 pm Trust me, K&R is horrible when the code gets large and inline comments and multiple developers.
Allman solves all that noise.
Re: Blog post !
Switching in and out of styles is lame.
Pick 1 and crank.
Pick 1 and crank.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
- Fangbeast
- PureBasic Protozoa

- Posts: 4793
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Re: Blog post !
Yeah baby. I run my code through goat style. 3 toggles!!! (I love 3 toggle mutant goat style. Probably accounts for why I make so many errors)

Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet


