Why did people even consider using this shitty unreadable method of separating words inside compound identifiers? Why the fuck is it recommended style for Javascript, Haskell and other half-decent languages? Why does Python use it in some of its identifiers (but not in all, because it is inconsistent shit)?
Why won't underscores do (or even real spaces for some languages)? Makes code much more readable.
>>43
That's because Windows 1.0 appeared in 1985, and the first C standard was published four years later.
Name:
Anonymous2012-08-20 7:35
>>45
WinAPI did not appear until Win95, and the conventions Mr. >>36 refers to appeared in Win98 which was a complete rewrite (including rewrite of most of WinAPI).
The worst coding convention is probably Intel's. It looks like some mad scientist bred GNU coding style with Microsoft's.
Name:
Anonymous2012-08-20 8:53
All lowercase & terse is the only valid naming convention; except for macros, which should be UPPERCASE; and enums & defines which should be Titlecase, or even judiciously used CamelCase.
Best coding convention is to avoid uppercase and compound identifiers altogether. Why waste your mind on reading and remembering kilobytes of silly long words when you should really be operating on abstract concepts?
s f g x = f x (g x)
k x y = x
b f g x = f (g x)
c f g x = f x g
y f = f (y f)
cond p f g x = if p x then f x else g x
fac = y (b (cond ((==) 0) (k 1)) (b (s (*)) (c b pred)))
This way you don't waste time recalling how a function was called, was it widgetContainerFactoryIndexFactory or was it widgetContainerIndexFactoryFactory?
>>52 >>54
The ASL compiler probably isn't the best example of a Intel "house style". Anything ACPI is going to be strongly influenced by the relevant specifications, much of which were written by (guess who!) Microsoft people.
>>61
APM is a proprietary and closed ``standard''.
APM is widely inconsistent across devices.
APM is very limited in what it can be used for.
ACPI is an open standard.
ACPI is extensible.
ACPI is user- and developer-friendly.
Name:
tdavis2012-08-24 5:57
Lose those Burgenstocks, and the dorky bike helmet.
LoseThos is a x86_64, ring-0-only (like DOS), identity-mapped, multi-cored, multi-tasking, non-networked, free,
100% open source, public domain, PC operating system. It is 135,000 lines of code and includes a 64-bit compiler.
It has a command line that feeds into a C-ish compiler. I wrote every line from scratch over the last nine years
(full-time) and not even ASCII was sacred -- there are binary graphics in source code.
Did you know the C64 did not use ASCII? I had a book in high school, Mapping the Commodore 64, that told how to
control all the hardware and what all the inside of the ROM did. I spent a lot of time just screwing around exploring it.
LoseThos is not a permanent home for everyone, but it's so exotic, mind-opening and intriguing that it's sure to
provide as much entertainment as a AAA game, if you just boot and don't install. (You can install if you want to.) Kids
today seem very close minded. When I grew-up, there weren't established categories of games and it never
occurred to me there were only so many types of games.
I've been imprisoned by the FBI and have missed my window on the market. Now, Microsoft and Intel have banned
operating systems with secure boot. Unless an act of God or order from God happens, I don't know. He'll have to
get biblical on their asses. I'm shocked how nobody reacts to God talking.
>>62 ACPI is (...) developer-friendly.
What the fuck.
Name:
Anonymous2012-08-24 13:42
>>65
It is consistent and reliable, it is truly cross-platform while APM is not.
Name:
Anonymous2012-08-24 17:04
It is consistent and reliable, it is truly cross-platform
Only if you're not working on real hardware.
Name:
Anonymous2012-08-24 18:07
ACPI's AML is complex beyond belief. Why didn't they just use Lisp or Forth instead?
Name:
Anonymous2012-08-24 22:49
>>68
Microsoft and Intel can't design anything right the first time, and they can't get rid of old designs because of backwards compatibility, so every mistake and poorly designed feature sticks around for decades. Look at Win32 and x86.
Hitting shift and typing a letter at the same time is faster than reaching for a separate key (or worse, shift + a separate key for an underscore). camelCase is the most efficient method of separating words.
Scrum Master
Scrum is facilitated by a Scrum Master, sometimes written as ScrumMaster, who is accountable for removing impediments to the ability of the team to deliver the sprint goal/deliverables.